From: Ruiyu Ni Date: Tue, 12 May 2015 09:49:28 +0000 (+0000) Subject: MdeModulePkg: Fix a typo to resolve legacy boot failure. X-Git-Tag: edk2-stable201903~9837 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=182ac39771add63ccb88443d261c5a0e821d323c MdeModulePkg: Fix a typo to resolve legacy boot failure. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17419 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c b/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c index 8d1a8c9d23..ede5250851 100644 --- a/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c +++ b/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c @@ -1506,7 +1506,7 @@ EfiBootManagerBoot ( // 5. Load EFI boot option to ImageHandle // ImageHandle = NULL; - if (BmDevicePathType (BootOption->FilePath) != BBS_DEVICE_PATH) { + if (DevicePathType (BootOption->FilePath) != BBS_DEVICE_PATH) { Status = EFI_NOT_FOUND; FileBuffer = BmGetLoadOptionBuffer (BootOption->FilePath, &FilePath, &FileSize); DEBUG_CODE (