summaryrefslogtreecommitdiffstats
path: root/lspcidrake.c
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-03-21 18:03:32 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-03-21 18:03:32 +0000
commitd8b462341b5cee958671aaeb8718fc0b3c92a78f (patch)
tree3f332f43f775a0d7db6c83696afbd43c812e3bba /lspcidrake.c
parenta640519cc81cef348ff30195e50767f83e8b6d76 (diff)
downloadldetect-d8b462341b5cee958671aaeb8718fc0b3c92a78f.tar
ldetect-d8b462341b5cee958671aaeb8718fc0b3c92a78f.tar.gz
ldetect-d8b462341b5cee958671aaeb8718fc0b3c92a78f.tar.bz2
ldetect-d8b462341b5cee958671aaeb8718fc0b3c92a78f.tar.xz
ldetect-d8b462341b5cee958671aaeb8718fc0b3c92a78f.zip
if subid can be useful, use them. use probe_type==-1 to ensure no subid is used
Diffstat (limited to 'lspcidrake.c')
-rw-r--r--lspcidrake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lspcidrake.c b/lspcidrake.c
index eb312c2..4bb987f 100644
--- a/lspcidrake.c
+++ b/lspcidrake.c
@@ -28,7 +28,7 @@ void usb_printit(struct pciusb_entries entries) {
int main(int argc, char **argv) {
{
- struct pciusb_entries entries = pci_probe(1);
+ struct pciusb_entries entries = pci_probe(0);
pci_printit(entries);
pciusb_free(entries);
}