[ros-diffs] [fireball] 38551: - Fix a typo: if a process has DisableBoost set then TRUE should be returned when querying ProcessPriorityBoost information, not FALSE.

fireball at svn.reactos.org fireball at svn.reactos.org
Sun Jan 4 10:41:34 CET 2009


Author: fireball
Date: Sun Jan  4 03:41:34 2009
New Revision: 38551

URL: http://svn.reactos.org/svn/reactos?rev=38551&view=rev
Log:
- Fix a typo: if a process has DisableBoost set then TRUE should be returned when querying ProcessPriorityBoost information, not FALSE.

Modified:
    trunk/reactos/ntoskrnl/ps/query.c

Modified: trunk/reactos/ntoskrnl/ps/query.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ps/query.c?rev=38551&r1=38550&r2=38551&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/ps/query.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ps/query.c [iso-8859-1] Sun Jan  4 03:41:34 2009
@@ -339,7 +339,7 @@
             {
                 /* Return boost status */
                 *(PULONG)ProcessInformation = Process->Pcb.DisableBoost ?
-                                              FALSE : TRUE;
+                                              TRUE : FALSE;
 
                 /* Set the return length */
                 Length = sizeof(ULONG);



More information about the Ros-diffs mailing list