diff options
author | Hannes Reinecke <hare@suse.de> | 2005-07-19 14:36:34 -0400 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-07-19 14:36:34 -0400 |
commit | 33aa91b1befa3e4f8da57714ac09b7044cf54451 (patch) | |
tree | cc552482733ef31977d0fcfa8c7e445705ef5653 /extras/usb_id/usb_id.c | |
parent | 46f01c6dc44ba516e42d5c8c1ada98a743f916f2 (diff) |
usb_id: fix typo
Diffstat (limited to 'extras/usb_id/usb_id.c')
-rw-r--r-- | extras/usb_id/usb_id.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/usb_id/usb_id.c b/extras/usb_id/usb_id.c index 1eb45b9114..720a0f5df7 100644 --- a/extras/usb_id/usb_id.c +++ b/extras/usb_id/usb_id.c @@ -316,11 +316,11 @@ static int usb_id(const char *target_path) /* usb device directory */ usb_dev = sysfs_get_device_parent(interface_dev); - if (!strcmp(interface_dev->bus, "bus") != 0) { + if (strcmp(interface_dev->bus, "usb") != 0) { info("%s is not an usb device", target_path); return 1; } - + if_class = sysfs_get_device_attr(interface_dev, "bInterfaceClass"); if (!if_class) { info("%s: cannot get bInterfaceClass attribute", interface_dev->name); |