summaryrefslogtreecommitdiffstats
path: root/ArmPkg/Library/PlatformBootManagerLib
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@linaro.org>2018-08-23 13:51:42 +0800
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2018-08-23 16:41:47 +0100
commit2b2959dd347388d9a056d8116e02268cb563ef09 (patch)
tree424ec422bb5b2f789eddb90314d63ec68e374e18 /ArmPkg/Library/PlatformBootManagerLib
parentb701aae6a8e01b3a39c1cc5ad1409c9b929495ad (diff)
downloadedk2-2b2959dd347388d9a056d8116e02268cb563ef09.tar.gz
edk2-2b2959dd347388d9a056d8116e02268cb563ef09.tar.bz2
edk2-2b2959dd347388d9a056d8116e02268cb563ef09.zip
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>
Diffstat (limited to 'ArmPkg/Library/PlatformBootManagerLib')
-rw-r--r--ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c b/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c
index f9c71d430c..81d36f2187 100644
--- a/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c
+++ b/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c
@@ -479,7 +479,7 @@ GetPlatformOptions (
NULL,
BootOptionNumber,
0,
- BootKeys[Index],
+ &BootKeys[Index],
NULL
);
if (EFI_ERROR (Status)) {