ArmPkg/PlatformBootManagerLib: fix hotkey of boot option

Fix the parameter in EfiBootManagerAddKeyOptionVariable (). Otherwise,
the hotkey of boot option won't be registered correctly.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
Haojian Zhuang 2018-08-23 13:51:42 +08:00 committed by Ard Biesheuvel
parent b701aae6a8
commit 2b2959dd34
1 changed files with 1 additions and 1 deletions

View File

@ -479,7 +479,7 @@ GetPlatformOptions (
NULL, NULL,
BootOptionNumber, BootOptionNumber,
0, 0,
BootKeys[Index], &BootKeys[Index],
NULL NULL
); );
if (EFI_ERROR (Status)) { if (EFI_ERROR (Status)) {