summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/core/main.c2
-rw-r--r--src/nspawn/nspawn.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/main.c b/src/core/main.c
index 3baecc5f00..3c6b66e89c 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -1930,7 +1930,7 @@ static int initialize_runtime(
status_welcome();
hostname_setup();
machine_id_setup(NULL, arg_machine_id, NULL);
- loopback_setup();
+ (void) loopback_setup();
bump_unix_max_dgram_qlen();
bump_file_max_and_nr_open();
test_usr();
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index f2f420c26f..734dee1130 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -3000,7 +3000,7 @@ static int inner_child(
return log_error_errno(errno, "setsid() failed: %m");
if (arg_private_network)
- loopback_setup();
+ (void) loopback_setup();
if (arg_expose_ports) {
r = expose_port_send_rtnl(rtnl_socket);