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
- Lines: 9
- Date:
Wed Jun 9 16:59:16 1999
- Orig file:
v2.3.5/linux/drivers/scsi/scsi_proc.c
- Orig date:
Sat Jan 2 17:55:06 1999
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)