From: Marcel Holtmann Date: Wed, 26 Nov 2008 12:31:37 +0000 (+0100) Subject: usb_id: fix switch statement for video type X-Git-Tag: 174~1281 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62a7b2d5a5dc731984e342ce249e25ffd1b738a6;p=systemd usb_id: fix switch statement for video type Introducing the video type, creating a fall-through case where other devices might now be declared as type video. --- diff --git a/extras/usb_id/usb_id.c b/extras/usb_id/usb_id.c index 91e3ecce..ce1eb0b9 100644 --- a/extras/usb_id/usb_id.c +++ b/extras/usb_id/usb_id.c @@ -70,6 +70,7 @@ static void set_usb_iftype(char *to, int if_class_num, size_t len) case 0x0a: /* CDC-Data */ case 0x0b: /* Chip/Smart Card */ case 0x0d: /* Content Security */ + break; case 0x0e: type = "video"; break;