summaryrefslogtreecommitdiff
path: root/MokManager.c
diff options
context:
space:
mode:
authorMatthew Garrett <mjg@redhat.com>2012-10-06 17:39:21 -0400
committerMatthew Garrett <mjg@redhat.com>2012-10-06 17:39:21 -0400
commita68a0c7b0340b5010c74e2065dbdc272ffada2e0 (patch)
treea624d6919e15f0064a7e987743adfa2ea7a0e741 /MokManager.c
parentc9d2ff8c40d31b85e6165f387f00c11c4f607915 (diff)
downloadefi-boot-shim-a68a0c7b0340b5010c74e2065dbdc272ffada2e0.tar.gz
efi-boot-shim-a68a0c7b0340b5010c74e2065dbdc272ffada2e0.zip
Fix menucount
Menucount wasn't being incremented for the final top level menu, so the file explorer menu item wasn't appearing.
Diffstat (limited to 'MokManager.c')
-rw-r--r--MokManager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/MokManager.c b/MokManager.c
index aa3c116a..c4b7944c 100644
--- a/MokManager.c
+++ b/MokManager.c
@@ -1043,6 +1043,8 @@ static EFI_STATUS enter_mok_menu(EFI_HANDLE image_handle, void *MokNew)
menu_item[menucount].colour = EFI_WHITE;
menu_item[menucount].callback = find_fs;
+ menucount++;
+
run_menu(menu_item, menucount);
return 0;