mirror of https://github.com/acidanthera/audk.git
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:
parent
710d9e69fa
commit
cc05c72ef8
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue