summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-01-14 20:27:04 +0000
committerThierry Vignaud <tv@mageia.org>2013-01-14 20:27:04 +0000
commit8e202124f9e304a609a94deb21ebc40c04195c82 (patch)
treede15a6215ac5c0cc136bc1590abfb637355c5f41
parentbc07f8830ddd83a3f07e7aeaaa61a29d1ecacb70 (diff)
downloadldetect-8e202124f9e304a609a94deb21ebc40c04195c82.tar
ldetect-8e202124f9e304a609a94deb21ebc40c04195c82.tar.gz
ldetect-8e202124f9e304a609a94deb21ebc40c04195c82.tar.bz2
ldetect-8e202124f9e304a609a94deb21ebc40c04195c82.tar.xz
ldetect-8e202124f9e304a609a94deb21ebc40c04195c82.zip
add spacing
-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);