summaryrefslogtreecommitdiff
path: root/MokManager.c
diff options
context:
space:
mode:
authorGary Ching-Pang Lin <glin@suse.com>2012-12-20 12:55:59 +0800
committerGary Ching-Pang Lin <glin@suse.com>2012-12-20 12:55:59 +0800
commit4895ca3919bce61154b2a6a95c9102b6a1665678 (patch)
treeab661d1785617622e704478ee3c17549b190899e /MokManager.c
parent09e2c939569800c4e0b7270fd4e5692bc9c5e3c6 (diff)
downloadefi-boot-shim-4895ca3919bce61154b2a6a95c9102b6a1665678.tar.gz
efi-boot-shim-4895ca3919bce61154b2a6a95c9102b6a1665678.zip
Clear the screen before erasing keys
Diffstat (limited to 'MokManager.c')
-rw-r--r--MokManager.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/MokManager.c b/MokManager.c
index 5802d274..c6f84d88 100644
--- a/MokManager.c
+++ b/MokManager.c
@@ -675,6 +675,7 @@ static INTN mok_deletion_prompt (void *MokNew, void *data2, void *data3) {
UINT32 length;
EFI_STATUS efi_status;
+ uefi_call_wrapper(ST->ConOut->ClearScreen, 1, ST->ConOut);
Print(L"Erase all stored keys? (y/N): ");
get_line (&length, line, 1, 1);