summaryrefslogtreecommitdiff
path: root/MokManager.c
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
commit6e05b32d0717ebc2541048de7269ce807a2fa12d (patch)
treec6fcec37cc7040ef851f0168c3bf8a19ac110ba3 /MokManager.c
parent4049bc496f68b1235d04728e6b5e2ef5409563a6 (diff)
downloadefi-boot-shim-6e05b32d0717ebc2541048de7269ce807a2fa12d.tar.gz
efi-boot-shim-6e05b32d0717ebc2541048de7269ce807a2fa12d.zip
Add another missing screen clearing
Another case where we were drawing text over existing text.
Diffstat (limited to 'MokManager.c')
-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);
}