Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2022 06:45:29 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: baffa1f98fa7 - stable/12 - kern: Fix a typo in a source code comment
Message-ID:  <202204140645.23E6jTet097338@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=baffa1f98fa7ad625c998a8b0378cacccc2b9c93

commit baffa1f98fa7ad625c998a8b0378cacccc2b9c93
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-04-09 06:53:17 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-04-14 06:42:27 +0000

    kern: Fix a typo in a source code comment
    
    - s/is is/is/
    
    (cherry picked from commit 768f9b8b8bf7ca2f0b45bf6d7fde1a38f800c68d)
---
 sys/kern/kern_prot.c | 2 +-
 sys/kern/vfs_subr.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c
index 681718d571d2..f656c6bf9a20 100644
--- a/sys/kern/kern_prot.c
+++ b/sys/kern/kern_prot.c
@@ -1739,7 +1739,7 @@ p_candebug(struct thread *td, struct proc *p)
 	if ((p->p_flag & P_INEXEC) != 0)
 		return (EBUSY);
 
-	/* Denied explicitely */
+	/* Denied explicitly */
 	if ((p->p_flag2 & P2_NOTRACE) != 0) {
 		error = priv_check(td, PRIV_DEBUG_DENIED);
 		if (error != 0)
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 5f0c467c87e6..cc070b9285db 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -1283,7 +1283,7 @@ vnlru_proc(void)
 		if (usevnodes <= 0)
 			usevnodes = 1;
 		/*
-		 * The trigger value is is chosen to give a conservatively
+		 * The trigger value is chosen to give a conservatively
 		 * large value to ensure that it alone doesn't prevent
 		 * making progress.  The value can easily be so large that
 		 * it is effectively infinite in some congested and



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