summaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/klogd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysklogd/klogd.c b/sysklogd/klogd.c
index 94376fe..c908b59 100644
--- a/sysklogd/klogd.c
+++ b/sysklogd/klogd.c
@@ -104,7 +104,7 @@ static void doKlogd(const int console_log_level)
}
if (log_buffer[i] == '\n') {
log_buffer[i] = '\0'; /* zero terminate this message */
- syslog(priority, start);
+ syslog(priority, "%s", start);
start = &log_buffer[i + 1];
priority = LOG_INFO;
}