summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/debugcon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/debugcon.c b/hw/debugcon.c
index d549091658..5ee6821206 100644
--- a/hw/debugcon.c
+++ b/hw/debugcon.c
@@ -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;