]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c
MdeModulePkg: Fix a typo to resolve legacy boot failure.
[mirror_edk2.git] / MdeModulePkg / Library / UefiBootManagerLib / BmBoot.c
index 8d1a8c9d2355759cb5fc868a4b949d24a2f92c93..ede5250851b3172f2dd59121a1c21100af2734cc 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 (