From: Peter Crosthwaite Date: Thu, 15 Nov 2012 06:32:53 +0000 (+1000) Subject: sd: Send debug printfery to stderr not stdout X-Git-Tag: v1.4.0-rc0~303^2~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=038d3d44598232f5aad40d1c84c215f38a21576c;p=thirdparty%2Fqemu.git sd: Send debug printfery to stderr not stdout Some debug printfs for SD are coming up in stdout. Redirected them to stderr instead. Signed-off-by: Peter Crosthwaite Reviewed-by: Peter Maydell Signed-off-by: Stefan Hajnoczi --- diff --git a/hw/sd.c b/hw/sd.c index 3c34d43ad44..607edba9c82 100644 --- a/hw/sd.c +++ b/hw/sd.c @@ -1439,8 +1439,8 @@ send_response: int i; DPRINTF("Response:"); for (i = 0; i < rsplen; i++) - printf(" %02x", response[i]); - printf(" state %d\n", sd->state); + fprintf(stderr, " %02x", response[i]); + fprintf(stderr, " state %d\n", sd->state); } else { DPRINTF("No response %d\n", sd->state); }