diff options
Diffstat (limited to 'lib/log.cc')
-rw-r--r-- | lib/log.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ int logbuf::overflow(int c) { *ptr++ = '\n'; *ptr = '\0'; if (_on) - syslog(_level, buf); + syslog(_level, "%s", buf); else if (_fd != -1) write(_fd, buf, len + 1); ptr = buf; |