Author: pschweitzer
Date: Sat May 4 09:23:52 2013
New Revision: 58919
URL:
http://svn.reactos.org/svn/reactos?rev=58919&view=rev
Log:
[KERNEL32]
Parameters of RtlAcquirePrivilege are not booleans
Modified:
trunk/reactos/dll/win32/kernel32/client/job.c
trunk/reactos/dll/win32/kernel32/client/utils.c
Modified: trunk/reactos/dll/win32/kernel32/client/job.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/client/…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/client/job.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/client/job.c [iso-8859-1] Sat May 4 09:23:52 2013
@@ -291,7 +291,7 @@
if (LocalInfo.BasicLimitInformation.LimitFlags &
JOB_OBJECT_LIMIT_WORKINGSET)
{
- Status = RtlAcquirePrivilege(&Privilege, TRUE, FALSE, &State);
+ Status = RtlAcquirePrivilege(&Privilege, 1, 0, &State);
}
}
Modified: trunk/reactos/dll/win32/kernel32/client/utils.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/client/…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/client/utils.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/client/utils.c [iso-8859-1] Sat May 4 09:23:52 2013
@@ -627,7 +627,7 @@
PVOID State;
NTSTATUS Status;
- Status = RtlAcquirePrivilege(&Privilege, TRUE, FALSE, &State);
+ Status = RtlAcquirePrivilege(&Privilege, 1, 0, &State);
if (!NT_SUCCESS(Status)) return NULL;
if (Keep)