summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/shared/dlt_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/dlt_common.c b/src/shared/dlt_common.c
index 17d0add..aafa026 100644
--- a/src/shared/dlt_common.c
+++ b/src/shared/dlt_common.c
@@ -2051,6 +2051,7 @@ DltReturnValue dlt_log(int prio, char *s)
case DLT_LOG_TO_CONSOLE:
/* log to stdout */
printf(sFormatString, (unsigned int)sTimeSpec.tv_sec, (unsigned int)(sTimeSpec.tv_nsec/1000), getpid(), asSeverity[prio], s);
+ fflush(stdout);
break;
case DLT_LOG_TO_SYSLOG:
/* log to syslog */