summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usb.c b/usb.c
index 6a52fe9..3cd48b3 100644
--- a/usb.c
+++ b/usb.c
@@ -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);