diff options
Diffstat (limited to 'monitor')
-rw-r--r-- | monitor/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor/misc.c b/monitor/misc.c index 09f9a74d78..6f5ae096dc 100644 --- a/monitor/misc.c +++ b/monitor/misc.c @@ -919,7 +919,7 @@ static void hmp_ioport_read(Monitor *mon, const QDict *qdict) suffix = 'l'; break; } - monitor_printf(mon, "port%c[0x%04x] = %#0*x\n", + monitor_printf(mon, "port%c[0x%04x] = 0x%0*x\n", suffix, addr, size * 2, val); } |