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