From 2b2959dd347388d9a056d8116e02268cb563ef09 Mon Sep 17 00:00:00 2001 From: Haojian Zhuang Date: Thu, 23 Aug 2018 13:51:42 +0800 Subject: [PATCH] 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 --- ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {