From e4d572a4322bfbacb165e8f84a843ad16e1d2fe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Sun, 20 Mar 2022 22:53:25 +0100 Subject: [PATCH] [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; } }