summaryrefslogtreecommitdiffstats
path: root/ShellPkg/Library
diff options
context:
space:
mode:
authorThomas Palmer <thomas.palmer@hpe.com>2016-06-28 11:21:32 -0700
committerHao Wu <hao.a.wu@intel.com>2016-07-13 20:43:52 +0800
commit6751d20006eb628faf96550e203e6a122c20e665 (patch)
tree9dc1b33b082ad300509128f5a94daaedf0f83b55 /ShellPkg/Library
parent49069503b9cf9d14c1481a2bed1cfc02abfdd0cc (diff)
downloadedk2-6751d20006eb628faf96550e203e6a122c20e665.tar.gz
edk2-6751d20006eb628faf96550e203e6a122c20e665.tar.bz2
edk2-6751d20006eb628faf96550e203e6a122c20e665.zip
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 <thomas.palmer@hpe.com> Reviewed-By: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit e06a4c0812cfac25a9eb1e8c851156fe19a29ab3)
Diffstat (limited to 'ShellPkg/Library')
-rw-r--r--ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c6
1 files 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,