Author: hbelusca
Date: Sat Mar 22 18:46:26 2014
New Revision: 62544
URL:
http://svn.reactos.org/svn/reactos?rev=62544&view=rev
Log:
[KERNEL32]: Fix parameter usage in RtlAcquirePrivilege.
Modified:
trunk/reactos/dll/win32/kernel32/client/proc.c
Modified: trunk/reactos/dll/win32/kernel32/client/proc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/client/…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/client/proc.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/client/proc.c [iso-8859-1] Sat Mar 22 18:46:26 2014
@@ -3874,7 +3874,7 @@
{
/* Acquire the required privilege so that the kernel won't fail the call */
PrivilegeValue = SE_LOCK_MEMORY_PRIVILEGE;
- Status = RtlAcquirePrivilege(&PrivilegeValue, TRUE, FALSE,
&PrivilegeState);
+ Status = RtlAcquirePrivilege(&PrivilegeValue, 1, 0, &PrivilegeState);
if (NT_SUCCESS(Status))
{
/* Remember to release it later */