patch-2.3.6 linux/drivers/scsi/scsi_proc.c

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

diff -u --recursive --new-file v2.3.5/linux/drivers/scsi/scsi_proc.c linux/drivers/scsi/scsi_proc.c
@@ -298,7 +298,7 @@
 		     scd->type < MAX_SCSI_DEVICE_CODE ? 
 		     scsi_device_types[(int)scd->type] : "Unknown          " );
     y += sprintf(buffer + len + y, "               ANSI"
-		     " SCSI revision: %02x", (scd->scsi_level < 3)?1:2);
+		     " SCSI revision: %02x", (scd->scsi_level - 1)?scd->scsi_level - 1:1);
     if (scd->scsi_level == 2)
 	y += sprintf(buffer + len + y, " CCS\n");
     else

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