From owner-svn-src-head@FreeBSD.ORG Fri Sep 7 15:10:46 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A94F31065680; Fri, 7 Sep 2012 15:10:46 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 94C1E8FC15; Fri, 7 Sep 2012 15:10:46 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q87FAkEj019950; Fri, 7 Sep 2012 15:10:46 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q87FAk17019947; Fri, 7 Sep 2012 15:10:46 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <201209071510.q87FAk17019947@svn.freebsd.org> From: John Baldwin Date: Fri, 7 Sep 2012 15:10:46 +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: r240204 - 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, 07 Sep 2012 15:10:46 -0000 Author: jhb Date: Fri Sep 7 15:10:46 2012 New Revision: 240204 URL: http://svn.freebsd.org/changeset/base/240204 Log: A few whitespace and comment fixes. Modified: head/sys/kern/kern_exit.c head/sys/kern/kern_thread.c Modified: head/sys/kern/kern_exit.c ============================================================================== --- head/sys/kern/kern_exit.c Fri Sep 7 14:45:59 2012 (r240203) +++ head/sys/kern/kern_exit.c Fri Sep 7 15:10:46 2012 (r240204) @@ -157,8 +157,8 @@ exit1(struct thread *td, int rv) PROC_LOCK(p); while (p->p_flag & P_HADTHREADS) { /* - * First check if some other thread got here before us.. - * if so, act apropriatly, (exit or suspend); + * First check if some other thread got here before us. + * If so, act appropriately: exit or suspend. */ thread_suspend_check(0); @@ -179,7 +179,7 @@ exit1(struct thread *td, int rv) * re-check all suspension request, the thread should * either be suspended there or exit. */ - if (! thread_single(SINGLE_EXIT)) + if (!thread_single(SINGLE_EXIT)) break; /* Modified: head/sys/kern/kern_thread.c ============================================================================== --- head/sys/kern/kern_thread.c Fri Sep 7 14:45:59 2012 (r240203) +++ head/sys/kern/kern_thread.c Fri Sep 7 15:10:46 2012 (r240204) @@ -718,7 +718,7 @@ stopme: /* * We have gotten rid of all the other threads and we * are about to either exit or exec. In either case, - * we try our utmost to revert to being a non-threaded + * we try our utmost to revert to being a non-threaded * process. */ p->p_singlethread = NULL;