Fix corruption when logging to syslog
syslog(3) used instead of vsyslog(3). Caused corruption in resultant messages (usually in function name).
This commit is contained in:
parent
d834d82b89
commit
92e8e92c69
|
@ -161,7 +161,7 @@ void log_func_syslog(int level, const char* fmt, ...)
|
||||||
|
|
||||||
/* log to syslog */
|
/* log to syslog */
|
||||||
va_start(va, fmt);
|
va_start(va, fmt);
|
||||||
syslog(level, fmt, va);
|
vsyslog(level, fmt, va);
|
||||||
va_end(va);
|
va_end(va);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue