mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-20 14:03:39 +03:00
bootctl: fix errno logging
This commit is contained in:
parent
de712a85ff
commit
e425849e99
@ -58,7 +58,7 @@ int install_random_seed(const char *esp) {
|
||||
return log_error_errno(SYNTHETIC_ERRNO(EIO), "Short write while writing random seed file.");
|
||||
|
||||
if (rename(tmp, path) < 0)
|
||||
return log_error_errno(r, "Failed to move random seed file into place: %m");
|
||||
return log_error_errno(errno, "Failed to move random seed file into place: %m");
|
||||
|
||||
tmp = mfree(tmp);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user