Skip to contentSkip to conversation

Debugcon: Fix debugging printf

PATCH Applied Adam Lackorzynski 2 participants 2 messages Apr 1, 2010 – Apr 8, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Debugcon: Fix debugging printf

---
 hw/debugcon.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
hw/debugcon.c +1 -1
index d549091..5ee6821 100644
@@ -60,7 +60,7 @@ static uint32_t debugcon_ioport_read(void *opaque, uint32_t addr)
     DebugconState *s = opaque;
 
 #ifdef DEBUG_DEBUGCON
-    printf("debugcon: read addr=0x%04x\n", addr, val);
+    printf("debugcon: read addr=0x%04x\n", addr);
 #endif
 
     return s->readback;
Signature · 7 lines
1.7.0.3


Adam
-- 
Adam                 [email protected]
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/
#1 lore raw
Quoted 1 line · Adam Lackorzynski

Thanks, applied.

Quoted 28 lines
---
 hw/debugcon.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
hw/debugcon.c +1 -1
index d549091..5ee6821 100644
@@ -60,7 +60,7 @@ static uint32_t debugcon_ioport_read(void *opaque, uint32_t addr)
     DebugconState *s = opaque;
 
 #ifdef DEBUG_DEBUGCON
-    printf("debugcon: read addr=0x%04x\n", addr, val);
+    printf("debugcon: read addr=0x%04x\n", addr);
 #endif
 
     return s->readback;
Signature · 7 lines
1.7.0.3


Adam
-- 
Adam                 [email protected]
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/
Signature · 2 lines
Aurelien Jarno                          GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net