aboutsummaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-11-19 09:35:00 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-11-19 09:35:00 +0000
commit58a88916b926ffac657bb3c063b9906f324d4d79 (patch)
treec99413eb3281b37bee2c5109000804b93de1ed58 /sysklogd
parent2e7dc5d37bb3b10c486496fa15b8ff366d8a6d66 (diff)
downloadbusybox-58a88916b926ffac657bb3c063b9906f324d4d79.tar.gz
klogd: fix small buglet in previous commit
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');