mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 07:56:59 +00:00
- Fix a typo in PsTerminateSystemThread. Now this API will actually terminate system threads.
svn path=/trunk/; revision=35293
This commit is contained in:
parent
ae4dc93917
commit
2517d40711
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue