summaryrefslogtreecommitdiff
path: root/sysklogd/klogd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysklogd/klogd.c')
-rw-r--r--sysklogd/klogd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysklogd/klogd.c b/sysklogd/klogd.c
index a0e0bf7..c54e80a 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');