namespace: add a (void) cast
authorLennart Poettering <lennart@poettering.net>
Thu, 14 Jul 2016 10:28:54 +0000 (12:28 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 20 Jul 2016 12:53:15 +0000 (14:53 +0200)
src/core/namespace.c

index 8df82c0..02ec81f 100644 (file)
@@ -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;
 }