summaryrefslogtreecommitdiff
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
commit419c5e3577da91a96925ce7d314d2bbacf8eac31 (patch)
tree4cf054853332e00cc08ea883b20515872b5b13bd
parent27129e60a6fdad432557d7d51e182b016ec5e1a9 (diff)
downloadefi-boot-shim-419c5e3577da91a96925ce7d314d2bbacf8eac31.tar.gz
efi-boot-shim-419c5e3577da91a96925ce7d314d2bbacf8eac31.zip
Print the key number for the non-existent key also
-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);