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:
Laurence Withers 2008-08-26 22:13:43 +00:00
parent d834d82b89
commit 92e8e92c69
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ void log_func_syslog(int level, const char* fmt, ...)
/* log to syslog */
va_start(va, fmt);
syslog(level, fmt, va);
vsyslog(level, fmt, va);
va_end(va);
}