hw/sd: Replace fprintf(stderr, "*\n" with DPRINTF()
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> [Most of original patch dropped, commit message replaced to match what's left] Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20180203084315.20497-11-armbru@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
6f76b817b5
commit
4e82512586
@ -1564,9 +1564,10 @@ send_response:
|
|||||||
if (rsplen) {
|
if (rsplen) {
|
||||||
int i;
|
int i;
|
||||||
DPRINTF("Response:");
|
DPRINTF("Response:");
|
||||||
for (i = 0; i < rsplen; i++)
|
for (i = 0; i < rsplen; i++) {
|
||||||
fprintf(stderr, " %02x", response[i]);
|
DPRINTF(" %02x", response[i]);
|
||||||
fprintf(stderr, " state %d\n", sd->state);
|
}
|
||||||
|
DPRINTF(" state %d\n", sd->state);
|
||||||
} else {
|
} else {
|
||||||
DPRINTF("No response %d\n", sd->state);
|
DPRINTF("No response %d\n", sd->state);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user