diff options
author | Luca Boccassi <luca.boccassi@microsoft.com> | 2021-11-17 15:08:52 +0100 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2021-11-17 18:47:48 +0100 |
commit | b52b5763e733a0b7cf73509c5467923035e22596 (patch) | |
tree | 9443fe3bdf9bd75fa7aa57a571592fbc53702bc9 /src | |
parent | ci: switch to weekly dependabot updates (diff) | |
download | systemd-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.c | 2 |
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); |