From 67f1e0b259fe99dda158aa2b9d27318f452eae73 Mon Sep 17 00:00:00 2001 From: Gary Ching-Pang Lin Date: Thu, 4 Oct 2012 16:28:52 +0800 Subject: Print the key number for the non-existent key also --- MokManager.c | 1 + 1 file changed, 1 insertion(+) diff --git a/MokManager.c b/MokManager.c index 4f5d6db1..ae8d4eb4 100644 --- a/MokManager.c +++ b/MokManager.c @@ -368,6 +368,7 @@ static UINT8 list_keys (void *MokNew, UINTN MokNewSize) Print(L"%d key(s) in the new key list\n\n", MokNum); if (key_num > MokNum) { + Print(L"[Key %d]\n", key_num); Print(L"No such key\n\n"); } else if (initial != 1){ Print(L"[Key %d]\n", key_num); -- cgit v1.2.3