reactos/ntoskrnl/ex
diff -u -r1.24 -r1.25
--- time.c 6 Nov 2004 16:04:58 -0000 1.24
+++ time.c 28 Nov 2004 12:59:33 -0000 1.25
@@ -1,4 +1,4 @@
-/* $Id: time.c,v 1.24 2004/11/06 16:04:58 ekohl Exp $
+/* $Id: time.c,v 1.25 2004/11/28 12:59:33 ekohl Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@@ -89,7 +89,7 @@
sizeof(NewSystemTime));
if (!NT_SUCCESS(Status))
{
- return(Status);
+ return Status;
}
if (UnsafeOldSystemTime != NULL)
@@ -102,10 +102,8 @@
&TimeFields);
HalSetRealTimeClock(&TimeFields);
- /* FIXME: set system time */
-#if 0
- KeSetSystemTime();
-#endif
+ /* Set system time */
+ KiSetSystemTime(&NewSystemTime);
if (UnsafeOldSystemTime != NULL)
{
@@ -113,10 +111,11 @@
sizeof(OldSystemTime));
if (!NT_SUCCESS(Status))
{
- return(Status);
+ return Status;
}
}
- return(STATUS_SUCCESS);
+
+ return STATUS_SUCCESS;
}