diff options
Diffstat (limited to 'block-raw-posix.c')
-rw-r--r-- | block-raw-posix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block-raw-posix.c b/block-raw-posix.c index 5b13f6b237..f00ef423af 100644 --- a/block-raw-posix.c +++ b/block-raw-posix.c @@ -68,7 +68,7 @@ //#define DEBUG_BLOCK #if defined(DEBUG_BLOCK) #define DEBUG_BLOCK_PRINT(formatCstr, args...) do { if (qemu_log_enabled()) \ - { qemu_log(formatCstr, ##args); fflush(logfile); } } while (0) + { qemu_log(formatCstr, ##args); qemu_log_flush(); } } while (0) #else #define DEBUG_BLOCK_PRINT(formatCstr, args...) #endif |