summaryrefslogtreecommitdiffstats
path: root/pci.c
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-07-03 09:06:25 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-07-03 09:06:25 +0000
commit7949691d9a6fff4831d7ab8ea11883a9deb79e9f (patch)
treed9d8cdac893e08178ada9009b7c8685876f91482 /pci.c
parent550405284c406a41dd32459af8ace3e0fc9cd079 (diff)
downloadldetect-7949691d9a6fff4831d7ab8ea11883a9deb79e9f.tar
ldetect-7949691d9a6fff4831d7ab8ea11883a9deb79e9f.tar.gz
ldetect-7949691d9a6fff4831d7ab8ea11883a9deb79e9f.tar.bz2
ldetect-7949691d9a6fff4831d7ab8ea11883a9deb79e9f.tar.xz
ldetect-7949691d9a6fff4831d7ab8ea11883a9deb79e9f.zip
get rid of more uneeded copies
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 */