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 9aca845..0467b85 100644
--- a/pci.c
+++ b/pci.c
@@ -12,7 +12,7 @@ extern struct pciusb_entries pci_probe(int probe_type) {
char buf[512];
unsigned short devbusfn;
unsigned int id;
- struct pciusb_entry t[100];
+ struct pciusb_entry t[MAX_DEVICES];
struct pciusb_entries r;
if (!(f = fopen("/proc/bus/pci/devices", "r"))) exit(1);