diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-11-14 02:51:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-14 02:51:33 +0100 |
commit | bf0d5cba56ac0fa6f775d44c14d600197547ee86 (patch) | |
tree | db86e6dd843f5eeb3ba10f09a0edc0681f97dcfd /src/boot | |
parent | Merge pull request #25373 from medhefgo/boot-fixes (diff) | |
parent | bootctl: downgrade log message when firmware reports non-existent or invalid ... (diff) | |
download | systemd-bf0d5cba56ac0fa6f775d44c14d600197547ee86.tar.xz systemd-bf0d5cba56ac0fa6f775d44c14d600197547ee86.zip |
Merge pull request #25368 from yuwata/bootctl-ignore-invalid-boot-entries
bootctl: ignore invalid boot entries
Diffstat (limited to 'src/boot')
-rw-r--r-- | src/boot/bootctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c index 0f142bff87..430887fe67 100644 --- a/src/boot/bootctl.c +++ b/src/boot/bootctl.c @@ -586,11 +586,11 @@ 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 %u: %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)) { - log_debug("Ignoring boot entry %u without partition information.", id); + log_debug("Ignoring boot entry 0x%04X without partition information.", id); return 0; } |