patch-2.0.21 linux/drivers/scsi/sd.c

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

diff -u --recursive --new-file v2.0.20/linux/drivers/scsi/sd.c linux/drivers/scsi/sd.c
@@ -428,7 +428,7 @@
 		   SCpnt->host->host_no, (int) SCpnt->channel, 
 		   (int) SCpnt->target, (int) SCpnt->lun);
 	    print_command(SCpnt->cmnd);
-	    print_sense("sr", SCpnt);
+	    print_sense("sd", SCpnt);
 	    SCpnt = end_scsi_request(SCpnt, 0, block_sectors);
 	    requeue_sd_request(SCpnt);
 	    return;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov