summaryrefslogtreecommitdiffstats
path: root/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'pci.c')
-rw-r--r--pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pci.c b/pci.c
index ab63145..9aca845 100644
--- a/pci.c
+++ b/pci.c
@@ -60,7 +60,7 @@ extern struct pciusb_entries pci_probe(int probe_type) {
fclose(f);
r.entries = memdup(t, sizeof(struct pciusb_entry) * r.nb);
- if (pciusb_find_modules(r, "pcitable", probe_type))
+ if (pciusb_find_modules(&r, "pcitable", probe_type))
return r;
/* ok, let's try again with subids */