From a7cbe137908b148c88a377d1256d69f7b57f3ec2 Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Mon, 24 Jan 2005 22:58:54 +0000 Subject: [PATCH] - Interpret STATUS_TIMEOUT as error in PsLockProcess. svn path=/trunk/; revision=13257 --- reactos/ntoskrnl/ps/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/ps/process.c b/reactos/ntoskrnl/ps/process.c index 4f7f3aafac1..aa6e25628a8 100644 --- a/reactos/ntoskrnl/ps/process.c +++ b/reactos/ntoskrnl/ps/process.c @@ -2792,7 +2792,7 @@ PsLockProcess(PEPROCESS Process, BOOL Timeout) KernelMode, FALSE, Delay); - if(!NT_SUCCESS(Status)) + if(!NT_SUCCESS(Status) || STATUS_TIMEOUT) { #ifndef NDEBUG if(Status == STATUS_TIMEOUT)