mirror of https://github.com/proxmox/mirror_qemu
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>master
parent
19e6c50d2d
commit
038d3d4459
4
hw/sd.c
4
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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue