https://git.reactos.org/?p=reactos.git;a=commitdiff;h=cb2dcc0a2fde6adbfbbdb…
commit cb2dcc0a2fde6adbfbbdb5d6cf5fb4eb549e1ea4
Author: Giannis Adamopoulos <gadamopoulos(a)reactos.org>
AuthorDate: Fri Jan 4 19:28:19 2019 +0200
Commit: Giannis Adamopoulos <gadamopoulos(a)reactos.org>
CommitDate: Fri Jan 4 19:30:17 2019 +0200
[WINSRV] usersrv: Fix a wrong debug print
---
win32ss/user/winsrv/usersrv/shutdown.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/win32ss/user/winsrv/usersrv/shutdown.c
b/win32ss/user/winsrv/usersrv/shutdown.c
index b8ee4a7560..b07609314c 100644
--- a/win32ss/user/winsrv/usersrv/shutdown.c
+++ b/win32ss/user/winsrv/usersrv/shutdown.c
@@ -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 */