use ASSERT instead of assert

svn path=/trunk/; revision=11745
This commit is contained in:
Thomas Bluemel 2004-11-21 13:18:19 +00:00
parent c116c5fefe
commit 7f363e4ceb

View file

@ -1,4 +1,4 @@
/* $Id: process.c,v 1.154 2004/11/21 10:59:11 weiden Exp $ /* $Id: process.c,v 1.155 2004/11/21 13:18:19 weiden Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -2194,7 +2194,7 @@ PsLockProcess(PEPROCESS Process, BOOL Timeout)
VOID VOID
PsUnlockProcess(PEPROCESS Process) PsUnlockProcess(PEPROCESS Process)
{ {
assert(Process->LockOwner == KeGetCurrentThread()); ASSERT(Process->LockOwner == KeGetCurrentThread());
if(InterlockedDecrement((LONG*)&Process->LockCount) == 0) if(InterlockedDecrement((LONG*)&Process->LockCount) == 0)
{ {