https://git.reactos.org/?p=reactos.git;a=commitdiff;h=57d7f6f6b31fc6bd701ac…
commit 57d7f6f6b31fc6bd701ac60adb27eba328dad0da
Author: Serge Gautherie <32623169+SergeGautherie(a)users.noreply.github.com>
AuthorDate: Fri Apr 29 17:20:36 2022 +0200
Commit: GitHub <noreply(a)github.com>
CommitDate: Fri Apr 29 18:20:36 2022 +0300
[FREELDR:NTLDR] Add '\n' to debug logs (#4474)
---
boot/freeldr/freeldr/ntldr/arch/i386/winldr.c | 2 +-
boot/freeldr/freeldr/ntldr/wlregistry.c | 22 +++++++++++-----------
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/boot/freeldr/freeldr/ntldr/arch/i386/winldr.c
b/boot/freeldr/freeldr/ntldr/arch/i386/winldr.c
index e28778b553f..ec91b7313a1 100644
--- a/boot/freeldr/freeldr/ntldr/arch/i386/winldr.c
+++ b/boot/freeldr/freeldr/ntldr/arch/i386/winldr.c
@@ -212,7 +212,7 @@ MempAllocatePageTables(VOID)
if (Buffer + (TotalSize - NumPageTables*MM_PAGE_SIZE) !=
PhysicalPageTablesBuffer)
{
- TRACE("There was a problem allocating two adjacent blocks of
memory!");
+ TRACE("There was a problem allocating two adjacent blocks of
memory!\n");
}
if (Buffer == NULL || PhysicalPageTablesBuffer == NULL)
diff --git a/boot/freeldr/freeldr/ntldr/wlregistry.c
b/boot/freeldr/freeldr/ntldr/wlregistry.c
index 23fda355ef9..cea9c2544db 100644
--- a/boot/freeldr/freeldr/ntldr/wlregistry.c
+++ b/boot/freeldr/freeldr/ntldr/wlregistry.c
@@ -65,7 +65,7 @@ WinLdrLoadSystemHive(
Status = ArcGetFileInformation(FileId, &FileInfo);
if (Status != ESUCCESS)
{
- WARN("Hive file has 0 size!");
+ WARN("Hive file has 0 size!\n");
ArcClose(FileId);
return FALSE;
}
@@ -78,7 +78,7 @@ WinLdrLoadSystemHive(
if (HiveDataPhysical == NULL)
{
- WARN("Could not alloc memory for hive!");
+ WARN("Could not alloc memory for hive!\n");
ArcClose(FileId);
return FALSE;
}
@@ -226,7 +226,7 @@ WinLdrGetNLSNames(
rc = RegOpenKey(ControlSet, L"Control\\NLS\\CodePage", &hKey);
if (rc != ERROR_SUCCESS)
{
- //TRACE("Couldn't open CodePage registry key");
+ //TRACE("Couldn't open CodePage registry key\n");
return FALSE;
}
@@ -235,7 +235,7 @@ WinLdrGetNLSNames(
rc = RegQueryValue(hKey, L"ACP", NULL, (PUCHAR)szIdBuffer,
&BufferSize);
if (rc != ERROR_SUCCESS)
{
- //TRACE("Couldn't get ACP NLS setting");
+ //TRACE("Couldn't get ACP NLS setting\n");
goto Quit;
}
@@ -244,7 +244,7 @@ WinLdrGetNLSNames(
(PUCHAR)AnsiFileName->Buffer, &BufferSize);
if (rc != ERROR_SUCCESS)
{
- //TRACE("ACP NLS Setting exists, but isn't readable");
+ //TRACE("ACP NLS Setting exists, but isn't readable\n");
//goto Quit;
AnsiFileName->Length = 0;
RtlAppendUnicodeToString(AnsiFileName, L"c_1252.nls"); // HACK: ReactOS
bug CORE-6105
@@ -259,7 +259,7 @@ WinLdrGetNLSNames(
rc = RegQueryValue(hKey, L"OEMCP", NULL, (PUCHAR)szIdBuffer,
&BufferSize);
if (rc != ERROR_SUCCESS)
{
- //TRACE("Couldn't get OEMCP NLS setting");
+ //TRACE("Couldn't get OEMCP NLS setting\n");
goto Quit;
}
@@ -268,7 +268,7 @@ WinLdrGetNLSNames(
(PUCHAR)OemFileName->Buffer, &BufferSize);
if (rc != ERROR_SUCCESS)
{
- //TRACE("OEMCP NLS setting exists, but isn't readable");
+ //TRACE("OEMCP NLS setting exists, but isn't readable\n");
//goto Quit;
OemFileName->Length = 0;
RtlAppendUnicodeToString(OemFileName, L"c_437.nls"); // HACK: ReactOS
bug CORE-6105
@@ -284,7 +284,7 @@ WinLdrGetNLSNames(
(PUCHAR)OemHalFileName->Buffer, &BufferSize);
if (rc != ERROR_SUCCESS)
{
- //TRACE("Couldn't get OEMHAL NLS setting");
+ //TRACE("Couldn't get OEMHAL NLS setting\n");
//goto Quit;
RtlInitEmptyUnicodeString(OemHalFileName, NULL, 0);
}
@@ -299,7 +299,7 @@ WinLdrGetNLSNames(
rc = RegOpenKey(ControlSet, L"Control\\NLS\\Language", &hKey);
if (rc != ERROR_SUCCESS)
{
- //TRACE("Couldn't open Language registry key");
+ //TRACE("Couldn't open Language registry key\n");
return FALSE;
}
@@ -308,7 +308,7 @@ WinLdrGetNLSNames(
rc = RegQueryValue(hKey, L"Default", NULL, (PUCHAR)szIdBuffer,
&BufferSize);
if (rc != ERROR_SUCCESS)
{
- //TRACE("Couldn't get Language Default setting");
+ //TRACE("Couldn't get Language Default setting\n");
goto Quit;
}
@@ -317,7 +317,7 @@ WinLdrGetNLSNames(
(PUCHAR)LangFileName->Buffer, &BufferSize);
if (rc != ERROR_SUCCESS)
{
- //TRACE("Language Default setting exists, but isn't readable");
+ //TRACE("Language Default setting exists, but isn't readable\n");
//goto Quit;
LangFileName->Length = 0;
RtlAppendUnicodeToString(LangFileName, L"l_intl.nls");