Fix typo
This commit is contained in:
parent
943dd8e0d1
commit
c49ada88c3
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ logger_log(int level, const char *filename, int line, const char *func, const ch
|
|||
buffer_size += strlen(func);
|
||||
buffer_size += strlen(msg);
|
||||
|
||||
char *buffer = malloc(sizeof(char) * (buffer_size);
|
||||
char *buffer = malloc(sizeof(char) * (buffer_size));
|
||||
sprintf(buffer, "%s %s[%5s] %s:%d:%s " COLOR_NONE "%s", timestamp_str, color, level_str, filename, line, func, msg);
|
||||
|
||||
// start arg va_list and find log_len
|
||||
|
|
Loading…
Reference in a new issue