arm_gic: Send dbg msgs to stderr not stdout
authorPeter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>
Mon, 18 Jun 2012 01:00:18 +0000 (11:00 +1000)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Fri, 22 Jun 2012 08:41:31 +0000 (09:41 +0100)
Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
hw/arm_gic.c

index 72298b4b4164a54a97d5656af44da4fcea84f4c3..c78d58ea26e4d404a5f2a15a18d25779a95e841c 100644 (file)
@@ -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