summaryrefslogtreecommitdiffstats
path: root/src/random-seed/random-seed.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-01-31 17:58:42 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2022-01-31 22:07:13 +0100
commite5b90b30c2bb5eb37249655ec12f114d4e23db44 (patch)
tree5e19c19e2e4a5fe3159205b5bb9201a3e317680f /src/random-seed/random-seed.c
parentMerge pull request #22323 from mrc0mmand/fix-TEST-69-on-C8S (diff)
downloadsystemd-e5b90b30c2bb5eb37249655ec12f114d4e23db44.tar.xz
systemd-e5b90b30c2bb5eb37249655ec12f114d4e23db44.zip
random-seed: add missing %m in error message
Diffstat (limited to 'src/random-seed/random-seed.c')
-rw-r--r--src/random-seed/random-seed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/random-seed/random-seed.c b/src/random-seed/random-seed.c
index 867d55169d..b265b7f85c 100644
--- a/src/random-seed/random-seed.c
+++ b/src/random-seed/random-seed.c
@@ -263,7 +263,7 @@ static int run(int argc, char *argv[]) {
* ourselves the mode and owner should be correct anyway. */
r = fchmod_and_chown(seed_fd, 0600, 0, 0);
if (r < 0)
- return log_error_errno(r, "Failed to adjust seed file ownership and access mode.");
+ return log_error_errno(r, "Failed to adjust seed file ownership and access mode: %m");
/* Let's make this whole job asynchronous, i.e. let's make ourselves a barrier for
* proper initialization of the random pool. */