From: Peter A. G. Crosthwaite Date: Mon, 18 Jun 2012 01:00:18 +0000 (+1000) Subject: arm_gic: Send dbg msgs to stderr not stdout X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5eb98401719dfcccf42cf5ec61ac106c5aaa499e;p=qemu.git arm_gic: Send dbg msgs to stderr not stdout Signed-off-by: Peter A. G. Crosthwaite Signed-off-by: Stefan Hajnoczi --- diff --git a/hw/arm_gic.c b/hw/arm_gic.c index 72298b4b41..c78d58ea26 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