2aacef
From 6164408188766a31e778ec670239482db886d9be Mon Sep 17 00:00:00 2001
2aacef
From: Yu Watanabe <watanabe.yu+github@gmail.com>
2aacef
Date: Sun, 13 Nov 2022 14:41:08 +0900
2aacef
Subject: [PATCH] bootctl: downgrade log message when firmware reports
2aacef
 non-existent or invalid boot entry
2aacef
2aacef
Fixes #25359.
2aacef
2aacef
(cherry picked from commit 78bfeeae508a554483de02b52aa2e5afdc341e1a)
2aacef
2aacef
Related: #2138081
2aacef
---
2aacef
 src/boot/bootctl.c | 2 +-
2aacef
 1 file changed, 1 insertion(+), 1 deletion(-)
2aacef
2aacef
diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c
2aacef
index 64a4b74715..a5811adf20 100644
2aacef
--- a/src/boot/bootctl.c
2aacef
+++ b/src/boot/bootctl.c
2aacef
@@ -586,7 +586,7 @@ static int print_efi_option(uint16_t id, int *n_printed, bool in_order) {
2aacef
 
2aacef
         r = efi_get_boot_option(id, &title, &partition, &path, &active);
2aacef
         if (r < 0)
2aacef
-                return log_error_errno(r, "Failed to read boot option 0x%04X: %m", id);
2aacef
+                return log_debug_errno(r, "Failed to read boot option 0x%04X: %m", id);
2aacef
 
2aacef
         /* print only configured entries with partition information */
2aacef
         if (!path || sd_id128_is_null(partition)) {