aboutsummaryrefslogtreecommitdiffstats
path: root/debug.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/debug.c b/debug.c
index e2a2e09..271b9fe 100644
--- a/debug.c
+++ b/debug.c
@@ -10,6 +10,7 @@ static void _debug(const char *format, va_list ap)
vsyslog(LOG_DEBUG, format, ap);
#elif defined(DEBUG_STDERR)
vfprintf(stderr, format, ap);
+ fflush(stderr);
#else
#error no logging method
#endif