summaryrefslogtreecommitdiff
path: root/sys/kern/sys_select.c
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/sys_select.c
parent2c650dfce1d11c9d2b90557108902fac4c2f6baf (diff)
s/occured/occurred/ in comments, log messages and man pages.
Diffstat (limited to 'sys/kern/sys_select.c')
-rw-r--r--sys/kern/sys_select.c10
1 files changed, 5 insertions, 5 deletions
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;