lkmc.c: flush stdout after assert_fail

Noticed that it wasn't showing error messages anymore. Something must have
changed since last stdlib update? Was working before of course.
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-08-25 00:00:00 +00:00
parent 9524307c0d
commit 0acff266e2

1
lkmc.c
View File

@@ -23,6 +23,7 @@ LKMC_ASSERT_EQ_DEFINE(64)
void lkmc_assert_fail(uint32_t line) {
printf("error: assertion failed at line: %" PRIu32 "\n", line);
fflush(stdout);
abort();
}