diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2013-12-03 22:27:45 +0100 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2013-12-03 22:27:45 +0100 |
commit | f168c27313e4d7b0aabee037dc9c78a5799f0597 (patch) | |
tree | df9ad884b2fdf45f519d04075dc67c8b82bb2915 /src/udev/udev-builtin-net_id.c | |
parent | 53ab52ac6d2a12ba24f3cfd618c12c99871947ed (diff) |
trivial coding style clean ups
- Add space between if/for and the opening parentheses
- Place the opening brace on same line as the function (not for udev)
From the CODING_STYLE
Try to use this:
void foo() {
}
instead of this:
void foo()
{
}
Diffstat (limited to 'src/udev/udev-builtin-net_id.c')
-rw-r--r-- | src/udev/udev-builtin-net_id.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-builtin-net_id.c b/src/udev/udev-builtin-net_id.c index 9ae8f08ccf..b859a6b9d5 100644 --- a/src/udev/udev-builtin-net_id.c +++ b/src/udev/udev-builtin-net_id.c @@ -159,7 +159,7 @@ static bool is_pci_multifunction(struct udev_device *dev) { if ((config[PCI_HEADER_TYPE] & 0x80) != 0) multi = true; out: - if(f) + if (f) fclose(f); return multi; } |