[WINSRV] usersrv: Fix a wrong debug print

This commit is contained in:
Giannis Adamopoulos 2019-01-04 19:28:19 +02:00
parent 8ebff93b35
commit cb2dcc0a2f

View File

@ -755,9 +755,8 @@ UserClientShutdown(IN PCSR_PROCESS CsrProcess,
/* Do not kill Winlogon */
if (CsrProcess->ClientId.UniqueProcess == UlongToHandle(LogonProcessId))
{
DPRINT("Not killing %s; CsrProcess->ShutdownFlags = %lu\n",
CsrProcess->ClientId.UniqueProcess == NtCurrentProcess() ? "CSRSS" : "Winlogon",
CsrProcess->ShutdownFlags);
DPRINT("Not killing Winlogon; CsrProcess->ShutdownFlags = %lu\n",
CsrProcess->ShutdownFlags);
/* Returning CsrShutdownCsrProcess means that we handled this process by doing nothing */
/* This will mark winlogon as processed so consrv won't be notified again for it */