From 6f4ae1108e524e7b15de25c9b9d3249c696df910 Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Wed, 30 Mar 2005 00:44:52 +0000 Subject: [PATCH] Return status on failure. svn path=/trunk/; revision=14383 --- reactos/ntoskrnl/ps/suspend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/ps/suspend.c b/reactos/ntoskrnl/ps/suspend.c index e4f3bfb6ba3..13594a23ec4 100644 --- a/reactos/ntoskrnl/ps/suspend.c +++ b/reactos/ntoskrnl/ps/suspend.c @@ -93,7 +93,7 @@ NtResumeThread(IN HANDLE ThreadHandle, /* Dereference and Return */ ObDereferenceObject ((PVOID)Thread); - return STATUS_SUCCESS; + return Status; } /* @@ -169,7 +169,7 @@ NtSuspendThread(IN HANDLE ThreadHandle, /* Dereference and Return */ ObDereferenceObject((PVOID)Thread); - return STATUS_SUCCESS; + return Status; } /* EOF */