diff options
author | Peter Crosthwaite <peter.crosthwaite@xilinx.com> | 2012-11-15 16:32:53 +1000 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2012-12-07 12:34:11 +0100 |
commit | 038d3d44598232f5aad40d1c84c215f38a21576c (patch) | |
tree | aa46d8de2d410ecdaa7e291855fcccb60cd7e371 | |
parent | 19e6c50d2d843220efbdd3b2db21d83c122c364a (diff) | |
download | qemu-038d3d44598232f5aad40d1c84c215f38a21576c.zip qemu-038d3d44598232f5aad40d1c84c215f38a21576c.tar.gz qemu-038d3d44598232f5aad40d1c84c215f38a21576c.tar.bz2 |
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 <peter.crosthwaite@xilinx.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
-rw-r--r-- | hw/sd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |