Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38952
b: refs/heads/master
c: 80c6e3c
h: refs/heads/master
v: v3
  • Loading branch information
Eric Sesterhenn authored and James Bottomley committed Oct 1, 2006
1 parent ec3d492 commit f5da40e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7b75b990e3cb33fd529640d589e77950e72a607c
refs/heads/master: 80c6e3c0b5eb855b69270658318f5ccf04d7b1ff
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const char * scsi_device_type(unsigned type)
return "Well-known LUN ";
if (type == 0x1f)
return "No Device ";
if (type > ARRAY_SIZE(scsi_device_types))
if (type >= ARRAY_SIZE(scsi_device_types))
return "Unknown ";
return scsi_device_types[type];
}
Expand Down

0 comments on commit f5da40e

Please sign in to comment.