https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e4d572a4322bfbacb165e…
commit e4d572a4322bfbacb165e8f84a843ad16e1d2fe3
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Sun Mar 20 22:53:25 2022 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Wed May 17 17:40:29 2023 +0200
[NTOS:LPC] Turn a DPRINT1 into an LPCTRACE. (#4399)
CORE-18098
---
ntoskrnl/lpc/complete.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/ntoskrnl/lpc/complete.c b/ntoskrnl/lpc/complete.c
index d33a38dff36..ac22cd8bf68 100644
--- a/ntoskrnl/lpc/complete.c
+++ b/ntoskrnl/lpc/complete.c
@@ -59,6 +59,7 @@ NtAcceptConnectPort(OUT PHANDLE PortHandle,
LARGE_INTEGER SectionOffset;
PAGED_CODE();
+
LPCTRACE(LPC_COMPLETE_DEBUG,
"Context: %p. Message: %p. Accept: %lx. Views: %p/%p\n",
PortContext,
@@ -306,10 +307,11 @@ NtAcceptConnectPort(OUT PHANDLE PortHandle,
/* Otherwise, quit */
ObDereferenceObject(ServerPort);
DPRINT1("Client section mapping failed: %lx\n", Status);
- DPRINT1("View base, offset, size: %p %lx %p\n",
- ServerPort->ClientSectionBase,
- ConnectMessage->ClientView.ViewSize,
- SectionOffset);
+ LPCTRACE(LPC_COMPLETE_DEBUG,
+ "View base, offset, size: %p %lx %p\n",
+ ServerPort->ClientSectionBase,
+ ConnectMessage->ClientView.ViewSize,
+ SectionOffset);
goto Cleanup;
}
}