[ros-diffs] [ion] 14383: Return status on failure.

ion at svn.reactos.com ion at svn.reactos.com
Wed Mar 30 02:44:55 CEST 2005


Return status on failure.
Modified: trunk/reactos/ntoskrnl/ps/suspend.c
  _____  

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 */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050330/84790417/attachment.html


More information about the Ros-diffs mailing list