]> err.no Git - systemd/commitdiff
usb_id: MassStorage SubClass 6 is "scsi" not "disk"
authorKay Sievers <kay.sievers@vrfy.org>
Wed, 5 Nov 2008 18:02:56 +0000 (19:02 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 5 Nov 2008 18:02:56 +0000 (19:02 +0100)
extras/usb_id/usb_id.c

index 22f075b5d96aefd28d8d7fe1e354cfdccba3cd22..1499695c678e8601acc765bcde8bab011df77598 100644 (file)
@@ -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;