summaryrefslogtreecommitdiff
path: root/extras/usb_id
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-11-05 19:02:56 +0100
committerKay Sievers <kay.sievers@vrfy.org>2008-11-05 19:02:56 +0100
commitb467444884865167296b588c9529e1643b9e4899 (patch)
treea8eb1b65ba258193798fb2708e48740cb26035b9 /extras/usb_id
parent77b852f3334311575b9c19ffb29d4a77a21b4bb2 (diff)
usb_id: MassStorage SubClass 6 is "scsi" not "disk"
Diffstat (limited to 'extras/usb_id')
-rw-r--r--extras/usb_id/usb_id.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/extras/usb_id/usb_id.c b/extras/usb_id/usb_id.c
index 22f075b5d9..1499695c67 100644
--- a/extras/usb_id/usb_id.c
+++ b/extras/usb_id/usb_id.c
@@ -141,8 +141,10 @@ static int set_usb_mass_storage_ifsubtype(char *to, const char *from, size_t len
type = "floppy";
break;
case 1: /* RBC devices */
+ type = "rbc";
+ break;
case 6: /* Transparent SPC-2 devices */
- type = "disk";
+ type = "scsi";
break;
default:
break;