[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v4 3/4] ssi: pl022: Send debug info to stderr
From: |
Peter Crosthwaite |
Subject: |
[Qemu-devel] [PATCH v4 3/4] ssi: pl022: Send debug info to stderr |
Date: |
Mon, 14 Apr 2014 20:19:31 -0700 |
To disentangle it from the monitor.
Signed-off-by: Peter Crosthwaite <address@hidden>
---
hw/ssi/pl022.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/ssi/pl022.c b/hw/ssi/pl022.c
index fd479ef..84bf87a 100644
--- a/hw/ssi/pl022.c
+++ b/hw/ssi/pl022.c
@@ -14,7 +14,7 @@
#ifdef DEBUG_PL022
#define DPRINTF(fmt, ...) \
-do { printf("pl022: " fmt , ## __VA_ARGS__); } while (0)
+do { fprintf(stderr, "pl022: " fmt , ## __VA_ARGS__); } while (0)
#define BADF(fmt, ...) \
do { fprintf(stderr, "pl022: error: " fmt , ## __VA_ARGS__); exit(1);} while
(0)
#else
--
1.9.2.1.g06c4abd