Author: sginsberg
Date: Tue Aug 12 16:40:06 2008
New Revision: 35293
URL:
http://svn.reactos.org/svn/reactos?rev=35293&view=rev
Log:
- Fix a typo in PsTerminateSystemThread. Now this API will actually terminate system
threads.
Modified:
trunk/reactos/ntoskrnl/ps/kill.c
Modified: trunk/reactos/ntoskrnl/ps/kill.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ps/kill.c?rev=352…
==============================================================================
--- trunk/reactos/ntoskrnl/ps/kill.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ps/kill.c [iso-8859-1] Tue Aug 12 16:40:06 2008
@@ -1086,7 +1086,7 @@
PETHREAD Thread = PsGetCurrentThread();
/* Make sure this is a system thread */
- if (Thread->SystemThread) return STATUS_INVALID_PARAMETER;
+ if (!Thread->SystemThread) return STATUS_INVALID_PARAMETER;
/* Terminate it for real */
return PspTerminateThreadByPointer(Thread, ExitStatus, TRUE);