From f93e329c60c5fbccfeafe155801bd8654851ccdb Mon Sep 17 00:00:00 2001 From: Stefan Ginsberg Date: Wed, 13 Aug 2008 07:55:59 +0000 Subject: [PATCH] - Reapply the PsTerminateSystemThread typo fix. We do boot fine with this fix. - Note to self: Don't commit after midnight and always test your patches yourself svn path=/trunk/; revision=35299 --- reactos/ntoskrnl/ps/kill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/ps/kill.c b/reactos/ntoskrnl/ps/kill.c index 670ddd0b530..78393d96d11 100644 --- a/reactos/ntoskrnl/ps/kill.c +++ b/reactos/ntoskrnl/ps/kill.c @@ -1086,7 +1086,7 @@ PsTerminateSystemThread(IN NTSTATUS ExitStatus) PETHREAD Thread = PsGetCurrentThread(); /* Make sure this is a system thread */ - if (Thread->SystemThread) return STATUS_INVALID_PARAMETER; + if (!Thread->SystemThread) return STATUS_INVALID_PARAMETER; /* Terminate it for real */ return PspTerminateThreadByPointer(Thread, ExitStatus, TRUE);