From: Haojian Zhuang Date: Thu, 23 Aug 2018 05:51:42 +0000 (+0800) Subject: ArmPkg/PlatformBootManagerLib: fix hotkey of boot option X-Git-Tag: edk2-stable201903~1143 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=2b2959dd347388d9a056d8116e02268cb563ef09 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 Reviewed-by: Laszlo Ersek --- 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)) {