summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Ching-Pang Lin <glin@suse.com>2012-12-10 17:54:05 +0800
committerGary Ching-Pang Lin <glin@suse.com>2012-12-20 12:55:59 +0800
commit10f0f58b03b3bcc56797744f25be15b226b51a50 (patch)
treeab661d1785617622e704478ee3c17549b190899e
parent14d4b8e5ca82ccf9ea6af65f017ec16e052e3685 (diff)
downloadefi-boot-shim-10f0f58b03b3bcc56797744f25be15b226b51a50.tar.gz
efi-boot-shim-10f0f58b03b3bcc56797744f25be15b226b51a50.zip
Clear the screen before erasing keys
-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);