summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2017-11-07 15:34:23 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2017-11-08 13:06:16 +0800
commitcc05c72ef84e03d43a0244b8639e8c08336af066 (patch)
treede9962a33f724e52517f18f9e1b8f58027efec16
parent710d9e69fae6753a1a826aa18dd37bcadd3e0c3e (diff)
downloadedk2-cc05c72ef84e03d43a0244b8639e8c08336af066.tar.gz
edk2-cc05c72ef84e03d43a0244b8639e8c08336af066.tar.bz2
edk2-cc05c72ef84e03d43a0244b8639e8c08336af066.zip
ShellPkg/dh: Fix wrong output when dumping PciRootBridgeIo
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
-rw-r--r--ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
index d343f3352e..b7b0246ac9 100644
--- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
+++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
@@ -682,7 +682,7 @@ PciRootBridgeIoDumpInformation(
break;
}
if (Temp != NULL) {
- Temp2 = CatSPrint(RetVal, L"%s", Temp);
+ Temp2 = CatSPrint(RetVal, L"\r\n%s", Temp);
FreePool(Temp);
FreePool(RetVal);
RetVal = Temp2;
@@ -690,7 +690,7 @@ PciRootBridgeIoDumpInformation(
}
Temp2 = CatSPrint(RetVal,
- L"\r\n%%H%02x %016lx %016lx %02x%%N",
+ L"%%H%02x %016lx %016lx %02x%%N",
Configuration->SpecificFlag,
Configuration->AddrRangeMin,
Configuration->AddrRangeMax,