git: 49a033d8cf74 - main - kern: Correct some typos in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 04 Sep 2022 11:00:14 UTC
The branch main has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=49a033d8cf74c4fe115dff62836512b15cfac788 commit 49a033d8cf74c4fe115dff62836512b15cfac788 Author: Gordon Bergling <gbe@FreeBSD.org> AuthorDate: 2022-09-04 11:00:01 +0000 Commit: Gordon Bergling <gbe@FreeBSD.org> CommitDate: 2022-09-04 11:00:01 +0000 kern: Correct some typos in source code comments - s/occured/occurred/ - s/the the/the/ MFC after: 3 days --- sys/kern/kern_exit.c | 2 +- sys/kern/kern_jail.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index 4cf31aa73e56..e7a6f8d66c39 100644 --- a/sys/kern/kern_exit.c +++ b/sys/kern/kern_exit.c @@ -764,7 +764,7 @@ sys_abort2(struct thread *td, struct abort2_args *uap) * kern_abort2() * Arguments: * why - user pointer to why - * nargs - number of arguments copied or -1 if an error occured in copying + * nargs - number of arguments copied or -1 if an error occurred in copying * args - pointer to an array of pointers in kernel format */ int diff --git a/sys/kern/kern_jail.c b/sys/kern/kern_jail.c index 965f3379adce..108432c53bca 100644 --- a/sys/kern/kern_jail.c +++ b/sys/kern/kern_jail.c @@ -2848,7 +2848,7 @@ prison_free_not_last(struct prison *pr) /* * Hold a prison for user visibility, by incrementing pr_uref. * It is generally an error to hold a prison that isn't already - * user-visible, except through the the jail system calls. It is also + * user-visible, except through the jail system calls. It is also * an error to hold an invalid prison. A prison record will remain * alive as long as it has at least one user reference, and will not * be set to the dying state until the prison mutex and allprison_lock