From 5eb98401719dfcccf42cf5ec61ac106c5aaa499e Mon Sep 17 00:00:00 2001 From: "Peter A. G. Crosthwaite" Date: Mon, 18 Jun 2012 11:00:18 +1000 Subject: [PATCH] arm_gic: Send dbg msgs to stderr not stdout Signed-off-by: Peter A. G. Crosthwaite Signed-off-by: Stefan Hajnoczi --- hw/arm_gic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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