summaryrefslogtreecommitdiff
path: root/block-raw.c
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-09-20 13:24:53 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-09-20 13:24:53 +0000
commit2e03286b9ac5a27c32458a034f51deb3831dac77 (patch)
tree311425319f84269e5bb4e4f7b08d231743addcfc /block-raw.c
parenta50a6282d7d3b40a4c9aa64a174f2cae5dbb5472 (diff)
downloadqemu-2e03286b9ac5a27c32458a034f51deb3831dac77.tar.gz
Make likely/unlikely accessible also in hw/.
Revert the logfile->stderr change. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3194 c046a42c-6fe2-441c-8c8c-71466251a162
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