From: Kay Sievers Date: Wed, 5 Nov 2008 18:02:56 +0000 (+0100) Subject: usb_id: MassStorage SubClass 6 is "scsi" not "disk" X-Git-Tag: 174~1345 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b467444884865167296b588c9529e1643b9e4899;p=systemd usb_id: MassStorage SubClass 6 is "scsi" not "disk" --- diff --git a/extras/usb_id/usb_id.c b/extras/usb_id/usb_id.c index 22f075b5..1499695c 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;