fix build issue which reported by github CI system
This commit is contained in:
parent
6a8e2ddcec
commit
8d4e096b09
1 changed files with 3 additions and 0 deletions
|
@ -17148,6 +17148,9 @@ static void llama_log_internal_v(ggml_log_level level, const char * file, const
|
|||
va_list args_copy;
|
||||
va_copy(args_copy, args);
|
||||
char buffer[1024];
|
||||
|
||||
GGML_UNUSED(file);
|
||||
|
||||
int len_prefix = snprintf(buffer, 1024, "[%s, %d]: ", func, line); // param file not used in this file
|
||||
int len = vsnprintf(buffer + len_prefix, 1024 - len_prefix, format, args);
|
||||
if (len < (1024 - len_prefix)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue