diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-11-13 06:36:01 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-11-13 06:36:09 +0100 |
commit | a7dcb75c539dd5bb69b72e47c820fe79c794409a (patch) | |
tree | 877db16d277aa6aece8a106ce8b3475483373da0 /src/boot | |
parent | Merge pull request #25268 from PeterCxy/fido2-preflight (diff) | |
download | systemd-a7dcb75c539dd5bb69b72e47c820fe79c794409a.tar.xz systemd-a7dcb75c539dd5bb69b72e47c820fe79c794409a.zip |
bootctl: make boot entry id logged in hex
To make consistent with the printed boot id below and other tools e.g.
efibootmgr.
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 79b2676537..b7af60c2c6 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_error_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; } |