summaryrefslogtreecommitdiffstats
path: root/usb.c
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-02-22 06:54:18 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-02-24 23:00:49 +0100
commit4558f140f3b499a05b1ec21af6c175d5d2864a86 (patch)
tree488f0760feae53495438ea97441443d8a28d6687 /usb.c
parent483dae9022b4d4571e018791e84218912dedc407 (diff)
downloadldetect-4558f140f3b499a05b1ec21af6c175d5d2864a86.tar
ldetect-4558f140f3b499a05b1ec21af6c175d5d2864a86.tar.gz
ldetect-4558f140f3b499a05b1ec21af6c175d5d2864a86.tar.bz2
ldetect-4558f140f3b499a05b1ec21af6c175d5d2864a86.tar.xz
ldetect-4558f140f3b499a05b1ec21af6c175d5d2864a86.zip
port to hwdb + drop dependency on usb.ids
aka sync with usbutils-008
Diffstat (limited to 'usb.c')
-rw-r--r--usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usb.c b/usb.c
index 3cd48b3..c4e8822 100644
--- a/usb.c
+++ b/usb.c
@@ -47,7 +47,7 @@ extern struct pciusb_entries usb_probe(void) {
size_t allocated = MAX_DEVICES;
r.nb = 0;
- names_init("/usr/share/usb.ids");
+ names_init();
if (!(f = fopen(proc_usb_path ? proc_usb_path : proc_usb_path_default, "r"))) {
if (proc_usb_path) {
char *err_msg;