summaryrefslogtreecommitdiff
path: root/ShellPkg
diff options
context:
space:
mode:
authorThomas Palmer <thomas.palmer@hpe.com>2016-06-28 11:21:32 -0700
committerJaben Carsey <jaben.carsey@intel.com>2016-07-06 08:19:54 -0700
commite06a4c0812cfac25a9eb1e8c851156fe19a29ab3 (patch)
treef82bafea0ed7bfd926ba25b7234632a6c162acef /ShellPkg
parentaacd88a22748c3e0d27e72b9b8521ca041d64b90 (diff)
downloadedk2-platforms-e06a4c0812cfac25a9eb1e8c851156fe19a29ab3.tar.xz
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>
Diffstat (limited to 'ShellPkg')
-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,