From e06a4c0812cfac25a9eb1e8c851156fe19a29ab3 Mon Sep 17 00:00:00 2001 From: Thomas Palmer Date: Tue, 28 Jun 2016 11:21:32 -0700 Subject: [PATCH] Fix GUID dereference Print's "%g" argument requires a EFI_GUID pointer, not the EFI_GUID value. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Thomas Palmer Reviewed-By: Jaben Carsey --- .../Library/UefiHandleParsingLib/UefiHandleParsingLib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c index 6371086525..7665fd5cdd 100644 --- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c +++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c @@ -1323,7 +1323,7 @@ FirmwareManagementDumpInformation ( TempStr, Index, ImageInfoV1[Index].ImageIndex, - ImageInfoV1[Index].ImageTypeId, + &ImageInfoV1[Index].ImageTypeId, ImageInfoV1[Index].ImageId, ImageInfoV1[Index].ImageIdName, ImageInfoV1[Index].Version, @@ -1350,7 +1350,7 @@ FirmwareManagementDumpInformation ( TempStr, Index, ImageInfoV2[Index].ImageIndex, - ImageInfoV2[Index].ImageTypeId, + &ImageInfoV2[Index].ImageTypeId, ImageInfoV2[Index].ImageId, ImageInfoV2[Index].ImageIdName, ImageInfoV2[Index].Version, @@ -1378,7 +1378,7 @@ FirmwareManagementDumpInformation ( TempStr, Index, ImageInfo[Index].ImageIndex, - ImageInfo[Index].ImageTypeId, + &ImageInfo[Index].ImageTypeId, ImageInfo[Index].ImageId, ImageInfo[Index].ImageIdName, ImageInfo[Index].Version,