summaryrefslogtreecommitdiffstats
path: root/hw/arm_gic.c
diff options
context:
space:
mode:
authorPeter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>2012-06-18 11:00:18 +1000
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2012-06-22 09:41:31 +0100
commit5eb98401719dfcccf42cf5ec61ac106c5aaa499e (patch)
treed118204b4e1a98255b715d1cc6cf2ebc49efd8c5 /hw/arm_gic.c
parent9964d8f9422e72fc6026049b966544c8e40a7b67 (diff)
downloadhqemu-5eb98401719dfcccf42cf5ec61ac106c5aaa499e.zip
hqemu-5eb98401719dfcccf42cf5ec61ac106c5aaa499e.tar.gz
arm_gic: Send dbg msgs to stderr not stdout
Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'hw/arm_gic.c')
-rw-r--r--hw/arm_gic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm_gic.c b/hw/arm_gic.c
index 72298b4..c78d58e 100644
--- a/hw/arm_gic.c
+++ b/hw/arm_gic.c
@@ -35,7 +35,7 @@
#ifdef DEBUG_GIC
#define DPRINTF(fmt, ...) \
-do { printf("arm_gic: " fmt , ## __VA_ARGS__); } while (0)
+do { fprintf(stderr, "arm_gic: " fmt , ## __VA_ARGS__); } while (0)
#else
#define DPRINTF(fmt, ...) do {} while(0)
#endif
OpenPOWER on IntegriCloud