[ros-diffs] [sir_richard] 49785: [NTOS]: STATUS_SUCCESS is not the only succesful return code.

sir_richard at svn.reactos.org sir_richard at svn.reactos.org
Wed Nov 24 18:53:47 UTC 2010


Author: sir_richard
Date: Wed Nov 24 18:53:47 2010
New Revision: 49785

URL: http://svn.reactos.org/svn/reactos?rev=49785&view=rev
Log:
[NTOS]: STATUS_SUCCESS is not the only succesful return code.

Modified:
    trunk/reactos/ntoskrnl/ke/arm/trapc.c

Modified: trunk/reactos/ntoskrnl/ke/arm/trapc.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/arm/trapc.c?rev=49785&r1=49784&r2=49785&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/ke/arm/trapc.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/arm/trapc.c [iso-8859-1] Wed Nov 24 18:53:47 2010
@@ -529,7 +529,7 @@
                                Address,
                                KiGetPreviousMode(TrapFrame),
                                TrapFrame);
-        if (Status == STATUS_SUCCESS) return Status;
+        if (NT_SUCCESS(Status)) return Status;
     }
 
     //




More information about the Ros-diffs mailing list