diff options
-rw-r--r-- | src/assert.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/assert.c b/src/assert.c index 19a34f8..8e7561a 100644 --- a/src/assert.c +++ b/src/assert.c @@ -52,6 +52,7 @@ void __assert_fail(const char* expression, int errnum, const char* file, int lin tty, func, tty, tty, expression != NULL, (expression ? expression : stderror(errnum)), tty); + fflush(NULL); /* Flush all streams. */ abort(); } |