lsi: Fix tag reference in debug print
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 26 Sep 2011 09:30:49 +0000 (11:30 +0200)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Wed, 5 Oct 2011 08:19:05 +0000 (09:19 +0100)
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
hw/lsi53c895a.c

index 75a03a7..e077ec0 100644 (file)
@@ -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;
     }