Module Name: src Committed By: andvar Date: Sat Oct 15 21:53:22 UTC 2022
Modified Files: src/sbin/blkdiscard: blkdiscard.8 src/share/man/man3lua: syslog.3lua src/sys/arch/shark/shark: sequoia.c src/sys/netinet: sctp_pcb.c src/usr.bin/grep: grep.c Log Message: fix various typos in documentation and comments. mainly in words functionality, functional, function. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sbin/blkdiscard/blkdiscard.8 cvs rdiff -u -r1.3 -r1.4 src/share/man/man3lua/syslog.3lua cvs rdiff -u -r1.16 -r1.17 src/sys/arch/shark/shark/sequoia.c cvs rdiff -u -r1.25 -r1.26 src/sys/netinet/sctp_pcb.c cvs rdiff -u -r1.15 -r1.16 src/usr.bin/grep/grep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sbin/blkdiscard/blkdiscard.8 diff -u src/sbin/blkdiscard/blkdiscard.8:1.1 src/sbin/blkdiscard/blkdiscard.8:1.2 --- src/sbin/blkdiscard/blkdiscard.8:1.1 Mon Feb 7 09:33:26 2022 +++ src/sbin/blkdiscard/blkdiscard.8 Sat Oct 15 21:53:21 2022 @@ -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 m...@eterna.com.au . .Sh BUGS -The secure erase funtionality of the +The secure erase functionality of the .Fl s option is not yet implemented. Index: src/share/man/man3lua/syslog.3lua diff -u src/share/man/man3lua/syslog.3lua:1.3 src/share/man/man3lua/syslog.3lua:1.4 --- src/share/man/man3lua/syslog.3lua:1.3 Tue Jan 7 21:54:17 2014 +++ src/share/man/man3lua/syslog.3lua Sat Oct 15 21:53:21 2022 @@ -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 <mbal...@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 Index: src/sys/arch/shark/shark/sequoia.c diff -u src/sys/arch/shark/shark/sequoia.c:1.16 src/sys/arch/shark/shark/sequoia.c:1.17 --- src/sys/arch/shark/shark/sequoia.c:1.16 Sat Aug 7 16:19:05 2021 +++ src/sys/arch/shark/shark/sequoia.c Sat Oct 15 21:53:21 2022 @@ -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) Index: src/sys/netinet/sctp_pcb.c diff -u src/sys/netinet/sctp_pcb.c:1.25 src/sys/netinet/sctp_pcb.c:1.26 --- src/sys/netinet/sctp_pcb.c:1.25 Sat May 28 22:16:44 2022 +++ src/sys/netinet/sctp_pcb.c Sat Oct 15 21:53:21 2022 @@ -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; Index: src/usr.bin/grep/grep.c diff -u src/usr.bin/grep/grep.c:1.15 src/usr.bin/grep/grep.c:1.16 --- src/usr.bin/grep/grep.c:1.15 Sun Aug 12 09:03:21 2018 +++ src/usr.bin/grep/grep.c Sat Oct 15 21:53:22 2022 @@ -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':