MdeModulePkg: Fix a typo to resolve legacy boot failure.

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
This commit is contained in:
Ruiyu Ni 2015-05-12 09:49:28 +00:00 committed by niruiyu
parent 96baece140
commit 182ac39771
1 changed files with 1 additions and 1 deletions

View 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 (