Author: ion
Date: Wed Jul 27 00:30:38 2011
New Revision: 52912
URL:
http://svn.reactos.org/svn/reactos?rev=52912&view=rev
Log:
[KERNEL32]: Don't try to acquire any privileges for now, as the API is unimplemented
(restore back to original/broken behavior).
Modified:
trunk/reactos/dll/win32/kernel32/client/time.c
Modified: trunk/reactos/dll/win32/kernel32/client/time.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/client/…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/client/time.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/client/time.c [iso-8859-1] Wed Jul 27 00:30:38 2011
@@ -380,6 +380,7 @@
NewSystemTime.QuadPart += TimeZoneBias.QuadPart;
Status = RtlAcquirePrivilege(&Privilege, 1, 0, &State);
+ Status = STATUS_SUCCESS;
if (NT_SUCCESS(Status))
{
Status = NtSetSystemTime(&NewSystemTime, NULL);
@@ -423,6 +424,7 @@
}
Status = RtlAcquirePrivilege(&Privilege, 1, 0, &State);
+ Status = STATUS_SUCCESS;
if (NT_SUCCESS(Status))
{
Status = NtSetSystemTime(&NewSystemTime, NULL);