Author: tkreuzer
Date: Fri Feb 18 15:59:32 2011
New Revision: 50806
URL:
http://svn.reactos.org/svn/reactos?rev=50806&view=rev
Log:
[NTOSKRNL]
Alex messed up.
Fix by Patch by Rafal Harabien, <rafalh1992 AT o2 DOT pl>
Modified:
trunk/reactos/ntoskrnl/ps/state.c
Modified: trunk/reactos/ntoskrnl/ps/state.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ps/state.c?rev=50…
==============================================================================
--- trunk/reactos/ntoskrnl/ps/state.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ps/state.c [iso-8859-1] Fri Feb 18 15:59:32 2011
@@ -510,7 +510,7 @@
ExGetPreviousMode(),
(PVOID)&Thread,
NULL);
- if (NT_SUCCESS(Status)) return Status;
+ if (!NT_SUCCESS(Status)) return Status;
/* Check if this is a System Thread */
if (Thread->SystemThread)