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:
Ruiyu Ni 2017-08-11 11:18:34 +08:00
parent 76c6f69cca
commit f8daac8121
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ GetImageNameFromHandle (
Status = gBS->HandleProtocol (
LoadedImage->DeviceHandle,
&gEfiFirmwareVolume2ProtocolGuid,
&Fv2
(VOID **)&Fv2
);
if (!EFI_ERROR (Status)) {
Status = Fv2->ReadSection (