Fix inverted logic in suspending process. Now this is symmetric with the

corresponding thaw.

svn path=/trunk/; revision=28963
This commit is contained in:
Art Yerkes 2007-09-09 07:39:45 +00:00
parent 4c4c882824
commit 8be848bceb

View file

@ -61,7 +61,7 @@ DbgkpSuspendProcess(VOID)
PAGED_CODE();
/* Make sure this isn't a deleted process */
if (PsGetCurrentProcess()->ProcessDelete)
if (!PsGetCurrentProcess()->ProcessDelete)
{
/* Freeze all the threads */
KeFreezeAllThreads();