aboutsummaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec.c b/exec.c
index 83400f5f9a..faa63336c5 100644
--- a/exec.c
+++ b/exec.c
@@ -1641,7 +1641,7 @@ void cpu_abort(CPUState *env, const char *fmt, ...)
#else
log_cpu_state(env, 0);
#endif
- fflush(logfile);
+ qemu_log_flush();
qemu_log_close();
}
va_end(ap2);