projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Documentation-getdelays: Apply a recommendation from "checkpatch.pl" in main()
[cascardo/linux.git]
/
Documentation
/
accounting
/
getdelays.c
diff --git
a/Documentation/accounting/getdelays.c
b/Documentation/accounting/getdelays.c
index
f405780
..
7785fb5
100644
(file)
--- a/
Documentation/accounting/getdelays.c
+++ b/
Documentation/accounting/getdelays.c
@@
-375,7
+375,8
@@
int main(int argc, char *argv[])
}
}
- if ((nl_sd = create_nl_socket(NETLINK_GENERIC)) < 0)
+ nl_sd = create_nl_socket(NETLINK_GENERIC);
+ if (nl_sd < 0)
err(1, "error creating Netlink socket\n");