]> git.proxmox.com Git - mirror_qemu.git/commitdiff
pflash_cfi01: fixup stale DPRINTF() calls
authorLaszlo Ersek <lersek@redhat.com>
Sat, 23 Aug 2014 10:19:06 +0000 (12:19 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 8 Sep 2014 10:12:42 +0000 (11:12 +0100)
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/block/pflash_cfi01.c

index 2238f39579b98ad4f09c56c8ce717aedac09f6a4..fddef39982310b156a54d381916828f508e3f2c1 100644 (file)
@@ -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__,