- Fix a typo in PsTerminateSystemThread. Now this API will actually terminate system threads.

svn path=/trunk/; revision=35293
This commit is contained in:
Stefan Ginsberg 2008-08-12 21:40:06 +00:00
parent ae4dc93917
commit 2517d40711

View file

@ -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);