fix build issue which reported by github CI system
This commit is contained in:
parent
8b11ef1426
commit
6a8e2ddcec
1 changed files with 1 additions and 1 deletions
|
@ -17149,7 +17149,7 @@ static void llama_log_internal_v(ggml_log_level level, const char * file, const
|
|||
va_copy(args_copy, args);
|
||||
char buffer[1024];
|
||||
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, format, args);
|
||||
int len = vsnprintf(buffer + len_prefix, 1024 - len_prefix, format, args);
|
||||
if (len < (1024 - len_prefix)) {
|
||||
#if (defined __ANDROID__) || (defined ANDROID)
|
||||
__android_log_print(level, "llama.cpp", "%s", buffer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue