summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-07-14 12:28:54 +0200
committerLennart Poettering <lennart@poettering.net>2016-07-20 14:53:15 +0200
commitfe048ce56ab430a73e7118df87cb9f0f3488be26 (patch)
treeaaf8a15a5f47e2a0699c7b6a74f96067c7284f00
parent1ddc1272e7ea6d68b7e966a6c5e37f84a1810bd8 (diff)
namespace: add a (void) cast
-rw-r--r--src/core/namespace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/namespace.c b/src/core/namespace.c
index 8df82c031c..02ec81f71c 100644
--- 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;
}