aboutsummaryrefslogtreecommitdiff
path: root/src/diag.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/diag.c')
-rw-r--r--src/diag.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/diag.c b/src/diag.c
index fcb8fd2..89b38f4 100644
--- a/src/diag.c
+++ b/src/diag.c
@@ -26,6 +26,7 @@
static void
default_print_diag(grecs_locus_t *locus, int err, int errcode, const char *msg)
{
+ fflush(stdout);
if (locus)
fprintf(stderr, "%s:%d: ", locus->file, locus->line);
if (!err)

Return to:

Send suggestions and report system problems to the System administrator.