summaryrefslogtreecommitdiff
path: root/sysklogd/logread.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2005-12-12 07:04:59 +0000
committerRob Landley <rob@landley.net>2005-12-12 07:04:59 +0000
commit10fb2b71f3bb8f1c5c1dce43824038021a79ff75 (patch)
tree2ddcf26e798e514fa66bf97d8c96170015034e38 /sysklogd/logread.c
parente422af6bcb15a92b7eba3da5b5cf1bcc8c0b5f5c (diff)
downloadbusybox-w32-10fb2b71f3bb8f1c5c1dce43824038021a79ff75.tar.gz
busybox-w32-10fb2b71f3bb8f1c5c1dce43824038021a79ff75.tar.bz2
busybox-w32-10fb2b71f3bb8f1c5c1dce43824038021a79ff75.zip
Flush output to log promptly (bug 389).
Diffstat (limited to 'sysklogd/logread.c')
-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)
162 } 162 }
163 free(buf_data); 163 free(buf_data);
164#endif 164#endif
165 fflush(stdout);
165 } while (follow); 166 } while (follow);
166 167
167output_end: 168output_end: