[NTOS:LPC] Turn a DPRINT1 into an LPCTRACE. (#4399)

CORE-18098
This commit is contained in:
Hermès Bélusca-Maïto 2022-03-20 22:53:25 +01:00
parent cbae866df3
commit e4d572a432
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -59,6 +59,7 @@ NtAcceptConnectPort(OUT PHANDLE PortHandle,
LARGE_INTEGER SectionOffset; LARGE_INTEGER SectionOffset;
PAGED_CODE(); PAGED_CODE();
LPCTRACE(LPC_COMPLETE_DEBUG, LPCTRACE(LPC_COMPLETE_DEBUG,
"Context: %p. Message: %p. Accept: %lx. Views: %p/%p\n", "Context: %p. Message: %p. Accept: %lx. Views: %p/%p\n",
PortContext, PortContext,
@ -306,10 +307,11 @@ NtAcceptConnectPort(OUT PHANDLE PortHandle,
/* Otherwise, quit */ /* Otherwise, quit */
ObDereferenceObject(ServerPort); ObDereferenceObject(ServerPort);
DPRINT1("Client section mapping failed: %lx\n", Status); DPRINT1("Client section mapping failed: %lx\n", Status);
DPRINT1("View base, offset, size: %p %lx %p\n", LPCTRACE(LPC_COMPLETE_DEBUG,
ServerPort->ClientSectionBase, "View base, offset, size: %p %lx %p\n",
ConnectMessage->ClientView.ViewSize, ServerPort->ClientSectionBase,
SectionOffset); ConnectMessage->ClientView.ViewSize,
SectionOffset);
goto Cleanup; goto Cleanup;
} }
} }