diff --git a/core/log.cpp b/core/log.cpp index e0110c69..79569ae5 100644 --- a/core/log.cpp +++ b/core/log.cpp @@ -90,7 +90,7 @@ void log_fac_print(int level, const char* fct, char* file, int line, char* fmt, strncat(logline, fmt, sizeof(logline)); va_start(ap, fmt); - for(unsigned i=0; ilog(logline, ap); + for(unsigned i=0; ilog(level, logline, ap); va_end(ap); }