]> git.proxmox.com Git - mirror_qemu.git/commitdiff
scsi-disk: Fixup debugging statement
authorHannes Reinecke <hare@suse.de>
Mon, 11 Jul 2011 13:02:25 +0000 (15:02 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 19 Jul 2011 13:39:05 +0000 (15:39 +0200)
A debugging statement wasn't converted to the new interface.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/scsi-disk.c

index c2a99fe487275176c86b579449379ab48824ac4e..58046627930815b319e3a26af97cbf1d1e97c0f4 100644 (file)
@@ -1007,7 +1007,7 @@ static int32_t scsi_send_command(SCSIRequest *req, uint8_t *buf)
 
     command = buf[0];
     outbuf = (uint8_t *)r->iov.iov_base;
-    DPRINTF("Command: lun=%d tag=0x%x data=0x%02x", lun, tag, buf[0]);
+    DPRINTF("Command: lun=%d tag=0x%x data=0x%02x", req->lun, req->tag, buf[0]);
 
     if (scsi_req_parse(&r->req, buf) != 0) {
         BADF("Unsupported command length, command %x\n", command);