patch-2.3.43 linux/drivers/scsi/scsi_ioctl.c

Next file: linux/drivers/scsi/scsi_lib.c
Previous file: linux/drivers/scsi/scsi_error.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/drivers/scsi/scsi_ioctl.c linux/drivers/scsi/scsi_ioctl.c
@@ -323,7 +323,7 @@
 	{
 		int i;
 		printk("scsi_ioctl : device %d.  command = ", dev->id);
-		for (i = 0; i < 12; ++i)
+		for (i = 0; i < cmdlen; ++i)
 			printk("%02x ", cmd[i]);
 		printk("\nbuffer =");
 		for (i = 0; i < 20; ++i)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)