diff options
author | Thomas Palmer <thomas.palmer@hpe.com> | 2016-06-28 11:21:32 -0700 |
---|---|---|
committer | Jaben Carsey <jaben.carsey@intel.com> | 2016-07-06 08:19:54 -0700 |
commit | e06a4c0812cfac25a9eb1e8c851156fe19a29ab3 (patch) | |
tree | f82bafea0ed7bfd926ba25b7234632a6c162acef /ShellPkg | |
parent | aacd88a22748c3e0d27e72b9b8521ca041d64b90 (diff) | |
download | edk2-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.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,
|