https://git.reactos.org/?p=reactos.git;a=commitdiff;h=eda01e5be7ed7ec8d3bc7…
commit eda01e5be7ed7ec8d3bc7f1bcc1a82243ceffd3b
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Tue Dec 31 09:04:11 2019 +0100
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Sat Oct 31 14:23:16 2020 +0100
[NTOS:KE:X64] Fix KiWriteSystemTime
---
ntoskrnl/ke/time.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ntoskrnl/ke/time.c b/ntoskrnl/ke/time.c
index ef92051f143..09b61f0007d 100644
--- a/ntoskrnl/ke/time.c
+++ b/ntoskrnl/ke/time.c
@@ -31,8 +31,8 @@ KiWriteSystemTime(volatile KSYSTEM_TIME *SystemTime, ULARGE_INTEGER
NewTime)
/* Update in 3 steps, so that a reader can recognize partial updates */
SystemTime->High1Time = NewTime.HighPart;
SystemTime->LowPart = NewTime.LowPart;
- SystemTime->High2Time = NewTime.HighPart;
#endif
+ SystemTime->High2Time = NewTime.HighPart;
}
FORCEINLINE