1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-03 01:17:45 +03:00

bootctl: Add missing %m

(cherry picked from commit 3b42ffe590)
(cherry picked from commit 601d8564b3)
This commit is contained in:
Daan De Meyer 2023-02-09 10:44:35 +01:00 committed by Luca Boccassi
parent a71be850b5
commit c08e9e0e32

View File

@ -1275,7 +1275,7 @@ static int install_entry_token(void) {
r = write_string_file("/etc/kernel/entry-token", arg_entry_token, WRITE_STRING_FILE_CREATE|WRITE_STRING_FILE_ATOMIC|WRITE_STRING_FILE_MKDIR_0755);
if (r < 0)
return log_error_errno(r, "Failed to write entry token '%s' to /etc/kernel/entry-token", arg_entry_token);
return log_error_errno(r, "Failed to write entry token '%s' to /etc/kernel/entry-token: %m", arg_entry_token);
return 0;
}