svn commit: r239328 - in head/sys: kern nlm
Konstantin Belousov
kib at FreeBSD.org
Thu Aug 16 13:01:57 UTC 2012
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]);
More information about the svn-src-head
mailing list