From da28a303ccfde0925eec7005cdf07b7ea42025e8 Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Thu, 22 Sep 2005 23:46:20 +0000 Subject: [PATCH] some Nt vs. Zw fixes; these functions shouldn't be used in ntoskrnl but since they're shared there's a chance they could be used svn path=/trunk/; revision=17991 --- reactos/lib/rtl/time.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/lib/rtl/time.c b/reactos/lib/rtl/time.c index e4b78f4963d..ea1e4987c38 100644 --- a/reactos/lib/rtl/time.c +++ b/reactos/lib/rtl/time.c @@ -401,7 +401,7 @@ RtlLocalTimeToSystemTime(IN PLARGE_INTEGER LocalTime, SYSTEM_TIMEOFDAY_INFORMATION TimeInformation; NTSTATUS Status; - Status = NtQuerySystemInformation(SystemTimeOfDayInformation, + Status = ZwQuerySystemInformation(SystemTimeOfDayInformation, &TimeInformation, sizeof(SYSTEM_TIMEOFDAY_INFORMATION), NULL); @@ -426,7 +426,7 @@ RtlSystemTimeToLocalTime(IN PLARGE_INTEGER SystemTime, SYSTEM_TIMEOFDAY_INFORMATION TimeInformation; NTSTATUS Status; - Status = NtQuerySystemInformation(SystemTimeOfDayInformation, + Status = ZwQuerySystemInformation(SystemTimeOfDayInformation, &TimeInformation, sizeof(SYSTEM_TIMEOFDAY_INFORMATION), NULL);