Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src fix various typos in documentation and comments.



details:   https://anonhg.NetBSD.org/src/rev/46250450fe0e
branches:  trunk
changeset: 371895:46250450fe0e
user:      andvar <andvar%NetBSD.org@localhost>
date:      Sat Oct 15 21:53:21 2022 +0000

description:
fix various typos in documentation and comments.
mainly in words functionality, functional, function.

diffstat:

 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(-)

diffs (135 lines):

diff -r 8e5bdec32401 -r 46250450fe0e sbin/blkdiscard/blkdiscard.8
--- a/sbin/blkdiscard/blkdiscard.8      Sat Oct 15 21:19:15 2022 +0000
+++ b/sbin/blkdiscard/blkdiscard.8      Sat Oct 15 21:53:21 2022 +0000
@@ -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 @@
 .An Matthew R. Green
 .Aq mrg%eterna.com.au@localhost .
 .Sh BUGS
-The secure erase funtionality of the
+The secure erase functionality of the
 .Fl s
 option is not yet implemented.
diff -r 8e5bdec32401 -r 46250450fe0e share/man/man3lua/syslog.3lua
--- a/share/man/man3lua/syslog.3lua     Sat Oct 15 21:19:15 2022 +0000
+++ b/share/man/man3lua/syslog.3lua     Sat Oct 15 21:53:21 2022 +0000
@@ -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@localhost>.
 .\" All rights reserved.
@@ -50,7 +50,7 @@
 .Nm
 Lua binding provides access to the
 .Xr syslog 3
-funcionality.
+functionality.
 .Pp
 .Bl -tag -width XXXX -compact
 .Pp
diff -r 8e5bdec32401 -r 46250450fe0e sys/arch/shark/shark/sequoia.c
--- a/sys/arch/shark/shark/sequoia.c    Sat Oct 15 21:19:15 2022 +0000
+++ b/sys/arch/shark/shark/sequoia.c    Sat Oct 15 21:53:21 2022 +0000
@@ -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 @@
 
 /*
 **
-** FUNCITONAL PROTOTYPES
+** FUNCTIONAL PROTOTYPES
 **
 */
 static void ledSetBiled(int color);
@@ -149,7 +149,7 @@
 
 /*
 ** 
-** FUNCITONS
+** FUNCTIONS
 **
 */
 void sequoiaInit(void)
diff -r 8e5bdec32401 -r 46250450fe0e sys/netinet/sctp_pcb.c
--- a/sys/netinet/sctp_pcb.c    Sat Oct 15 21:19:15 2022 +0000
+++ b/sys/netinet/sctp_pcb.c    Sat Oct 15 21:53:21 2022 +0000
@@ -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 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 -r 8e5bdec32401 -r 46250450fe0e usr.bin/grep/grep.c
--- a/usr.bin/grep/grep.c       Sat Oct 15 21:19:15 2022 +0000
+++ b/usr.bin/grep/grep.c       Sat Oct 15 21:53:21 2022 +0000
@@ -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 @@
 #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 @@
 #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':



Home | Main Index | Thread Index | Old Index