Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2012 13:01:57 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r239328 - in head/sys: kern nlm
Message-ID:  <201208161301.q7GD1vq0016868@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Thu Aug 16 13:01:56 2012
New Revision: 239328
URL: http://svn.freebsd.org/changeset/base/239328

Log:
  Fix grammar.
  
  Submitted by:	jh
  MFC after:	1 week

Modified:
  head/sys/kern/init_main.c
  head/sys/kern/kern_thread.c
  head/sys/nlm/nlm_advlock.c

Modified: head/sys/kern/init_main.c
==============================================================================
--- head/sys/kern/init_main.c	Thu Aug 16 08:29:49 2012	(r239327)
+++ head/sys/kern/init_main.c	Thu Aug 16 13:01:56 2012	(r239328)
@@ -476,7 +476,7 @@ proc0_init(void *dummy __unused)
 	knlist_init_mtx(&p->p_klist, &p->p_mtx);
 	STAILQ_INIT(&p->p_ktr);
 	p->p_nice = NZERO;
-	/* pid_max cannot be greater then PID_MAX */
+	/* pid_max cannot be greater than PID_MAX */
 	td->td_tid = PID_MAX + 1;
 	LIST_INSERT_HEAD(TIDHASH(td->td_tid), td, td_hash);
 	td->td_state = TDS_RUNNING;

Modified: head/sys/kern/kern_thread.c
==============================================================================
--- head/sys/kern/kern_thread.c	Thu Aug 16 08:29:49 2012	(r239327)
+++ head/sys/kern/kern_thread.c	Thu Aug 16 13:01:56 2012	(r239328)
@@ -271,7 +271,7 @@ threadinit(void)
 	mtx_init(&tid_lock, "TID lock", NULL, MTX_DEF);
 
 	/*
-	 * pid_max cannot be greater then PID_MAX.
+	 * pid_max cannot be greater than PID_MAX.
 	 * leave one number for thread0.
 	 */
 	tid_unrhdr = new_unrhdr(PID_MAX + 2, INT_MAX, &tid_lock);

Modified: head/sys/nlm/nlm_advlock.c
==============================================================================
--- head/sys/nlm/nlm_advlock.c	Thu Aug 16 08:29:49 2012	(r239327)
+++ head/sys/nlm/nlm_advlock.c	Thu Aug 16 13:01:56 2012	(r239328)
@@ -98,7 +98,7 @@ nlm_client_init(void *dummy)
 	int i;
 
 	mtx_init(&nlm_svid_lock, "NLM svid lock", NULL, MTX_DEF);
-	/* pid_max cannot be greater then PID_MAX */
+	/* pid_max cannot be greater than PID_MAX */
 	nlm_svid_allocator = new_unrhdr(PID_MAX + 2, INT_MAX, &nlm_svid_lock);
 	for (i = 0; i < NLM_SVID_HASH_SIZE; i++)
 		LIST_INIT(&nlm_file_svids[i]);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208161301.q7GD1vq0016868>