From c3ad0bdd7e8e54af40c917ad2f8ffaef552150f3 Mon Sep 17 00:00:00 2001 From: andvar Date: Sat, 15 Oct 2022 21:53:21 +0000 Subject: [PATCH] fix various typos in documentation and comments. mainly in words functionality, functional, function. --- sbin/blkdiscard/blkdiscard.8 | 4 ++-- share/man/man3lua/syslog.3lua | 4 ++-- sys/arch/shark/shark/sequoia.c | 8 ++++---- sys/netinet/sctp_pcb.c | 6 +++--- usr.bin/grep/grep.c | 8 ++++---- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/sbin/blkdiscard/blkdiscard.8 b/sbin/blkdiscard/blkdiscard.8 index e76717416829..309ee59eabe6 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 cee2dde121d3..47fef2e57229 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 . .\" 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 5d869e9cd0aa..70d7698d6358 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 -__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 #include @@ -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 d8fb4126cbb5..b0c3dc659aa0 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 -__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 bad2a7398a42..19368d6772ab 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 -__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 #include @@ -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':