Fix the grammar.

Submitted by:	Brandon Gooch <bgooch at se dot edu>
This commit is contained in:
Attilio Rao 2010-02-19 15:03:55 +00:00
parent dd55eec791
commit 3aadd65dbb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=204088

View File

@ -339,9 +339,9 @@ kthread_suspend(struct thread *td, int timo)
p = td->td_proc;
/*
* td_pflags should not be ready by any other thread different by
* td_pflags should not be read by any thread other than
* curthread, but as long as this flag is invariant during the
* thread lifetime, it is ok to check for it now.
* thread's lifetime, it is OK to check its state.
*/
if ((td->td_pflags & TDP_KTHREAD) == 0)
return (EINVAL);
@ -370,9 +370,9 @@ kthread_resume(struct thread *td)
p = td->td_proc;
/*
* td_pflags should not be ready by any other thread different by
* td_pflags should not be read by any thread other than
* curthread, but as long as this flag is invariant during the
* thread lifetime, it is ok to check for it now.
* thread's lifetime, it is OK to check its state.
*/
if ((td->td_pflags & TDP_KTHREAD) == 0)
return (EINVAL);