diff options
author | Qiu Shumin <shumin.qiu@intel.com> | 2016-03-25 09:45:43 +0800 |
---|---|---|
committer | Qiu Shumin <shumin.qiu@intel.com> | 2016-03-25 10:06:55 +0800 |
commit | 5d54bbec2ce3861d646fbbd19072b1c3c1537f17 (patch) | |
tree | dd600845743c776e974dfccf175d7599d4082354 /ShellPkg | |
parent | 4480414642d047a6667da86c5026a79af9c9cfe8 (diff) | |
download | edk2-5d54bbec2ce3861d646fbbd19072b1c3c1537f17.tar.gz edk2-5d54bbec2ce3861d646fbbd19072b1c3c1537f17.tar.bz2 edk2-5d54bbec2ce3861d646fbbd19072b1c3c1537f17.zip |
ShellPkg/UefiHandleParsingLib: Fix GUID reference
Pass in GUID* for the GUID reference in a CatSPrint statement. Issue was noticed when running "dh -d -v" command on a system with a PCI NIC installed.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Thomas Palmer <thomas.palmer@hpe.com>
Reviewed-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Samer El-Haj-Mahmoud <elhaj@hpe.com>
Diffstat (limited to 'ShellPkg')
-rw-r--r-- | ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c index 22d778b132..48a753dfd5 100644 --- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c +++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c @@ -668,7 +668,7 @@ AdapterInformationDumpInformation ( if (TempStr == NULL) {
goto ERROR_EXIT;
}
- TempRetVal = CatSPrint (RetVal, TempStr, (GuidIndex + 1), InfoTypesBuffer[GuidIndex]);
+ TempRetVal = CatSPrint (RetVal, TempStr, (GuidIndex + 1), &InfoTypesBuffer[GuidIndex]);
SHELL_FREE_NON_NULL (RetVal);
RetVal = TempRetVal;
SHELL_FREE_NON_NULL (TempStr);
|