mirror of https://github.com/acidanthera/audk.git
ShellPkg/drivers: Fix GCC build failure
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
This commit is contained in:
parent
76c6f69cca
commit
f8daac8121
|
@ -216,7 +216,7 @@ GetImageNameFromHandle (
|
||||||
Status = gBS->HandleProtocol (
|
Status = gBS->HandleProtocol (
|
||||||
LoadedImage->DeviceHandle,
|
LoadedImage->DeviceHandle,
|
||||||
&gEfiFirmwareVolume2ProtocolGuid,
|
&gEfiFirmwareVolume2ProtocolGuid,
|
||||||
&Fv2
|
(VOID **)&Fv2
|
||||||
);
|
);
|
||||||
if (!EFI_ERROR (Status)) {
|
if (!EFI_ERROR (Status)) {
|
||||||
Status = Fv2->ReadSection (
|
Status = Fv2->ReadSection (
|
||||||
|
|
Loading…
Reference in New Issue