Skip to content
Snippets Groups Projects
Commit 8e31c7fa authored by rswindell's avatar rswindell
Browse files

Bugfix: don't pass buffer as format string to syslog() (whoops).

parent 9a9d828f
No related branches found
No related tags found
No related merge requests found
......@@ -137,7 +137,7 @@ int lprintf(int level, char *fmt, ...)
va_end(argptr);
#if defined(__unix__)
if(daemonize) {
syslog(level,sbuf);
syslog(level,"%s",sbuf);
return(ret);
}
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment