summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2011-09-26 11:30:49 +0200
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2011-10-05 09:19:05 +0100
commit4789bc39aafb56c0a30e74fc5848e8ae05ae015c (patch)
treef74477ea7824501198c2b7a262e55e14104790ee
parentf6c610653799749cdb5bcd4799ca3ef61b974eb7 (diff)
downloadfocaccia-qemu-4789bc39aafb56c0a30e74fc5848e8ae05ae015c.tar.gz
focaccia-qemu-4789bc39aafb56c0a30e74fc5848e8ae05ae015c.zip
lsi: Fix tag reference in debug print
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
-rw-r--r--hw/lsi53c895a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c
index 75a03a74b9..e077ec07cc 100644
--- a/hw/lsi53c895a.c
+++ b/hw/lsi53c895a.c
@@ -697,7 +697,7 @@ static int lsi_queue_req(LSIState *s, SCSIRequest *req, uint32_t len)
         lsi_reselect(s, p);
         return 0;
     } else {
-        DPRINTF("Queueing IO tag=0x%x\n", tag);
+        DPRINTF("Queueing IO tag=0x%x\n", p->tag);
         p->pending = len;
         return 1;
     }