summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorandvar <andvar@NetBSD.org>2021-12-10 20:36:02 +0000
committerandvar <andvar@NetBSD.org>2021-12-10 20:36:02 +0000
commitec0fc95dd18bb0e67dfbb1e4c92f0d5dcc5a8a43 (patch)
treecadd32f9c2c615b79b2b0b7fc1ae2de385601faf /sys/kern
parent2c650dfce1d11c9d2b90557108902fac4c2f6baf (diff)
s/occured/occurred/ in comments, log messages and man pages.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/subr_interrupt.c6
-rw-r--r--sys/kern/sys_select.c10
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/kern/subr_interrupt.c b/sys/kern/subr_interrupt.c
index ed9b38556a1..bbfe1d49cc9 100644
--- a/sys/kern/subr_interrupt.c
+++ b/sys/kern/subr_interrupt.c
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_interrupt.c,v 1.4 2018/01/28 22:24:58 christos Exp $ */
+/* $NetBSD: subr_interrupt.c,v 1.5 2021/12/10 20:36:04 andvar Exp $ */
/*
* Copyright (c) 2015 Internet Initiative Japan Inc.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_interrupt.c,v 1.4 2018/01/28 22:24:58 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_interrupt.c,v 1.5 2021/12/10 20:36:04 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -202,7 +202,7 @@ interrupt_intrio_list_size(size_t *ilsize)
/*
* Set intrctl list data to "il", and return list structure bytes.
- * If error occured, return <0.
+ * If error occurred, return <0.
* If "data" == NULL, simply return list structure bytes.
*/
static int
diff --git a/sys/kern/sys_select.c b/sys/kern/sys_select.c
index 565ebc33d37..617d1521b89 100644
--- a/sys/kern/sys_select.c
+++ b/sys/kern/sys_select.c
@@ -1,4 +1,4 @@
-/* $NetBSD: sys_select.c,v 1.56 2021/09/29 02:47:22 thorpej Exp $ */
+/* $NetBSD: sys_select.c,v 1.57 2021/12/10 20:36:04 andvar Exp $ */
/*-
* Copyright (c) 2007, 2008, 2009, 2010, 2019, 2020 The NetBSD Foundation, Inc.
@@ -84,7 +84,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_select.c,v 1.56 2021/09/29 02:47:22 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_select.c,v 1.57 2021/12/10 20:36:04 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -295,7 +295,7 @@ sel_do_scan(const char *opname, void *fds, const int nf, const size_t ni,
break;
/*
* Acquire the lock and perform the (re)checks. Note, if
- * collision has occured, then our state does not matter,
+ * collision has occurred, then our state does not matter,
* as we must perform re-scan. Therefore, check it first.
*/
state_check:
@@ -307,12 +307,12 @@ state_check:
continue;
}
if (__predict_true(l->l_selflag == SEL_EVENT)) {
- /* Events occured, they are set directly. */
+ /* Events occurred, they are set directly. */
mutex_spin_exit(lock);
break;
}
if (__predict_true(l->l_selflag == SEL_RESET)) {
- /* Events occured, but re-scan is requested. */
+ /* Events occurred, but re-scan is requested. */
mutex_spin_exit(lock);
selclear();
continue;