summaryrefslogtreecommitdiff
path: root/lib
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 /lib
parent2c650dfce1d11c9d2b90557108902fac4c2f6baf (diff)
s/occured/occurred/ in comments, log messages and man pages.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/db/man/dbm_clearerr.36
-rw-r--r--lib/libc/gen/wordexp.34
-rw-r--r--lib/libc/sys/send.24
-rw-r--r--lib/libterminfo/term.h4
4 files changed, 9 insertions, 9 deletions
diff --git a/lib/libc/db/man/dbm_clearerr.3 b/lib/libc/db/man/dbm_clearerr.3
index 0fa6c84db55..f5a677fa540 100644
--- a/lib/libc/db/man/dbm_clearerr.3
+++ b/lib/libc/db/man/dbm_clearerr.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: dbm_clearerr.3,v 1.6 2019/05/26 06:18:13 abhinav Exp $
+.\" $NetBSD: dbm_clearerr.3,v 1.7 2021/12/10 20:36:02 andvar Exp $
.\"
.\" Copyright (c) 2004 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -236,7 +236,7 @@ function returns a content
.Fa datum ;
if no record matching
.Fa key
-was found or if an error occured, its
+was found or if an error occurred, its
.Fa dptr
member is a null pointer.
.Pp
@@ -263,7 +263,7 @@ and
.Fn dbm_nextkey
functions return a key
.Fa datum .
-When the end of the database is reached or if an error occured, its
+When the end of the database is reached or if an error occurred, its
.Fa dptr
member is a null pointer.
.Pp
diff --git a/lib/libc/gen/wordexp.3 b/lib/libc/gen/wordexp.3
index 7035dccf989..1871b0e79c6 100644
--- a/lib/libc/gen/wordexp.3
+++ b/lib/libc/gen/wordexp.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: wordexp.3,v 1.3 2017/07/03 21:32:49 wiz Exp $
+.\" $NetBSD: wordexp.3,v 1.4 2021/12/10 20:36:02 andvar Exp $
.\"
.\" Copyright (c) 2002 Tim J. Robbins
.\" All rights reserved.
@@ -163,7 +163,7 @@ Not enough memory to store the result.
Shell syntax error in
.Fa words .
.It Dv WRDE_ERRNO
-An internal error occured and
+An internal error occurred and
.Va errno
is set to indicate the error.
.El
diff --git a/lib/libc/sys/send.2 b/lib/libc/sys/send.2
index 584c7b79187..adee462abbd 100644
--- a/lib/libc/sys/send.2
+++ b/lib/libc/sys/send.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: send.2,v 1.33 2021/03/28 03:29:31 dholland Exp $
+.\" $NetBSD: send.2,v 1.34 2021/12/10 20:36:02 andvar Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -186,7 +186,7 @@ if an error occurred.
The
.Fn sendmmsg
call returns the number of messages sent, or \-1
-if an error occured.
+if an error occurred.
.Sh ERRORS
.Fn send ,
.Fn sendto ,
diff --git a/lib/libterminfo/term.h b/lib/libterminfo/term.h
index b0eb0c9f68e..eaeb4dbca75 100644
--- a/lib/libterminfo/term.h
+++ b/lib/libterminfo/term.h
@@ -1,4 +1,4 @@
-/* $NetBSD: term.h,v 1.24 2020/06/05 22:08:10 roy Exp $ */
+/* $NetBSD: term.h,v 1.25 2021/12/10 20:36:02 andvar Exp $ */
/*
* Copyright (c) 2009, 2010, 2011, 2013, 2020 The NetBSD Foundation, Inc.
@@ -1749,7 +1749,7 @@ enum TISTRS{
* key_ll: sent by home-down key
* key_mark: sent by mark key
* key_message: sent by message key
- * key_mouse: 0631, Mouse event has occured
+ * key_mouse: 0631, Mouse event has occurred
* key_move: sent by move key
* key_next: sent by next-object key
* key_npage: sent by next-page key