summaryrefslogtreecommitdiffstats
path: root/src/core/main.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-04-21 10:37:12 +0200
committerLennart Poettering <lennart@poettering.net>2022-04-21 10:37:32 +0200
commite921a00d41ef79a28c037fa5de605be0152679bf (patch)
tree9c94911f40482442ae0594a7af1c71680e7003c5 /src/core/main.c
parentsd-bus: switch to a manual overflow check in sd_bus_track_add_name() (diff)
downloadsystemd-e921a00d41ef79a28c037fa5de605be0152679bf.tar.xz
systemd-e921a00d41ef79a28c037fa5de605be0152679bf.zip
main: voidify call to kmod_setup()
Diffstat (limited to '')
-rw-r--r--src/core/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/main.c b/src/core/main.c
index 438405bda2..8042698431 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -2779,7 +2779,7 @@ int main(int argc, char *argv[]) {
/* Load the kernel modules early. */
if (!skip_setup)
- kmod_setup();
+ (void) kmod_setup();
/* Mount /proc, /sys and friends, so that /proc/cmdline and /proc/$PID/fd is available. */
r = mount_setup(loaded_policy, skip_setup);