summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Garrett <mjg@redhat.com>2012-10-23 23:46:44 -0400
committerMatthew Garrett <mjg@redhat.com>2012-10-23 23:46:44 -0400
commit67a1cc49a92c81918b3e8aa4cef793ba057d9224 (patch)
treec6fcec37cc7040ef851f0168c3bf8a19ac110ba3
parentfa448727ef6d023cfb8e7bcc9c75112b1673fcb6 (diff)
downloadefi-boot-shim-67a1cc49a92c81918b3e8aa4cef793ba057d9224.tar.gz
efi-boot-shim-67a1cc49a92c81918b3e8aa4cef793ba057d9224.zip
Add another missing screen clearing
Another case where we were drawing text over existing text.
-rw-r--r--MokManager.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/MokManager.c b/MokManager.c
index f7504d0d..f9acb0c5 100644
--- a/MokManager.c
+++ b/MokManager.c
@@ -664,7 +664,9 @@ static UINTN mok_enrollment_prompt (void *MokNew, UINTN MokNewSize, int auth) {
}
static INTN mok_enrollment_prompt_callback (void *MokNew, void *data2,
- void *data3) {
+ void *data3)
+{
+ uefi_call_wrapper(ST->ConOut->ClearScreen, 1, ST->ConOut);
return mok_enrollment_prompt(MokNew, (UINTN)data2, TRUE);
}