summaryrefslogtreecommitdiffstats
path: root/src/boot
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-11-13 06:41:08 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-11-13 06:41:28 +0100
commit78bfeeae508a554483de02b52aa2e5afdc341e1a (patch)
tree53f23af58c228b2d4d59bc93a132669d817660ce /src/boot
parentbootctl: make boot entry id logged in hex (diff)
downloadsystemd-78bfeeae508a554483de02b52aa2e5afdc341e1a.tar.xz
systemd-78bfeeae508a554483de02b52aa2e5afdc341e1a.zip
bootctl: downgrade log message when firmware reports non-existent or invalid boot entry
Fixes #25359.
Diffstat (limited to 'src/boot')
-rw-r--r--src/boot/bootctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c
index b7af60c2c6..30cb64adee 100644
--- a/src/boot/bootctl.c
+++ b/src/boot/bootctl.c
@@ -586,7 +586,7 @@ static int print_efi_option(uint16_t id, int *n_printed, bool in_order) {
r = efi_get_boot_option(id, &title, &partition, &path, &active);
if (r < 0)
- return log_error_errno(r, "Failed to read boot option 0x%04X: %m", id);
+ return log_debug_errno(r, "Failed to read boot option 0x%04X: %m", id);
/* print only configured entries with partition information */
if (!path || sd_id128_is_null(partition)) {