summaryrefslogtreecommitdiff
path: root/MokManager.c
diff options
context:
space:
mode:
authorGary Ching-Pang Lin <glin@suse.com>2012-10-04 16:28:52 +0800
committerGary Ching-Pang Lin <glin@suse.com>2012-10-04 16:28:52 +0800
commit67f1e0b259fe99dda158aa2b9d27318f452eae73 (patch)
tree4cf054853332e00cc08ea883b20515872b5b13bd /MokManager.c
parent0692f833c9e45a15c2551fccfa9e9ab05250552a (diff)
downloadefi-boot-shim-67f1e0b259fe99dda158aa2b9d27318f452eae73.tar.gz
efi-boot-shim-67f1e0b259fe99dda158aa2b9d27318f452eae73.zip
Print the key number for the non-existent key also
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 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);