aboutsummaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/klogd.c1
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)
/* klogctl buffer parsing modelled after code in dmesg.c */
/* Process each newline-terminated line in the buffer */
+ start = log_buffer;
while (1) {
char *newline = strchrnul(start, '\n');