mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
random-seed: add missing %m in error message
This commit is contained in:
committed by
Luca Boccassi
parent
caeaca1b8f
commit
e5b90b30c2
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user