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>
This commit is contained in:
Ruiyu Ni 2017-11-07 15:34:23 +08:00
parent 710d9e69fa
commit cc05c72ef8
1 changed files with 2 additions and 2 deletions

View File

@ -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,