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 comments, log messages and documentation.



details:   https://anonhg.NetBSD.org/src/rev/ab8b50febe9a
branches:  trunk
changeset: 1026616:ab8b50febe9a
user:      andvar <andvar%NetBSD.org@localhost>
date:      Fri Dec 03 13:27:37 2021 +0000

description:
fix various typos in comments, log messages and documentation.

diffstat:

 lib/checkvers                                             |  6 +++---
 lib/libcurses/PSD.doc/Makefile                            |  4 ++--
 sbin/iscsictl/iscsic_parse.c                              |  4 ++--
 sys/arch/evbarm/imx23_olinuxino/imx23_olinuxino_machdep.c |  4 ++--
 sys/arch/sgimips/hpc/pi1ppc.c                             |  6 +++---
 sys/arch/sgimips/hpc/pi1ppcvar.h                          |  4 ++--
 sys/compat/linux/arch/powerpc/linux_machdep.h             |  4 ++--
 sys/dev/ic/README.ncr5380sbc                              |  2 +-
 sys/dev/ic/atppc.c                                        |  6 +++---
 sys/dev/isa/atppc_isa.c                                   |  8 ++++----
 sys/dev/pci/hifn7751var.h                                 |  4 ++--
 sys/dev/pci/pci_subr.c                                    |  6 +++---
 sys/dev/pckbport/synaptics.c                              |  6 +++---
 sys/net/if_gre.h                                          |  6 +++---
 sys/netipsec/key.c                                        |  6 +++---
 usr.bin/cap_mkdb/cap_mkdb.c                               |  6 +++---
 usr.bin/rump_dhcpclient/net.c                             |  2 +-
 usr.sbin/lpr/common_source/lp.local.h                     |  4 ++--
 18 files changed, 44 insertions(+), 44 deletions(-)

diffs (truncated from 398 to 300 lines):

diff -r 5d4b158fa4f7 -r ab8b50febe9a lib/checkvers
--- a/lib/checkvers     Fri Dec 03 13:08:10 2021 +0000
+++ b/lib/checkvers     Fri Dec 03 13:27:37 2021 +0000
@@ -1,5 +1,5 @@
 #!/bin/ksh
-#      $NetBSD: checkvers,v 1.7 2008/04/30 13:10:50 martin Exp $
+#      $NetBSD: checkvers,v 1.8 2021/12/03 13:27:37 andvar Exp $
 #
 # Copyright (c) 1998 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -33,7 +33,7 @@
 # checkvers [-q] [systemlibdir [library name]]
 #
 # This is a wrapper script around checkver.  It will find
-# all directories withing the current directory containing
+# all directories within the current directory containing
 # a shlib_version file and call checkver for each.
 #
 # As with checkver, a list of directories of installed libraries
@@ -44,7 +44,7 @@
 # will not work correctly if it finds shlib_version files
 # corresponding to a different library.
 #
-# This script produces no output if all library version are ok.
+# This script produces no output if all library versions are ok.
 # If the versions aren't ok the header will be displayed once
 # followed by a list of problematic libraries.
 #
diff -r 5d4b158fa4f7 -r ab8b50febe9a lib/libcurses/PSD.doc/Makefile
--- a/lib/libcurses/PSD.doc/Makefile    Fri Dec 03 13:08:10 2021 +0000
+++ b/lib/libcurses/PSD.doc/Makefile    Fri Dec 03 13:27:37 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.14 2014/07/15 13:27:58 christos Exp $
+#      $NetBSD: Makefile,v 1.15 2021/12/03 13:27:38 andvar Exp $
 #      from: @(#)Makefile      8.2 (Berkeley) 5/23/94
 
 SECTION=reference/ref3
@@ -16,7 +16,7 @@
 
 #
 # this section formats C input source into nice troffable (or nroffable)
-# versions.  It uses the capabilites of "vgrind", which sets keywords in
+# versions.  It uses the capabilities of "vgrind", which sets keywords in
 # bold font, and comments in italics.
 #
 
diff -r 5d4b158fa4f7 -r ab8b50febe9a sbin/iscsictl/iscsic_parse.c
--- a/sbin/iscsictl/iscsic_parse.c      Fri Dec 03 13:08:10 2021 +0000
+++ b/sbin/iscsictl/iscsic_parse.c      Fri Dec 03 13:27:37 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iscsic_parse.c,v 1.3 2015/05/30 15:57:32 joerg Exp $   */
+/*     $NetBSD: iscsic_parse.c,v 1.4 2021/12/03 13:27:38 andvar Exp $  */
 
 /*-
  * Copyright (c) 2005,2006,2011 The NetBSD Foundation, Inc.
@@ -204,7 +204,7 @@
        size_t num, len, name;
        int i, p;
 
-       /* count number of addreses first, so we know how much memory to allocate */
+       /* count number of addresses first, so we know how much memory to allocate */
        for (i = (int)(num = name = 0); i < argc; i++) {
                if (!argv[i] || argv[i][0] != '-')
                        continue;
diff -r 5d4b158fa4f7 -r ab8b50febe9a sys/arch/evbarm/imx23_olinuxino/imx23_olinuxino_machdep.c
--- a/sys/arch/evbarm/imx23_olinuxino/imx23_olinuxino_machdep.c Fri Dec 03 13:08:10 2021 +0000
+++ b/sys/arch/evbarm/imx23_olinuxino/imx23_olinuxino_machdep.c Fri Dec 03 13:27:37 2021 +0000
@@ -1,4 +1,4 @@
-/* $Id: imx23_olinuxino_machdep.c,v 1.12 2021/08/10 06:47:48 skrll Exp $ */
+/* $Id: imx23_olinuxino_machdep.c,v 1.13 2021/12/03 13:27:38 andvar Exp $ */
 
 /*
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -320,7 +320,7 @@
 {
         uint32_t tmp_r;
 
-        /* BO_OFFSET must be withing 2700mV - 3475mV */
+        /* BO_OFFSET must be within 2700mV - 3475mV */
         if (brownout > 3475)
                 brownout = 3475;
         else if (brownout < 2700)
diff -r 5d4b158fa4f7 -r ab8b50febe9a sys/arch/sgimips/hpc/pi1ppc.c
--- a/sys/arch/sgimips/hpc/pi1ppc.c     Fri Dec 03 13:08:10 2021 +0000
+++ b/sys/arch/sgimips/hpc/pi1ppc.c     Fri Dec 03 13:27:37 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pi1ppc.c,v 1.15 2021/08/07 16:19:04 thorpej Exp $ */
+/* $NetBSD: pi1ppc.c,v 1.16 2021/12/03 13:27:38 andvar Exp $ */
 
 /*
  * Copyright (c) 2001 Alcove - Nicolas Souchu
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pi1ppc.c,v 1.15 2021/08/07 16:19:04 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pi1ppc.c,v 1.16 2021/12/03 13:27:38 andvar Exp $");
 
 #include "opt_pi1ppc.h"
 
@@ -235,7 +235,7 @@
 
        /* Set up parport_adapter structure */
 
-       /* Set capabilites */
+       /* Set capabilities */
        sc_parport_adapter.capabilities = 0;
        if (lsc->sc_has & PI1PPC_HAS_INTR) {
                sc_parport_adapter.capabilities |= PPBUS_HAS_INTR;
diff -r 5d4b158fa4f7 -r ab8b50febe9a sys/arch/sgimips/hpc/pi1ppcvar.h
--- a/sys/arch/sgimips/hpc/pi1ppcvar.h  Fri Dec 03 13:08:10 2021 +0000
+++ b/sys/arch/sgimips/hpc/pi1ppcvar.h  Fri Dec 03 13:27:37 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pi1ppcvar.h,v 1.6 2011/07/01 18:53:47 dyoung Exp $ */
+/* $NetBSD: pi1ppcvar.h,v 1.7 2021/12/03 13:27:38 andvar Exp $ */
 
 /*-
  * Copyright (c) 2001 Alcove - Nicolas Souchu
@@ -43,7 +43,7 @@
 /* Maximum time to wait for device response */
 #define MAXBUSYWAIT    (5 * (hz))
 
-/* Poll interval when wating for device to become ready */
+/* Poll interval when waiting for device to become ready */
 #define PI1PPC_POLL    ((hz)/10)
 
 /* Diagnostic and verbose printing macros */
diff -r 5d4b158fa4f7 -r ab8b50febe9a sys/compat/linux/arch/powerpc/linux_machdep.h
--- a/sys/compat/linux/arch/powerpc/linux_machdep.h     Fri Dec 03 13:08:10 2021 +0000
+++ b/sys/compat/linux/arch/powerpc/linux_machdep.h     Fri Dec 03 13:27:37 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_machdep.h,v 1.10 2008/11/12 12:36:10 ad Exp $ */
+/*     $NetBSD: linux_machdep.h,v 1.11 2021/12/03 13:27:38 andvar Exp $ */
 
 /*-
  * Copyright (c) 1995, 2000, 2001 The NetBSD Foundation, Inc.
@@ -104,7 +104,7 @@
  * defines a rt_sigframe struct, but it is only used for RT signals. for
  * non RT signals, struct sigregs is used instead.
  *
- * About the ltramp filed: that trampoline code is not used. Instead, the
+ * About the ltramp field: that trampoline code is not used. Instead, the
  * sigcode (7 bytes long) trampoline code, copied by exec() on program startup
  * is used. However, Linux binaries might expect it to be here.
  */
diff -r 5d4b158fa4f7 -r ab8b50febe9a sys/dev/ic/README.ncr5380sbc
--- a/sys/dev/ic/README.ncr5380sbc      Fri Dec 03 13:08:10 2021 +0000
+++ b/sys/dev/ic/README.ncr5380sbc      Fri Dec 03 13:27:37 2021 +0000
@@ -136,7 +136,7 @@
 
 2) No support for the SCSI port of the Pro AudioStudio 16.
 
-This is also unfortunate and may not be able to be remedied withing the
+This is also unfortunate and may not be able to be remedied within the
 current framework of the bus_space() functions and the nca driver.
 
 The problem is this: In most adapters, the eight 53C80 registers are mapped
diff -r 5d4b158fa4f7 -r ab8b50febe9a sys/dev/ic/atppc.c
--- a/sys/dev/ic/atppc.c        Fri Dec 03 13:08:10 2021 +0000
+++ b/sys/dev/ic/atppc.c        Fri Dec 03 13:27:37 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atppc.c,v 1.39 2021/08/07 16:19:12 thorpej Exp $ */
+/* $NetBSD: atppc.c,v 1.40 2021/12/03 13:27:38 andvar Exp $ */
 
 /*
  * Copyright (c) 2001 Alcove - Nicolas Souchu
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: atppc.c,v 1.39 2021/08/07 16:19:12 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: atppc.c,v 1.40 2021/12/03 13:27:38 andvar Exp $");
 
 #include "opt_atppc.h"
 
@@ -185,7 +185,7 @@
 
        /* Set up parport_adapter structure */
 
-       /* Set capabilites */
+       /* Set capabilities */
        sc_parport_adapter.capabilities = 0;
        if (lsc->sc_has & ATPPC_HAS_INTR) {
                sc_parport_adapter.capabilities |= PPBUS_HAS_INTR;
diff -r 5d4b158fa4f7 -r ab8b50febe9a sys/dev/isa/atppc_isa.c
--- a/sys/dev/isa/atppc_isa.c   Fri Dec 03 13:08:10 2021 +0000
+++ b/sys/dev/isa/atppc_isa.c   Fri Dec 03 13:27:37 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atppc_isa.c,v 1.15 2011/05/26 02:29:23 jakllsch Exp $ */
+/* $NetBSD: atppc_isa.c,v 1.16 2021/12/03 13:27:38 andvar Exp $ */
 
 /*-
  * Copyright (c) 2001 Alcove - Nicolas Souchu
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: atppc_isa.c,v 1.15 2011/05/26 02:29:23 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: atppc_isa.c,v 1.16 2021/12/03 13:27:38 andvar Exp $");
 
 #include "opt_atppc.h"
 
@@ -53,10 +53,10 @@
 
 /*
  * ISA bus attach code for atppc driver.
- * Note on capabilities: capabilites may exist in the chipset but may not
+ * Note on capabilities: capabilities may exist in the chipset but may not
  * necessarily be useable. I.e. you may specify an IRQ in the autoconfig, but
  * will the port actually have an IRQ assigned to it at the hardware level?
- * How can you test if the capabilites can be used? For interrupts, see if a
+ * How can you test if the capabilities can be used? For interrupts, see if a
  * handler exists (sc_intr != NULL). For DMA, see if the sc_dma_start() and
  * sc_dma_finish() function pointers are not NULL.
  */
diff -r 5d4b158fa4f7 -r ab8b50febe9a sys/dev/pci/hifn7751var.h
--- a/sys/dev/pci/hifn7751var.h Fri Dec 03 13:08:10 2021 +0000
+++ b/sys/dev/pci/hifn7751var.h Fri Dec 03 13:27:37 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hifn7751var.h,v 1.17 2020/05/17 00:54:05 riastradh Exp $       */
+/*     $NetBSD: hifn7751var.h,v 1.18 2021/12/03 13:27:38 andvar Exp $  */
 /*     $OpenBSD: hifn7751var.h,v 1.54 2020/01/11 21:34:04 cheloha Exp $        */
 
 /*
@@ -166,7 +166,7 @@
        int                     sc_d_busy;      /* destination data ring busy */
        int                     sc_r_busy;      /* result ring busy */
        int                     sc_active;      /* for initial countdown */
-       int                     sc_needwakeup;  /* ops q'd wating on resources */
+       int                     sc_needwakeup;  /* ops q'd waiting on resources */
        uint8_t                 sc_sessions[2048/NBBY];
        pci_chipset_tag_t sc_pci_pc;
        pcitag_t sc_pci_tag;
diff -r 5d4b158fa4f7 -r ab8b50febe9a sys/dev/pci/pci_subr.c
--- a/sys/dev/pci/pci_subr.c    Fri Dec 03 13:08:10 2021 +0000
+++ b/sys/dev/pci/pci_subr.c    Fri Dec 03 13:27:37 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_subr.c,v 1.232 2021/10/10 23:28:36 msaitoh Exp $   */
+/*     $NetBSD: pci_subr.c,v 1.233 2021/12/03 13:27:38 andvar Exp $    */
 
 /*
  * Copyright (c) 1997 Zubin D. Dittia.  All rights reserved.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.232 2021/10/10 23:28:36 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.233 2021/12/03 13:27:38 andvar Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_pci.h"
@@ -3899,7 +3899,7 @@
                reg = regs[o2i(pcie_capoff + PCIE_LCAP)];
                maxlinkwidth = PCIREG_SHIFTOUT(reg, PCIE_LCAP_MAX_WIDTH);
        } else {
-               printf("error: falied to get PCIe capablity\n");
+               printf("error: failed to get PCIe capability\n");
                return;
        }
        for (i = 0; i < maxlinkwidth; i++) {
diff -r 5d4b158fa4f7 -r ab8b50febe9a sys/dev/pckbport/synaptics.c
--- a/sys/dev/pckbport/synaptics.c      Fri Dec 03 13:08:10 2021 +0000
+++ b/sys/dev/pckbport/synaptics.c      Fri Dec 03 13:27:37 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: synaptics.c,v 1.73 2021/10/21 04:49:28 blymn Exp $     */
+/*     $NetBSD: synaptics.c,v 1.74 2021/12/03 13:27:39 andvar Exp $    */
 
 /*
  * Copyright (c) 2005, Steve C. Woodford
@@ -48,7 +48,7 @@
 #include "opt_pms.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.73 2021/10/21 04:49:28 blymn Exp $");
+__KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.74 2021/12/03 13:27:39 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -413,7 +413,7 @@
        /* Query the hardware capabilities. */
        res = synaptics_special_read(psc, SYNAPTICS_READ_CAPABILITIES, resp);
        if (res) {
-               /* Hmm, failed to get capabilites. */
+               /* Hmm, failed to get capabilities. */
                aprint_error_dev(psc->sc_dev,
                    "synaptics_probe: Failed to query capabilities.\n");
                goto doreset;
diff -r 5d4b158fa4f7 -r ab8b50febe9a sys/net/if_gre.h
--- a/sys/net/if_gre.h  Fri Dec 03 13:08:10 2021 +0000
+++ b/sys/net/if_gre.h  Fri Dec 03 13:27:37 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_gre.h,v 1.49 2021/02/14 19:33:29 roy Exp $ */
+/*     $NetBSD: if_gre.h,v 1.50 2021/12/03 13:27:39 andvar Exp $ */
 
 /*
  * Copyright (c) 1998, 2008 The NetBSD Foundation, Inc.
@@ -118,7 +118,7 @@
                                and payload
                                Present if (ck_pres | rt_pres == 1).
                                Valid if (ck_pres == 1).



Home | Main Index | Thread Index | Old Index