- Fix a typo: if a process has DisableBoost set then TRUE should be returned when querying ProcessPriorityBoost information, not FALSE.

svn path=/trunk/; revision=38551
This commit is contained in:
Aleksey Bragin 2009-01-04 09:41:34 +00:00
parent 8935e052bf
commit 2882b5579f

View file

@ -339,7 +339,7 @@ NtQueryInformationProcess(IN HANDLE ProcessHandle,
{ {
/* Return boost status */ /* Return boost status */
*(PULONG)ProcessInformation = Process->Pcb.DisableBoost ? *(PULONG)ProcessInformation = Process->Pcb.DisableBoost ?
FALSE : TRUE; TRUE : FALSE;
/* Set the return length */ /* Set the return length */
Length = sizeof(ULONG); Length = sizeof(ULONG);