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,