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:
@ -682,7 +682,7 @@ PciRootBridgeIoDumpInformation(
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (Temp != NULL) {
|
if (Temp != NULL) {
|
||||||
Temp2 = CatSPrint(RetVal, L"%s", Temp);
|
Temp2 = CatSPrint(RetVal, L"\r\n%s", Temp);
|
||||||
FreePool(Temp);
|
FreePool(Temp);
|
||||||
FreePool(RetVal);
|
FreePool(RetVal);
|
||||||
RetVal = Temp2;
|
RetVal = Temp2;
|
||||||
@ -690,7 +690,7 @@ PciRootBridgeIoDumpInformation(
|
|||||||
}
|
}
|
||||||
|
|
||||||
Temp2 = CatSPrint(RetVal,
|
Temp2 = CatSPrint(RetVal,
|
||||||
L"\r\n%%H%02x %016lx %016lx %02x%%N",
|
L"%%H%02x %016lx %016lx %02x%%N",
|
||||||
Configuration->SpecificFlag,
|
Configuration->SpecificFlag,
|
||||||
Configuration->AddrRangeMin,
|
Configuration->AddrRangeMin,
|
||||||
Configuration->AddrRangeMax,
|
Configuration->AddrRangeMax,
|
||||||
|
Reference in New Issue
Block a user