aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/arch/linux/common/usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2/arch/linux/common/usb.h')
-rw-r--r--hardinfo2/arch/linux/common/usb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hardinfo2/arch/linux/common/usb.h b/hardinfo2/arch/linux/common/usb.h
index 4fd6ee21..286d9380 100644
--- a/hardinfo2/arch/linux/common/usb.h
+++ b/hardinfo2/arch/linux/common/usb.h
@@ -47,7 +47,7 @@ scan_usb(void)
return;
if (usb_list) {
- g_hash_table_foreach_remove(devices, remove_usb_devices, NULL);
+ g_hash_table_foreach_remove(moreinfo, remove_usb_devices, NULL);
g_free(usb_list);
}
usb_list = g_strdup("");
@@ -125,7 +125,7 @@ scan_usb(void)
ver, rev, classid,
vendor, prodid, bus, level);
- g_hash_table_insert(devices, tmp, strhash);
+ g_hash_table_insert(moreinfo, tmp, strhash);
}
g_free(manuf);