summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@microsoft.com>2021-11-17 15:08:52 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2021-11-17 18:47:48 +0100
commitb52b5763e733a0b7cf73509c5467923035e22596 (patch)
tree9443fe3bdf9bd75fa7aa57a571592fbc53702bc9 /src
parentci: switch to weekly dependabot updates (diff)
downloadsystemd-b52b5763e733a0b7cf73509c5467923035e22596.tar.xz
systemd-b52b5763e733a0b7cf73509c5467923035e22596.zip
hwdb: voidify call to mkdir_parents_label
CID#1466060
Diffstat (limited to 'src')
-rw-r--r--src/shared/hwdb-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/hwdb-util.c b/src/shared/hwdb-util.c
index a7929bccb0..fe4785f3e5 100644
--- a/src/shared/hwdb-util.c
+++ b/src/shared/hwdb-util.c
@@ -639,7 +639,7 @@ int hwdb_update(const char *root, const char *hwdb_bin_dir, bool strict, bool co
if (!hwdb_bin)
return -ENOMEM;
- mkdir_parents_label(hwdb_bin, 0755);
+ (void) mkdir_parents_label(hwdb_bin, 0755);
err = trie_store(trie, hwdb_bin, compat);
if (err < 0)
return log_error_errno(err, "Failed to write database %s: %m", hwdb_bin);