From b303bba5f90b53d1385c413f2c2da47c38a42b9c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 4 Jul 2002 15:04:04 +0000 Subject: factorize common constants in private header --- pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pci.c') 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); -- cgit v1.2.1