1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-30 06:25:37 +03:00

bootctl: Add missing %m

This commit is contained in:
Daan De Meyer 2023-02-09 10:44:35 +01:00 committed by Luca Boccassi
parent dad1305eca
commit 3b42ffe590

View File

@ -512,7 +512,7 @@ static int install_entry_token(void) {
r = write_string_file(p, 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 %s", arg_entry_token, p);
return log_error_errno(r, "Failed to write entry token '%s' to %s: %m", arg_entry_token, p);
return 0;
}