summaryrefslogtreecommitdiff
path: root/networking/udhcp/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp/common.c')
-rw-r--r--networking/udhcp/common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/networking/udhcp/common.c b/networking/udhcp/common.c
index c01cd57..ab4fa30 100644
--- a/networking/udhcp/common.c
+++ b/networking/udhcp/common.c
@@ -46,6 +46,7 @@ void udhcp_logging(int level, const char *fmt, ...)
if(!daemonized) {
vprintf(fmt, p);
putchar('\n');
+ fflush(stdout);
errno = e;
}
vsyslog(level, fmt, p2);
@@ -81,6 +82,7 @@ void udhcp_logging(int level, const char *fmt, ...)
errno = e;
vprintf(fmt, p);
putchar('\n');
+ fflush(stdout);
}
va_end(p);
}