summaryrefslogtreecommitdiff
path: root/fallback.c
diff options
context:
space:
mode:
Diffstat (limited to 'fallback.c')
-rw-r--r--fallback.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/fallback.c b/fallback.c
index 1efe4a72..15162b5e 100644
--- a/fallback.c
+++ b/fallback.c
@@ -476,8 +476,15 @@ set_boot_order(void)
oldbootorder = LibGetVariableAndSize(L"BootOrder", &GV_GUID, &size);
if (oldbootorder) {
+ int i;
nbootorder = size / sizeof (CHAR16);
bootorder = oldbootorder;
+
+ VerbosePrint(L"Original nbootorder: %d\nOriginal BootOrder: ",
+ nbootorder);
+ for (i = 0 ; i < nbootorder ; i++)
+ VerbosePrintUnprefixed(L"%04x ", bootorder[i]);
+ VerbosePrintUnprefixed(L"\n");
}
return EFI_SUCCESS;