summaryrefslogtreecommitdiffstats
path: root/usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'usb.c')
-rw-r--r--usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usb.c b/usb.c
index 44ea5db..f7c2c7e 100644
--- a/usb.c
+++ b/usb.c
@@ -11,7 +11,7 @@ extern struct pciusb_entries usb_probe(void) {
char buf[512];
int line;
const char *file = "/proc/bus/usb/devices";
- struct pciusb_entry t[100];
+ struct pciusb_entry t[MAX_DEVICES];
struct pciusb_entries r;
struct pciusb_entry *e = NULL;