summaryrefslogtreecommitdiffstats
path: root/src/shared/generator.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-06-04 08:57:54 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-06-04 08:57:54 +0200
commit37dc34f70292e5d0516ce15f1df986d9e52a95e2 (patch)
tree2185ccf38e7d81a4a974a864413a27f7df90808e /src/shared/generator.c
parentcpu-set-util: use %d-%d format in cpu_set_to_range_string() only for actual ... (diff)
downloadsystemd-37dc34f70292e5d0516ce15f1df986d9e52a95e2.tar.xz
systemd-37dc34f70292e5d0516ce15f1df986d9e52a95e2.zip
shared/generator: voidify mkdir_parents() call
To appease coverity: CID#1401752.
Diffstat (limited to 'src/shared/generator.c')
-rw-r--r--src/shared/generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/generator.c b/src/shared/generator.c
index 403c2a6737..0a5413ce04 100644
--- a/src/shared/generator.c
+++ b/src/shared/generator.c
@@ -158,7 +158,7 @@ int generator_write_fsck_deps(
lnk = strjoina(dir, "/" SPECIAL_LOCAL_FS_TARGET ".wants/"SPECIAL_FSCK_ROOT_SERVICE);
- mkdir_parents(lnk, 0755);
+ (void) mkdir_parents(lnk, 0755);
if (symlink(SYSTEM_DATA_UNIT_PATH "/"SPECIAL_FSCK_ROOT_SERVICE, lnk) < 0)
return log_error_errno(errno, "Failed to create symlink %s: %m", lnk);