mirror of https://github.com/acidanthera/audk.git
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:
parent
96baece140
commit
182ac39771
|
@ -1506,7 +1506,7 @@ EfiBootManagerBoot (
|
||||||
// 5. Load EFI boot option to ImageHandle
|
// 5. Load EFI boot option to ImageHandle
|
||||||
//
|
//
|
||||||
ImageHandle = NULL;
|
ImageHandle = NULL;
|
||||||
if (BmDevicePathType (BootOption->FilePath) != BBS_DEVICE_PATH) {
|
if (DevicePathType (BootOption->FilePath) != BBS_DEVICE_PATH) {
|
||||||
Status = EFI_NOT_FOUND;
|
Status = EFI_NOT_FOUND;
|
||||||
FileBuffer = BmGetLoadOptionBuffer (BootOption->FilePath, &FilePath, &FileSize);
|
FileBuffer = BmGetLoadOptionBuffer (BootOption->FilePath, &FilePath, &FileSize);
|
||||||
DEBUG_CODE (
|
DEBUG_CODE (
|
||||||
|
|
Loading…
Reference in New Issue