projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ddc127
)
namespace: add a (void) cast
author
Lennart Poettering
<lennart@poettering.net>
Thu, 14 Jul 2016 10:28:54 +0000
(12:28 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 20 Jul 2016 12:53:15 +0000
(14:53 +0200)
src/core/namespace.c
patch
|
blob
|
history
diff --git
a/src/core/namespace.c
b/src/core/namespace.c
index
8df82c0
..
02ec81f
100644
(file)
--- a/
src/core/namespace.c
+++ b/
src/core/namespace.c
@@
-641,7
+641,7
@@
int setup_netns(int netns_storage_socket[2]) {
}
fail:
- lockf(netns_storage_socket[0], F_ULOCK, 0);
+
(void)
lockf(netns_storage_socket[0], F_ULOCK, 0);
return r;
}