aboutsummaryrefslogtreecommitdiff
path: root/block-raw.c
diff options
context:
space:
mode:
Diffstat (limited to 'block-raw.c')
-rw-r--r--block-raw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block-raw.c b/block-raw.c
index 7c6f9640b3..05f830a3f3 100644
--- a/block-raw.c
+++ b/block-raw.c
@@ -62,7 +62,7 @@
#define DEBUG_BLOCK
#if defined(DEBUG_BLOCK) && !defined(QEMU_TOOL)
#define DEBUG_BLOCK_PRINT(formatCstr, args...) do { if (loglevel != 0) \
- { fprintf(stderr, formatCstr, ##args); fflush(stderr); } } while (0)
+ { fprintf(logfile, formatCstr, ##args); fflush(logfile); } } while (0)
#else
#define DEBUG_BLOCK_PRINT(formatCstr, args...)
#endif