[ros-diffs] [arty] 28963: Fix inverted logic in suspending process. Now this is symmetric with the corresponding thaw.

arty at svn.reactos.org arty at svn.reactos.org
Sun Sep 9 09:39:45 CEST 2007


Author: arty
Date: Sun Sep  9 11:39:45 2007
New Revision: 28963

URL: http://svn.reactos.org/svn/reactos?rev=28963&view=rev
Log:
Fix inverted logic in suspending process.  Now this is symmetric with the
corresponding thaw.

Modified:
    trunk/reactos/ntoskrnl/dbgk/dbgkutil.c

Modified: trunk/reactos/ntoskrnl/dbgk/dbgkutil.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/dbgk/dbgkutil.c?rev=28963&r1=28962&r2=28963&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/dbgk/dbgkutil.c (original)
+++ trunk/reactos/ntoskrnl/dbgk/dbgkutil.c Sun Sep  9 11:39:45 2007
@@ -61,7 +61,7 @@
     PAGED_CODE();
 
     /* Make sure this isn't a deleted process */
-    if (PsGetCurrentProcess()->ProcessDelete)
+    if (!PsGetCurrentProcess()->ProcessDelete)
     {
         /* Freeze all the threads */
         KeFreezeAllThreads();




More information about the Ros-diffs mailing list