summaryrefslogtreecommitdiff
path: root/hw/cirrus_vga.c
diff options
context:
space:
mode:
authorMatthew Ogilvie <mmogilvi_qemu@miniinfo.net>2012-08-23 00:24:38 -0600
committermalc <av1474@comtv.ru>2012-08-24 07:44:37 +0400
commit145c7c880ff520a9348cc2401ba291330b9606fe (patch)
treef6f94b939b17901c1d71af5db0a4cf2ff8385304 /hw/cirrus_vga.c
parent98609cd8fcf755c0ba7049d751353b8b2e243b65 (diff)
downloadqemu-145c7c880ff520a9348cc2401ba291330b9606fe.tar.gz
fix some debug printf format strings
These are normally ifdefed out and don't matter. But if you enable them, they ought to be correct. Signed-off-by: Matthew Ogilvie <mmogilvi_qemu@miniinfo.net> Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'hw/cirrus_vga.c')
-rw-r--r--hw/cirrus_vga.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c
index e8dcc6b883..909899dd54 100644
--- a/hw/cirrus_vga.c
+++ b/hw/cirrus_vga.c
@@ -2055,8 +2055,8 @@ static void cirrus_vga_mem_write(void *opaque,
}
} else {
#ifdef DEBUG_CIRRUS
- printf("cirrus: mem_writeb " TARGET_FMT_plx " value %02x\n", addr,
- mem_value);
+ printf("cirrus: mem_writeb " TARGET_FMT_plx " value %" PRIx64 "\n",
+ addr, mem_value);
#endif
}
}