diff options
| author | Lans Zhang <jia.zhang@windriver.com> | 2016-01-25 09:38:40 +0800 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2016-09-06 14:50:52 -0400 |
| commit | 9249fc28491681a4ed3cd8aebeab4b37c8d1cae0 (patch) | |
| tree | 52521371792f96fa62c75c60763145205148520d /shim.c | |
| parent | 3d79bcb2651b9eae809b975b3e03e2f96c067072 (diff) | |
| download | efi-boot-shim-9249fc28491681a4ed3cd8aebeab4b37c8d1cae0.tar.gz efi-boot-shim-9249fc28491681a4ed3cd8aebeab4b37c8d1cae0.zip | |
Fix the size of MokDBState
MokDBState is a 8-bit unsigned integer. Looks like a typo here.
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
Diffstat (limited to 'shim.c')
| -rw-r--r-- | shim.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2070,7 +2070,7 @@ static EFI_STATUS check_mok_db (void) EFI_GUID shim_lock_guid = SHIM_LOCK_GUID; EFI_STATUS status = EFI_SUCCESS; UINT8 MokDBState; - UINTN MokDBStateSize = sizeof(MokDBStateSize); + UINTN MokDBStateSize = sizeof(MokDBState); UINT32 attributes; status = uefi_call_wrapper(RT->GetVariable, 5, L"MokDBState", &shim_lock_guid, |
