Debugcon: Fix debugging printf
authorAdam Lackorzynski <adam@os.inf.tu-dresden.de>
Thu, 1 Apr 2010 21:45:25 +0000 (23:45 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 8 Apr 2010 19:44:38 +0000 (21:44 +0200)
Signed-off-by: Adam Lackorzynski <adam@os.inf.tu-dresden.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/debugcon.c

index d549091..5ee6821 100644 (file)
@@ -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;