summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandvar <andvar@NetBSD.org>2022-10-15 21:53:21 +0000
committerandvar <andvar@NetBSD.org>2022-10-15 21:53:21 +0000
commit86d79a4cb293d00f2aba6350490d6a40d1da900b (patch)
treee34bc4535a5f22f102ec53f47ee0d6560018b170
parent95f0a126b217431613e22702378f5d25b8d01aa0 (diff)
fix various typos in documentation and comments.
mainly in words functionality, functional, function.
-rw-r--r--sbin/blkdiscard/blkdiscard.84
-rw-r--r--share/man/man3lua/syslog.3lua4
-rw-r--r--sys/arch/shark/shark/sequoia.c8
-rw-r--r--sys/netinet/sctp_pcb.c6
-rw-r--r--usr.bin/grep/grep.c8
5 files changed, 15 insertions, 15 deletions
diff --git a/sbin/blkdiscard/blkdiscard.8 b/sbin/blkdiscard/blkdiscard.8
index e7671741682..309ee59eabe 100644
--- a/sbin/blkdiscard/blkdiscard.8
+++ b/sbin/blkdiscard/blkdiscard.8
@@ -1,4 +1,4 @@
-.\" $NetBSD: blkdiscard.8,v 1.1 2022/02/07 09:33:26 mrg Exp $
+.\" $NetBSD: blkdiscard.8,v 1.2 2022/10/15 21:53:21 andvar Exp $
.\"
.\" Copyright (c) 2022 Matthew R. Green
.\" All rights reserved.
@@ -158,6 +158,6 @@ command was written by
.An Matthew R. Green
.Aq mrg@eterna.com.au .
.Sh BUGS
-The secure erase funtionality of the
+The secure erase functionality of the
.Fl s
option is not yet implemented.
diff --git a/share/man/man3lua/syslog.3lua b/share/man/man3lua/syslog.3lua
index cee2dde121d..47fef2e5722 100644
--- a/share/man/man3lua/syslog.3lua
+++ b/share/man/man3lua/syslog.3lua
@@ -1,4 +1,4 @@
-.\" $NetBSD: syslog.3lua,v 1.3 2014/01/07 21:54:17 mbalmer Exp $
+.\" $NetBSD: syslog.3lua,v 1.4 2022/10/15 21:53:21 andvar Exp $
.\"
.\" Copyright (c) 2013, 2014 Marc Balmer <mbalmer@NetBSD.org>.
.\" All rights reserved.
@@ -50,7 +50,7 @@ The
.Nm
Lua binding provides access to the
.Xr syslog 3
-funcionality.
+functionality.
.Pp
.Bl -tag -width XXXX -compact
.Pp
diff --git a/sys/arch/shark/shark/sequoia.c b/sys/arch/shark/shark/sequoia.c
index 5d869e9cd0a..70d7698d635 100644
--- a/sys/arch/shark/shark/sequoia.c
+++ b/sys/arch/shark/shark/sequoia.c
@@ -1,4 +1,4 @@
-/* $NetBSD: sequoia.c,v 1.16 2021/08/07 16:19:05 thorpej Exp $ */
+/* $NetBSD: sequoia.c,v 1.17 2022/10/15 21:53:21 andvar Exp $ */
/*
* Copyright 1997
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sequoia.c,v 1.16 2021/08/07 16:19:05 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sequoia.c,v 1.17 2022/10/15 21:53:21 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -141,7 +141,7 @@ static bool sequoiaLock_held;
/*
**
-** FUNCITONAL PROTOTYPES
+** FUNCTIONAL PROTOTYPES
**
*/
static void ledSetBiled(int color);
@@ -149,7 +149,7 @@ static void ledTimeout(void *arg);
/*
**
-** FUNCITONS
+** FUNCTIONS
**
*/
void sequoiaInit(void)
diff --git a/sys/netinet/sctp_pcb.c b/sys/netinet/sctp_pcb.c
index d8fb4126cbb..b0c3dc659aa 100644
--- a/sys/netinet/sctp_pcb.c
+++ b/sys/netinet/sctp_pcb.c
@@ -1,5 +1,5 @@
/* $KAME: sctp_pcb.c,v 1.39 2005/06/16 18:29:25 jinmei Exp $ */
-/* $NetBSD: sctp_pcb.c,v 1.25 2022/05/28 22:16:44 andvar Exp $ */
+/* $NetBSD: sctp_pcb.c,v 1.26 2022/10/15 21:53:21 andvar Exp $ */
/*
* Copyright (c) 2001, 2002, 2003, 2004 Cisco Systems, Inc.
@@ -33,7 +33,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sctp_pcb.c,v 1.25 2022/05/28 22:16:44 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sctp_pcb.c,v 1.26 2022/10/15 21:53:21 andvar Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -3787,7 +3787,7 @@ sctp_pcb_init(void)
{
/*
* SCTP initialization for the PCB structures
- * should be called by the sctp_init() funciton.
+ * should be called by the sctp_init() function.
*/
int i;
int hashtblsize = SCTP_TCBHASHSIZE;
diff --git a/usr.bin/grep/grep.c b/usr.bin/grep/grep.c
index bad2a7398a4..19368d6772a 100644
--- a/usr.bin/grep/grep.c
+++ b/usr.bin/grep/grep.c
@@ -1,4 +1,4 @@
-/* $NetBSD: grep.c,v 1.15 2018/08/12 09:03:21 christos Exp $ */
+/* $NetBSD: grep.c,v 1.16 2022/10/15 21:53:22 andvar Exp $ */
/* $FreeBSD: head/usr.bin/grep/grep.c 211519 2010-08-19 22:55:17Z delphij $ */
/* $OpenBSD: grep.c,v 1.42 2010/07/02 22:18:03 tedu Exp $ */
@@ -34,7 +34,7 @@
#endif
#include <sys/cdefs.h>
-__RCSID("$NetBSD: grep.c,v 1.15 2018/08/12 09:03:21 christos Exp $");
+__RCSID("$NetBSD: grep.c,v 1.16 2022/10/15 21:53:22 andvar Exp $");
#include <sys/stat.h>
#include <sys/types.h>
@@ -60,7 +60,7 @@ nl_catd catalog;
#endif
/*
- * Default messags to use when NLS is disabled or no catalogue
+ * Default messages to use when NLS is disabled or no catalogue
* is found.
*/
const char *errstr[] = {
@@ -330,7 +330,7 @@ main(int argc, char *argv[])
#endif
/* Check what is the program name of the binary. In this
- way we can have all the funcionalities in one binary
+ way we can have all the functionalities in one binary
without the need of scripting and using ugly hacks. */
switch (__progname[0]) {
case 'e':