diff options
Diffstat (limited to 'MdeModulePkg/Core/Dxe/FwVol/FwVolRead.c')
-rw-r--r-- | MdeModulePkg/Core/Dxe/FwVol/FwVolRead.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Core/Dxe/FwVol/FwVolRead.c b/MdeModulePkg/Core/Dxe/FwVol/FwVolRead.c index 7346928934..fbf6d0a1ba 100644 --- a/MdeModulePkg/Core/Dxe/FwVol/FwVolRead.c +++ b/MdeModulePkg/Core/Dxe/FwVol/FwVolRead.c @@ -12,7 +12,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. **/
-#include <DxeMain.h>
+#include "DxeMain.h"
/*++
@@ -342,7 +342,7 @@ FvReadFile ( //
// Caller passed in a pointer so allocate buffer for them
//
- *Buffer = CoreAllocateBootServicesPool (FileSize);
+ *Buffer = AllocatePool (FileSize);
if (*Buffer == NULL) {
return EFI_OUT_OF_RESOURCES;
}
|