arm_gic: Send dbg msgs to stderr not stdout
Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
This commit is contained in:
parent
9964d8f942
commit
5eb9840171
|
@ -35,7 +35,7 @@
|
||||||
|
|
||||||
#ifdef DEBUG_GIC
|
#ifdef DEBUG_GIC
|
||||||
#define DPRINTF(fmt, ...) \
|
#define DPRINTF(fmt, ...) \
|
||||||
do { printf("arm_gic: " fmt , ## __VA_ARGS__); } while (0)
|
do { fprintf(stderr, "arm_gic: " fmt , ## __VA_ARGS__); } while (0)
|
||||||
#else
|
#else
|
||||||
#define DPRINTF(fmt, ...) do {} while(0)
|
#define DPRINTF(fmt, ...) do {} while(0)
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue