diff options
-rw-r--r-- | sysklogd/klogd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysklogd/klogd.c b/sysklogd/klogd.c index 94376fe52..c908b593c 100644 --- a/sysklogd/klogd.c +++ b/sysklogd/klogd.c | |||
@@ -104,7 +104,7 @@ static void doKlogd(const int console_log_level) | |||
104 | } | 104 | } |
105 | if (log_buffer[i] == '\n') { | 105 | if (log_buffer[i] == '\n') { |
106 | log_buffer[i] = '\0'; /* zero terminate this message */ | 106 | log_buffer[i] = '\0'; /* zero terminate this message */ |
107 | syslog(priority, start); | 107 | syslog(priority, "%s", start); |
108 | start = &log_buffer[i + 1]; | 108 | start = &log_buffer[i + 1]; |
109 | priority = LOG_INFO; | 109 | priority = LOG_INFO; |
110 | } | 110 | } |