qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v4 3/4] ssi: pl022: Send debug info to stderr


From: Beniamino Galvani
Subject: Re: [Qemu-devel] [PATCH v4 3/4] ssi: pl022: Send debug info to stderr
Date: Tue, 15 Apr 2014 19:31:30 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Apr 14, 2014 at 08:19:31PM -0700, Peter Crosthwaite wrote:
> 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
> 

Reviewed-by: Beniamino Galvani <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]