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-Tag: v1.2.0-rc0~238^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5eb98401719dfcccf42cf5ec61ac106c5aaa499e;p=thirdparty%2Fqemu.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 72298b4b416..c78d58ea26e 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