From c08e9e0e329cf571238e951e8287a6aaf2f55ad8 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Thu, 9 Feb 2023 10:44:35 +0100 Subject: [PATCH] bootctl: Add missing %m (cherry picked from commit 3b42ffe590c5728af50feb138890a44264c4b02e) (cherry picked from commit 601d8564b38c870ac3fff5a1be9ddaea166fcde0) --- src/boot/bootctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c index b11c4d6eab..d68a93eba9 100644 --- a/src/boot/bootctl.c +++ b/src/boot/bootctl.c @@ -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; }