diff options
-rw-r--r-- | networking/udhcp/common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/networking/udhcp/common.c b/networking/udhcp/common.c index c01cd5765..ab4fa305a 100644 --- a/networking/udhcp/common.c +++ b/networking/udhcp/common.c | |||
@@ -46,6 +46,7 @@ void udhcp_logging(int level, const char *fmt, ...) | |||
46 | if(!daemonized) { | 46 | if(!daemonized) { |
47 | vprintf(fmt, p); | 47 | vprintf(fmt, p); |
48 | putchar('\n'); | 48 | putchar('\n'); |
49 | fflush(stdout); | ||
49 | errno = e; | 50 | errno = e; |
50 | } | 51 | } |
51 | vsyslog(level, fmt, p2); | 52 | vsyslog(level, fmt, p2); |
@@ -81,6 +82,7 @@ void udhcp_logging(int level, const char *fmt, ...) | |||
81 | errno = e; | 82 | errno = e; |
82 | vprintf(fmt, p); | 83 | vprintf(fmt, p); |
83 | putchar('\n'); | 84 | putchar('\n'); |
85 | fflush(stdout); | ||
84 | } | 86 | } |
85 | va_end(p); | 87 | va_end(p); |
86 | } | 88 | } |