Return status on failure.
Modified: trunk/reactos/ntoskrnl/ps/suspend.c
--- trunk/reactos/ntoskrnl/ps/suspend.c 2005-03-30 00:32:38 UTC (rev 14382) +++ trunk/reactos/ntoskrnl/ps/suspend.c 2005-03-30 00:44:52 UTC (rev 14383) @@ -93,7 +93,7 @@
/* Dereference and Return */ ObDereferenceObject ((PVOID)Thread);
- return STATUS_SUCCESS;
+ return Status;
} /* @@ -169,7 +169,7 @@
/* Dereference and Return */ ObDereferenceObject((PVOID)Thread);
- return STATUS_SUCCESS;
+ return Status;
} /* EOF */