From owner-svn-src-head@FreeBSD.ORG Fri Feb 19 15:03:56 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2353A106566C; Fri, 19 Feb 2010 15:03:56 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 12C068FC14; Fri, 19 Feb 2010 15:03:56 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o1JF3t7W018469; Fri, 19 Feb 2010 15:03:55 GMT (envelope-from attilio@svn.freebsd.org) Received: (from attilio@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o1JF3tAE018467; Fri, 19 Feb 2010 15:03:55 GMT (envelope-from attilio@svn.freebsd.org) Message-Id: <201002191503.o1JF3tAE018467@svn.freebsd.org> From: Attilio Rao Date: Fri, 19 Feb 2010 15:03:55 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r204088 - head/sys/kern X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2010 15:03:56 -0000 Author: attilio Date: Fri Feb 19 15:03:55 2010 New Revision: 204088 URL: http://svn.freebsd.org/changeset/base/204088 Log: Fix the grammar. Submitted by: Brandon Gooch Modified: head/sys/kern/kern_kthread.c Modified: head/sys/kern/kern_kthread.c ============================================================================== --- head/sys/kern/kern_kthread.c Fri Feb 19 14:59:41 2010 (r204087) +++ head/sys/kern/kern_kthread.c Fri Feb 19 15:03:55 2010 (r204088) @@ -339,9 +339,9 @@ kthread_suspend(struct thread *td, int t 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);