[ros-dev] [ros-diffs] [sginsberg] 35299: - 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

Alex Ionescu ionucu at videotron.ca
Wed Aug 13 11:10:23 CEST 2008


Some credit would've been nice ;-)

On 13-Aug-08, at 12:56 AM, sginsberg at svn.reactos.org wrote:

> Author: sginsberg
> Date: Wed Aug 13 02:55:59 2008
> New Revision: 35299
>
> URL: http://svn.reactos.org/svn/reactos?rev=35299&view=rev
> Log:
> - 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
>
> Modified:
>    trunk/reactos/ntoskrnl/ps/kill.c
>
> Modified: trunk/reactos/ntoskrnl/ps/kill.c
> URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ps/kill.c?rev=35299&r1=35298&r2=35299&view=diff
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> ======================================================================
> --- trunk/reactos/ntoskrnl/ps/kill.c [iso-8859-1] (original)
> +++ trunk/reactos/ntoskrnl/ps/kill.c [iso-8859-1] Wed Aug 13  
> 02:55:59 2008
> @@ -1086,7 +1086,7 @@
>     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);
>

Best regards,
Alex Ionescu



More information about the Ros-dev mailing list