From 10fb2b71f3bb8f1c5c1dce43824038021a79ff75 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 12 Dec 2005 07:04:59 +0000 Subject: [PATCH] Flush output to log promptly (bug 389). --- sysklogd/logread.c | 1 + 1 file changed, 1 insertion(+) 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: