[BASESRV][CSRLIB][NTVDM] Add missing \n to DPRINT() calls (#5951)

and promote 1 DPRINT().
This commit is contained in:
Serge Gautherie 2023-12-16 23:57:35 +01:00 committed by GitHub
parent 80751952ba
commit f7d612f3e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 9 deletions

View File

@ -63,7 +63,7 @@ CsrpConnectToServer(
sizeof(CSR_PORT_NAME);
if (PortNameLength > UNICODE_STRING_MAX_BYTES)
{
DPRINT1("PortNameLength too big: %Iu", PortNameLength);
DPRINT1("PortNameLength too big: %Iu\n", PortNameLength);
return STATUS_NAME_TOO_LONG;
}
@ -374,7 +374,7 @@ CsrClientCallServer(
/* Make sure the length is valid */
if (DataLength > (MAXSHORT - sizeof(CSR_API_MESSAGE)))
{
DPRINT1("DataLength too big: %lu", DataLength);
DPRINT1("DataLength too big: %lu\n", DataLength);
return STATUS_INVALID_PARAMETER;
}

View File

@ -646,7 +646,7 @@ VOID WINAPI VbeService(LPWORD Stack)
default:
{
DPRINT("VESA INT 0x10, AL = 0x05, Unknown subfunction: %02X", getBH());
DPRINT1("VESA INT 0x10, AL = 0x05, Unknown subfunction: 0x%02X\n", getBH());
}
}

View File

@ -49,7 +49,7 @@ OpenRomFile(IN PCSTR RomFileName,
if (ulRomSize > 0x40000)
{
/* We failed, bail out */
DPRINT1("ROM image size 0x%lx too large, expected at most 0x40000 (256kB)", ulRomSize);
DPRINT1("ROM image size 0x%lx too large, expected at most 0x40000 (256kB)\n", ulRomSize);
FileClose(hRomFile);
return NULL;
}
@ -72,7 +72,7 @@ LoadRomFileByHandle(IN HANDLE RomFileHandle,
*/
if (RomSize > 0x40000)
{
DPRINT1("ROM image size 0x%lx too large, expected at most 0x40000 (256kB)", RomSize);
DPRINT1("ROM image size 0x%lx too large, expected at most 0x40000 (256kB)\n", RomSize);
return FALSE;
}

View File

@ -341,7 +341,7 @@ static BOOL LoadInstallableVDD(VOID)
VDDValueName = VDDList;
while (*VDDList)
{
DPRINT1("Loading VDD '%S'...", VDDList);
DPRINT1("Loading VDD '%S'... ", VDDList);
hVDD = LoadLibraryW(VDDList);
if (hVDD == NULL)
{
@ -503,7 +503,6 @@ VOID VDDResumeUserHook(VOID)
}
VOID VDDSupInitialize(VOID)
{
/* Register the 3rd-party VDD BOP Handler */

View File

@ -89,7 +89,6 @@ VOID BaseSrvDestroyConsoleRecord(PVDM_CONSOLE_RECORD ConsoleRecord)
/* Remove the console record */
// RemoveEntryList(&ConsoleRecord->Entry);
RtlFreeHeap(BaseSrvHeap, 0, ConsoleRecord);
}
NTSTATUS GetConsoleRecordBySessionId(ULONG TaskId, PVDM_CONSOLE_RECORD *Record)
@ -904,7 +903,7 @@ CSR_API(BaseSrvUpdateVDMEntry)
case VdmEntryUpdateControlCHandler:
{
// TODO: NOT IMPLEMENTED
DPRINT1("BaseSrvUpdateVDMEntry: VdmEntryUpdateControlCHandler not implemented!");
DPRINT1("BaseSrvUpdateVDMEntry: VdmEntryUpdateControlCHandler not implemented\n");
Status = STATUS_NOT_IMPLEMENTED;
break;