diff options
| author | Gary Ching-Pang Lin <glin@suse.com> | 2012-10-04 16:28:52 +0800 |
|---|---|---|
| committer | Gary Ching-Pang Lin <glin@suse.com> | 2012-10-04 16:28:52 +0800 |
| commit | 67f1e0b259fe99dda158aa2b9d27318f452eae73 (patch) | |
| tree | 4cf054853332e00cc08ea883b20515872b5b13bd /MokManager.c | |
| parent | 0692f833c9e45a15c2551fccfa9e9ab05250552a (diff) | |
| download | efi-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.c | 1 |
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); |
