diff options
author | Haojian Zhuang <haojian.zhuang@linaro.org> | 2018-08-23 13:51:42 +0800 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-08-23 16:41:47 +0100 |
commit | 2b2959dd347388d9a056d8116e02268cb563ef09 (patch) | |
tree | 424ec422bb5b2f789eddb90314d63ec68e374e18 /ArmPkg | |
parent | b701aae6a8e01b3a39c1cc5ad1409c9b929495ad (diff) | |
download | edk2-2b2959dd347388d9a056d8116e02268cb563ef09.tar.gz |
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')
-rw-r--r-- | ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c | 2 |
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)) {
|