aboutsummaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
authorGravatar Rob Landley <rob@landley.net>2005-12-12 07:04:59 +0000
committerGravatar Rob Landley <rob@landley.net>2005-12-12 07:04:59 +0000
commit10fb2b71f3bb8f1c5c1dce43824038021a79ff75 (patch)
tree2ddcf26e798e514fa66bf97d8c96170015034e38 /sysklogd
parente422af6bcb15a92b7eba3da5b5cf1bcc8c0b5f5c (diff)
downloadbusybox-10fb2b71f3bb8f1c5c1dce43824038021a79ff75.tar.gz
busybox-10fb2b71f3bb8f1c5c1dce43824038021a79ff75.tar.bz2
Flush output to log promptly (bug 389).
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/logread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysklogd/logread.c b/sysklogd/logread.c
index 70d1db631..883e2cf44 100644
--- a/sysklogd/logread.c
+++ b/sysklogd/logread.c
@@ -162,6 +162,7 @@ extern int logread_main(int argc, char **argv)
}
free(buf_data);
#endif
+ fflush(stdout);
} while (follow);
output_end: