1
1
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:
Lennart Poettering 2022-12-19 22:25:28 +01:00
parent de712a85ff
commit e425849e99

View File

@ -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);