_dbus_test_diag: Flush stdout after each diagnostic

If we crash, we'll want to know what the most recent diagnostic was.

Reviewed-by: Philip Withnall <withnall@endlessm.com>
Signed-off-by: Simon McVittie <smcv@collabora.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=103601
This commit is contained in:
Simon McVittie 2017-11-15 12:14:16 +00:00
parent 2aa190aef6
commit 2b98220e5f

View file

@ -75,6 +75,7 @@ _dbus_test_diag (const char *format,
vprintf (format, ap);
va_end (ap);
printf ("\n");
fflush (stdout);
}
/*