Directly use FALSE when BootPolicy is FALSE.
authorlgao4 <lgao4@de2fecce-e211-0410-80a6-f3fac2684e05>
Tue, 8 Dec 2009 05:28:03 +0000 (05:28 +0000)
committerlgao4 <lgao4@de2fecce-e211-0410-80a6-f3fac2684e05>
Tue, 8 Dec 2009 05:28:03 +0000 (05:28 +0000)
git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9540 de2fecce-e211-0410-80a6-f3fac2684e05

edk2/MdePkg/Library/DxeServicesLib/DxeServicesLib.c

index 45936d4..e44833f 100644 (file)
@@ -677,7 +677,7 @@ GetFileBufferByFilePath (
             Status = LoadFile2->LoadFile (\r
                                  LoadFile2,\r
                                  DevicePathNode,\r
-                                 BootPolicy,\r
+                                 FALSE,\r
                                  &ImageBufferSize,\r
                                  ImageBuffer\r
                                  );\r