[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 01/13] sd: Send debug printfery to stderr not stdout
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PATCH 01/13] sd: Send debug printfery to stderr not stdout |
Date: |
Fri, 7 Dec 2012 12:39:00 +0100 |
From: Peter Crosthwaite <address@hidden>
Some debug printfs for SD are coming up in stdout. Redirected them to stderr
instead.
Signed-off-by: Peter Crosthwaite <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
hw/sd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/sd.c b/hw/sd.c
index 3c34d43..607edba 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);
}
--
1.8.0.1
- [Qemu-devel] [PATCH 10/13] Clean up pci_drive_hot_add()'s use of BlockInterfaceType, (continued)
- [Qemu-devel] [PATCH 10/13] Clean up pci_drive_hot_add()'s use of BlockInterfaceType, Stefan Hajnoczi, 2012/12/07
- [Qemu-devel] [PATCH 02/13] configure: Remove stray debug output, Stefan Hajnoczi, 2012/12/07
- [Qemu-devel] [PATCH 12/13] qemu-options: Fix space at EOL, Stefan Hajnoczi, 2012/12/07
- [Qemu-devel] [PATCH 13/13] pc_sysfw: Plug memory leak on pc_fw_add_pflash_drv() error path, Stefan Hajnoczi, 2012/12/07
- [Qemu-devel] [PATCH 03/13] Fix spelling (prefered -> preferred), Stefan Hajnoczi, 2012/12/07
- [Qemu-devel] [PATCH 09/13] arm: a9mpcore: remove un-used ptimer_iomem field, Stefan Hajnoczi, 2012/12/07
- [Qemu-devel] [PATCH 06/13] target-alpha: Remove t0, t1 from CPUAlphaState, Stefan Hajnoczi, 2012/12/07
- [Qemu-devel] [PATCH 07/13] target-m68k: Remove t1 from CPUM68KState, Stefan Hajnoczi, 2012/12/07
- [Qemu-devel] [PATCH 08/13] target-sparc: Remove t0, t1 from CPUSPARCState, Stefan Hajnoczi, 2012/12/07
- [Qemu-devel] [PATCH 04/13] Fix comments (adress -> address, layed -> laid, wierd -> weird), Stefan Hajnoczi, 2012/12/07
- [Qemu-devel] [PATCH 01/13] sd: Send debug printfery to stderr not stdout,
Stefan Hajnoczi <=
- Re: [Qemu-devel] [PULL 00/13] Trivial patches for 2 to 7 November, Anthony Liguori, 2012/12/10