]> Git Repo - qemu.git/commitdiff
hw/sd: Replace fprintf(stderr, "*\n" with DPRINTF()
authorAlistair Francis <[email protected]>
Sat, 3 Feb 2018 08:43:11 +0000 (09:43 +0100)
committerMarkus Armbruster <[email protected]>
Tue, 6 Feb 2018 17:29:26 +0000 (18:29 +0100)
Signed-off-by: Alistair Francis <[email protected]>
[Most of original patch dropped, commit message replaced to match
what's left]
Signed-off-by: Markus Armbruster <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <20180203084315[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
hw/sd/sd.c

index 35347a5bbcde2ccfebb07b3cf1765a54e0286461..73e405a04fe8985b82d7f75da84fa0310b56c0dd 100644 (file)
@@ -1564,9 +1564,10 @@ send_response:
     if (rsplen) {
         int i;
         DPRINTF("Response:");
-        for (i = 0; i < rsplen; i++)
-            fprintf(stderr, " %02x", response[i]);
-        fprintf(stderr, " state %d\n", sd->state);
+        for (i = 0; i < rsplen; i++) {
+            DPRINTF(" %02x", response[i]);
+        }
+        DPRINTF(" state %d\n", sd->state);
     } else {
         DPRINTF("No response %d\n", sd->state);
     }
This page took 0.027882 seconds and 4 git commands to generate.