diff options
-rw-r--r-- | usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -64,7 +64,7 @@ extern struct pciusb_entries usb_probe(void) { r.entries = malloc(sizeof(struct pciusb_entry) * MAX_DEVICES); /* for further information on the format parsed by this state machine, * read /usr/share/doc/kernel-doc-X.Y.Z/usb/proc_usb_info.txt */ - for(line = 1; fgets(buf, sizeof(buf) - 1, f); line++) { + for (line = 1; fgets(buf, sizeof(buf) - 1, f); line++) { if (r.nb >= allocated) { allocated = r.nb*2; r.entries = realloc(r.entries, sizeof(struct pciusb_entry) * allocated); |