Skip to content

Commit

Permalink
[BASESRV][CSRLIB][NTVDM] Add missing \n to DPRINT() calls (reactos#5951)
Browse files Browse the repository at this point in the history
and promote 1 DPRINT().
  • Loading branch information
SergeGautherie authored Dec 16, 2023
1 parent 8075195 commit f7d612f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
4 changes: 2 additions & 2 deletions subsystems/csr/csrlib/connect.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion subsystems/mvdm/ntvdm/bios/bios32/vbe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}

Expand Down
4 changes: 2 additions & 2 deletions subsystems/mvdm/ntvdm/bios/rom.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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;
}

Expand Down
3 changes: 1 addition & 2 deletions subsystems/mvdm/ntvdm/vddsup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -503,7 +503,6 @@ VOID VDDResumeUserHook(VOID)
}



VOID VDDSupInitialize(VOID)
{
/* Register the 3rd-party VDD BOP Handler */
Expand Down
3 changes: 1 addition & 2 deletions subsystems/win/basesrv/vdm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit f7d612f

Please sign in to comment.