MdeModulePkg: Fix a typo to resolve legacy boot failure.
authorRuiyu Ni <ruiyu.ni@intel.com>
Tue, 12 May 2015 09:49:28 +0000 (09:49 +0000)
committerniruiyu <niruiyu@Edk2>
Tue, 12 May 2015 09:49:28 +0000 (09:49 +0000)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17419 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c

index 8d1a8c9..ede5250 100644 (file)
@@ -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 (