diff options
author | Warner Losh <imp@FreeBSD.org> | 2018-03-12 21:40:19 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2018-03-12 21:40:19 +0000 |
commit | c25acd4518692583d319d1ddcb646fe9b24e79a7 (patch) | |
tree | 6fbfcc360aeb7ab4d9a843b38d551d30f3ff127b /stand/efi/boot1 | |
parent | 5722dd8394fd16a53f65fa0149aeb2d1068d5115 (diff) | |
download | src-c25acd4518692583d319d1ddcb646fe9b24e79a7.tar.gz src-c25acd4518692583d319d1ddcb646fe9b24e79a7.zip |
Star BootCurrent entry when booting.
Sponsored by: Netflix
Notes
Notes:
svn path=/head/; revision=330814
Diffstat (limited to 'stand/efi/boot1')
-rw-r--r-- | stand/efi/boot1/boot1.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stand/efi/boot1/boot1.c b/stand/efi/boot1/boot1.c index 5c03a100f373..471795bbbd19 100644 --- a/stand/efi/boot1/boot1.c +++ b/stand/efi/boot1/boot1.c @@ -474,7 +474,8 @@ efi_main(EFI_HANDLE Ximage, EFI_SYSTEM_TABLE *Xsystab) efi_global_getenv("BootOrder", &boot_order, &sz); printf(" BootOrder:"); for (i = 0; i < sz / sizeof(boot_order[0]); i++) - printf(" %04x", boot_order[i]); + printf(" %04x%s", boot_order[i], + boot_order[i] == boot_current ? "[*]" : ""); printf("\n"); #ifdef TEST_FAILURE |