diff options
-rw-r--r-- | sysklogd/klogd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysklogd/klogd.c b/sysklogd/klogd.c index a0e0bf724..c54e80a35 100644 --- a/sysklogd/klogd.c +++ b/sysklogd/klogd.c | |||
@@ -89,6 +89,7 @@ int klogd_main(int argc UNUSED_PARAM, char **argv) | |||
89 | 89 | ||
90 | /* klogctl buffer parsing modelled after code in dmesg.c */ | 90 | /* klogctl buffer parsing modelled after code in dmesg.c */ |
91 | /* Process each newline-terminated line in the buffer */ | 91 | /* Process each newline-terminated line in the buffer */ |
92 | start = log_buffer; | ||
92 | while (1) { | 93 | while (1) { |
93 | char *newline = strchrnul(start, '\n'); | 94 | char *newline = strchrnul(start, '\n'); |
94 | 95 | ||