diff options
author | Pascal Terjan <pterjan@mandriva.org> | 2009-06-25 14:50:44 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mandriva.org> | 2009-06-25 14:50:44 +0000 |
commit | 0e8660e859d9d5c035db74713c727fdb52703c4c (patch) | |
tree | 391fa88652a6b98156b34d86ad1c219f0feb2318 | |
parent | 5d36c9abed2306e48e6efdd0ebdca8d45e0f780e (diff) | |
download | ldetect-0e8660e859d9d5c035db74713c727fdb52703c4c.tar ldetect-0e8660e859d9d5c035db74713c727fdb52703c4c.tar.gz ldetect-0e8660e859d9d5c035db74713c727fdb52703c4c.tar.bz2 ldetect-0e8660e859d9d5c035db74713c727fdb52703c4c.tar.xz ldetect-0e8660e859d9d5c035db74713c727fdb52703c4c.zip |
same for usb
-rw-r--r-- | usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -103,7 +103,7 @@ extern struct pciusb_entries usb_probe(void) { } } fclose(f); - realloc(r.entries, sizeof(struct pciusb_entry) * r.nb); + r.entries = realloc(r.entries, sizeof(struct pciusb_entry) * r.nb); pciusb_find_modules(&r, "usbtable", LOAD, 0); return r; |