diff options
author | Thomas Palmer <thomas.palmer@hpe.com> | 2016-06-28 11:21:32 -0700 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-07-13 20:43:52 +0800 |
commit | 6751d20006eb628faf96550e203e6a122c20e665 (patch) | |
tree | 9dc1b33b082ad300509128f5a94daaedf0f83b55 /ShellPkg | |
parent | 49069503b9cf9d14c1481a2bed1cfc02abfdd0cc (diff) | |
download | edk2-platforms-6751d20006eb628faf96550e203e6a122c20e665.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>
(cherry picked from commit e06a4c0812cfac25a9eb1e8c851156fe19a29ab3)
Diffstat (limited to 'ShellPkg')
-rw-r--r-- | ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c | 6 |
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,
|