[ros-diffs] [sginsberg] 35299: - Reapply the PsTerminateSystemThread typo fix. We do boot fine with this fix. - Note to self: Don't commit after midnight and always test your patches yourself

sginsberg at svn.reactos.org sginsberg at svn.reactos.org
Wed Aug 13 09:56:00 CEST 2008


Author: sginsberg
Date: Wed Aug 13 02:55:59 2008
New Revision: 35299

URL: http://svn.reactos.org/svn/reactos?rev=35299&view=rev
Log:
- Reapply the PsTerminateSystemThread typo fix. We do boot fine with this fix.
- Note to self: Don't commit after midnight and always test your patches yourself

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=35299&r1=35298&r2=35299&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/ps/kill.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ps/kill.c [iso-8859-1] Wed Aug 13 02:55:59 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);



More information about the Ros-diffs mailing list