From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:48836) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qj7IG-0006rV-12 for qemu-devel@nongnu.org; Tue, 19 Jul 2011 06:12:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qj7IA-0003OP-NI for qemu-devel@nongnu.org; Tue, 19 Jul 2011 06:12:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:27543) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qj7IA-0003OE-8n for qemu-devel@nongnu.org; Tue, 19 Jul 2011 06:12:42 -0400 From: Kevin Wolf Date: Tue, 19 Jul 2011 12:15:09 +0200 Message-Id: <1311070524-13533-7-git-send-email-kwolf@redhat.com> In-Reply-To: <1311070524-13533-1-git-send-email-kwolf@redhat.com> References: <1311070524-13533-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH 06/21] scsi-disk: Fixup debugging statement List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: anthony@codemonkey.ws Cc: kwolf@redhat.com, qemu-devel@nongnu.org From: Hannes Reinecke A debugging statement wasn't converted to the new interface. Signed-off-by: Hannes Reinecke Acked-by: Paolo Bonzini Signed-off-by: Kevin Wolf --- hw/scsi-disk.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/scsi-disk.c b/hw/scsi-disk.c index c2a99fe..5804662 100644 --- a/hw/scsi-disk.c +++ b/hw/scsi-disk.c @@ -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); -- 1.7.6