aboutsummaryrefslogtreecommitdiff
path: root/hw/block
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2014-08-23 12:19:06 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2014-09-08 11:12:42 +0100
commitafeb25f9263e470ad715cab2b79b8965c0519fb7 (patch)
treeffd02ff8404e511583b152abed6e2faa5984c197 /hw/block
parent6bb4515849315460bdea45fa56ca656cead7c8ed (diff)
downloadqemu-afeb25f9263e470ad715cab2b79b8965c0519fb7.zip
qemu-afeb25f9263e470ad715cab2b79b8965c0519fb7.tar.gz
qemu-afeb25f9263e470ad715cab2b79b8965c0519fb7.tar.bz2
pflash_cfi01: fixup stale DPRINTF() calls
Signed-off-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/block')
-rw-r--r--hw/block/pflash_cfi01.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/block/pflash_cfi01.c b/hw/block/pflash_cfi01.c
index 2238f39..fddef39 100644
--- a/hw/block/pflash_cfi01.c
+++ b/hw/block/pflash_cfi01.c
@@ -209,11 +209,11 @@ static uint32_t pflash_devid_query(pflash_t *pfl, hwaddr offset)
switch (boff & 0xFF) {
case 0:
resp = pfl->ident0;
- DPRINTF("%s: Manufacturer Code %04x\n", __func__, ret);
+ DPRINTF("%s: Manufacturer Code %04x\n", __func__, resp);
break;
case 1:
resp = pfl->ident1;
- DPRINTF("%s: Device ID Code %04x\n", __func__, ret);
+ DPRINTF("%s: Device ID Code %04x\n", __func__, resp);
break;
default:
DPRINTF("%s: Read Device Information offset=%x\n", __func__,