Message ID | 75df6caebd221858d1e15941ccc599b7b5f79cf6.1397531631.git.peter.crosthwaite@xilinx.com |
---|---|
State | New |
Headers | show |
On Mon, Apr 14, 2014 at 08:19:31PM -0700, Peter Crosthwaite wrote: > To disentangle it from the monitor. > > Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> > --- > > 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 > Reviewed-by: Beniamino Galvani <b.galvani@gmail.com>
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
To disentangle it from the monitor. Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> --- hw/ssi/pl022.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)