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



details:   https://anonhg.NetBSD.org/src/rev/d4f68ad7c8e6
branches:  trunk
changeset: 1027172:d4f68ad7c8e6
user:      andvar <andvar%NetBSD.org@localhost>
date:      Wed Dec 08 20:50:01 2021 +0000

description:
fix various typos in comments and log messages.

diffstat:

 include/arpa/nameser.h                    |  4 ++--
 lib/libcurses/attributes.c                |  8 ++++----
 lib/libresolv/res_findzonecut.c           |  6 +++---
 sys/arch/evbppc/explora/dev/le_elb.c      |  6 +++---
 sys/arch/mips/mips/sys_machdep.c          |  6 +++---
 sys/arch/powerpc/pci/pci_machdep_common.c |  6 +++---
 sys/arch/rs6000/rs6000/machdep.c          |  6 +++---
 sys/dev/ic/smc91cxxreg.h                  |  6 +++---
 sys/dev/isa/if_le_isa.c                   |  6 +++---
 sys/dev/isapnp/if_le_isapnp.c             |  6 +++---
 sys/dev/pcmcia/fdc_pcmcia.c               |  6 +++---
 sys/dev/video.c                           |  8 ++++----
 sys/sys/wait.h                            |  4 ++--
 tests/dev/audio/audiotest.c               |  6 +++---
 14 files changed, 42 insertions(+), 42 deletions(-)

diffs (truncated from 377 to 300 lines):

diff -r b446e32c32ba -r d4f68ad7c8e6 include/arpa/nameser.h
--- a/include/arpa/nameser.h    Wed Dec 08 20:21:09 2021 +0000
+++ b/include/arpa/nameser.h    Wed Dec 08 20:50:01 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nameser.h,v 1.26 2020/10/10 19:51:48 christos Exp $    */
+/*     $NetBSD: nameser.h,v 1.27 2021/12/08 20:50:01 andvar Exp $      */
 
 /*
  * Portions Copyright (C) 2004, 2005, 2008, 2009  Internet Systems Consortium, Inc. ("ISC")
@@ -113,7 +113,7 @@
 } ns_sect;
 
 /*%
- * Network name (compressed or not) type.  Equivilent to a pointer when used
+ * Network name (compressed or not) type.  Equivalent to a pointer when used
  * in a function prototype.  Can be const'd.
  */
 typedef u_char ns_nname[NS_MAXNNAME];
diff -r b446e32c32ba -r d4f68ad7c8e6 lib/libcurses/attributes.c
--- a/lib/libcurses/attributes.c        Wed Dec 08 20:21:09 2021 +0000
+++ b/lib/libcurses/attributes.c        Wed Dec 08 20:50:01 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: attributes.c,v 1.32 2021/09/06 07:03:49 rin Exp $      */
+/*     $NetBSD: attributes.c,v 1.33 2021/12/08 20:50:01 andvar Exp $   */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: attributes.c,v 1.32 2021/09/06 07:03:49 rin Exp $");
+__RCSID("$NetBSD: attributes.c,v 1.33 2021/12/08 20:50:01 andvar Exp $");
 #endif                         /* not lint */
 
 #include "curses.h"
@@ -364,7 +364,7 @@
        const TERMINAL *t = win->screen->term;
 
        __CTRACE(__CTRACE_ATTR, "wattr_on: win %p, attr %08x\n", win, attr);
-       /* If can enter modes, set the relevent attribute bits. */
+       /* If can enter modes, set the relevant attribute bits. */
        if (t_exit_attribute_mode(t) != NULL) {
                if (attr & __BLINK && t_enter_blink_mode(t) != NULL)
                        win->wattr |= __BLINK;
@@ -411,7 +411,7 @@
        const TERMINAL *t = win->screen->term;
 
        __CTRACE(__CTRACE_ATTR, "wattr_off: win %p, attr %08x\n", win, attr);
-       /* If can do exit modes, unset the relevent attribute bits. */
+       /* If can do exit modes, unset the relevant attribute bits. */
        if (t_exit_attribute_mode(t) != NULL) {
                if (attr & __BLINK)
                        win->wattr &= ~__BLINK;
diff -r b446e32c32ba -r d4f68ad7c8e6 lib/libresolv/res_findzonecut.c
--- a/lib/libresolv/res_findzonecut.c   Wed Dec 08 20:21:09 2021 +0000
+++ b/lib/libresolv/res_findzonecut.c   Wed Dec 08 20:50:01 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: res_findzonecut.c,v 1.1 2012/11/15 18:48:48 christos Exp $     */
+/*     $NetBSD: res_findzonecut.c,v 1.2 2021/12/08 20:50:01 andvar Exp $       */
 
 /*
  * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
@@ -20,7 +20,7 @@
 #if 0
 static const char rcsid[] = "Id: res_findzonecut.c,v 1.10 2005/10/11 00:10:16 marka Exp ";
 #else
-__RCSID("$NetBSD: res_findzonecut.c,v 1.1 2012/11/15 18:48:48 christos Exp $");
+__RCSID("$NetBSD: res_findzonecut.c,v 1.2 2021/12/08 20:50:01 andvar Exp $");
 #endif
 
 
@@ -120,7 +120,7 @@
  * notes:
  *\li  this function calls res_nsend() which means it depends on correctly
  *     functioning recursive nameservers (usually defined in /etc/resolv.conf
- *     or its local equivilent).
+ *     or its local equivalent).
  *
  *\li  we start by asking for an SOA<dname,class>.  if we get one as an
  *     answer, that just means <dname,class> is a zone top, which is fine.
diff -r b446e32c32ba -r d4f68ad7c8e6 sys/arch/evbppc/explora/dev/le_elb.c
--- a/sys/arch/evbppc/explora/dev/le_elb.c      Wed Dec 08 20:21:09 2021 +0000
+++ b/sys/arch/evbppc/explora/dev/le_elb.c      Wed Dec 08 20:50:01 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: le_elb.c,v 1.10 2021/03/02 12:01:02 rin Exp $  */
+/*     $NetBSD: le_elb.c,v 1.11 2021/12/08 20:50:02 andvar Exp $       */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: le_elb.c,v 1.10 2021/03/02 12:01:02 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: le_elb.c,v 1.11 2021/12/08 20:50:02 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/conf.h>
@@ -136,7 +136,7 @@
        }
        if (bus_dmamap_load(msc->sc_dmat, msc->sc_dmam,
            sc->sc_mem, LE_MEMSIZE, NULL, BUS_DMA_NOWAIT)) {
-               aprint_error_dev(self, "coundn't load DMA map\n");
+               aprint_error_dev(self, "couldn't load DMA map\n");
                bus_dmamem_free(msc->sc_dmat, &seg, rseg);
                return;
        }
diff -r b446e32c32ba -r d4f68ad7c8e6 sys/arch/mips/mips/sys_machdep.c
--- a/sys/arch/mips/mips/sys_machdep.c  Wed Dec 08 20:21:09 2021 +0000
+++ b/sys/arch/mips/mips/sys_machdep.c  Wed Dec 08 20:50:01 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sys_machdep.c,v 1.34 2011/02/20 07:45:48 matt Exp $    */
+/*     $NetBSD: sys_machdep.c,v 1.35 2021/12/08 20:50:02 andvar Exp $  */
 
 /*
  * Copyright (c) 1992, 1993
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_machdep.c,v 1.34 2011/02/20 07:45:48 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_machdep.c,v 1.35 2021/12/08 20:50:02 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -132,7 +132,7 @@
                 * XXX: still to be done:
                 *   Check that base is user-space.
                 *   Check that we have a mapping, calculate physaddr.
-                *   Flush relevent cache(s).
+                *   Flush relevant cache(s).
                 */
                if (whichcache & ICACHE) {
                        MachFlushCache(uncached_physaddr, len);
diff -r b446e32c32ba -r d4f68ad7c8e6 sys/arch/powerpc/pci/pci_machdep_common.c
--- a/sys/arch/powerpc/pci/pci_machdep_common.c Wed Dec 08 20:21:09 2021 +0000
+++ b/sys/arch/powerpc/pci/pci_machdep_common.c Wed Dec 08 20:50:01 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pci_machdep_common.c,v 1.24 2020/07/06 09:34:17 rin Exp $ */
+/* $NetBSD: pci_machdep_common.c,v 1.25 2021/12/08 20:50:02 andvar Exp $ */
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -32,14 +32,14 @@
 /*
  * Generic PowerPC functions for dealing with a PCI bridge.  For most cases,
  * these functions will work just fine, however, some machines may need
- * specialized code, so those ports are free to write thier own functions
+ * specialized code, so those ports are free to write their own functions
  * and call those instead where appropriate.
  */
 
 #define _POWERPC_BUS_DMA_PRIVATE
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_machdep_common.c,v 1.24 2020/07/06 09:34:17 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_machdep_common.c,v 1.25 2021/12/08 20:50:02 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
diff -r b446e32c32ba -r d4f68ad7c8e6 sys/arch/rs6000/rs6000/machdep.c
--- a/sys/arch/rs6000/rs6000/machdep.c  Wed Dec 08 20:21:09 2021 +0000
+++ b/sys/arch/rs6000/rs6000/machdep.c  Wed Dec 08 20:50:01 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.11 2016/12/22 14:47:59 cherry Exp $      */
+/*     $NetBSD: machdep.c,v 1.12 2021/12/08 20:50:02 andvar Exp $      */
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.11 2016/12/22 14:47:59 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.12 2021/12/08 20:50:02 andvar Exp $");
 
 #include "opt_compat_netbsd.h"
 #include "opt_ddb.h"
@@ -254,7 +254,7 @@
 
                /*
                 * Some machines incorrectly report memory size in
-                * MB.  Stupid stupid IBM breaking thier own spec.
+                * MB.  Stupid stupid IBM breaking their own spec.
                 * on conformant machines, it is:
                 * The highest addressable real memory address byte+1
                 */
diff -r b446e32c32ba -r d4f68ad7c8e6 sys/dev/ic/smc91cxxreg.h
--- a/sys/dev/ic/smc91cxxreg.h  Wed Dec 08 20:21:09 2021 +0000
+++ b/sys/dev/ic/smc91cxxreg.h  Wed Dec 08 20:50:01 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: smc91cxxreg.h,v 1.5 2003/04/29 08:47:30 scw Exp $      */
+/*     $NetBSD: smc91cxxreg.h,v 1.6 2021/12/08 20:50:02 andvar Exp $   */
 
 /*
  * Copyright (c) 1996 Gardner Buchanan <gbuchanan%shl.com@localhost>
@@ -116,7 +116,7 @@
  * the Ethernet Protocol Handler jumbled together.  In auto-release
  * mode this information is simply discarded after each TX.  This info
  * is copied to the status word of in-memory packets after transmit
- * where relevent statuses can be checked.
+ * where relevant statuses can be checked.
  */
 #define        EPH_STATUS_REG_W 0x02
 
@@ -232,7 +232,7 @@
 
 /*
  * The contents of this port are used by the adapter
- * to decode its I/O address.  We use it as a varification
+ * to decode its I/O address.  We use it as a verification
  * that the adapter is detected properly when probing.
  */
 #define        BASE_ADDR_REG_W 0x02    /* The selected I/O Base addr. */
diff -r b446e32c32ba -r d4f68ad7c8e6 sys/dev/isa/if_le_isa.c
--- a/sys/dev/isa/if_le_isa.c   Wed Dec 08 20:21:09 2021 +0000
+++ b/sys/dev/isa/if_le_isa.c   Wed Dec 08 20:50:01 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_le_isa.c,v 1.51 2021/08/07 16:19:12 thorpej Exp $   */
+/*     $NetBSD: if_le_isa.c,v 1.52 2021/12/08 20:50:02 andvar Exp $    */
 
 /*-
  * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_le_isa.c,v 1.51 2021/08/07 16:19:12 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_le_isa.c,v 1.52 2021/12/08 20:50:02 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -348,7 +348,7 @@
        }
        if (bus_dmamap_load(dmat, lesc->sc_dmam,
                        sc->sc_mem, LE_ISA_MEMSIZE, NULL, BUS_DMA_NOWAIT)) {
-               aprint_error_dev(sc->sc_dev, "coundn't load DMA map\n");
+               aprint_error_dev(sc->sc_dev, "couldn't load DMA map\n");
                bus_dmamem_free(dmat, &seg, rseg);
                return;
        }
diff -r b446e32c32ba -r d4f68ad7c8e6 sys/dev/isapnp/if_le_isapnp.c
--- a/sys/dev/isapnp/if_le_isapnp.c     Wed Dec 08 20:21:09 2021 +0000
+++ b/sys/dev/isapnp/if_le_isapnp.c     Wed Dec 08 20:50:01 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_le_isapnp.c,v 1.35 2010/11/13 13:52:03 uebayasi Exp $       */
+/*     $NetBSD: if_le_isapnp.c,v 1.36 2021/12/08 20:50:02 andvar Exp $ */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -61,7 +61,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_le_isapnp.c,v 1.35 2010/11/13 13:52:03 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_le_isapnp.c,v 1.36 2021/12/08 20:50:02 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -220,7 +220,7 @@
        }
        if (bus_dmamap_load(dmat, lesc->sc_dmam,
            sc->sc_mem, LE_ISAPNP_MEMSIZE, NULL, BUS_DMA_NOWAIT)) {
-               aprint_error(": coundn't load DMA map\n");
+               aprint_error(": couldn't load DMA map\n");
                bus_dmamem_free(dmat, &seg, rseg);
                return;
        }
diff -r b446e32c32ba -r d4f68ad7c8e6 sys/dev/pcmcia/fdc_pcmcia.c
--- a/sys/dev/pcmcia/fdc_pcmcia.c       Wed Dec 08 20:21:09 2021 +0000
+++ b/sys/dev/pcmcia/fdc_pcmcia.c       Wed Dec 08 20:50:01 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fdc_pcmcia.c,v 1.22 2021/08/07 16:19:15 thorpej Exp $  */
+/*     $NetBSD: fdc_pcmcia.c,v 1.23 2021/12/08 20:50:02 andvar Exp $   */
 
 /*-
  * Copyright (c) 1998, 2004 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fdc_pcmcia.c,v 1.22 2021/08/07 16:19:15 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fdc_pcmcia.c,v 1.23 2021/12/08 20:50:02 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -168,7 +168,7 @@
        TAILQ_INIT(&fdc->sc_drives);
 
        if (!fdcfind(fdc->sc_iot, fdc->sc_ioh, 1))
-               aprint_error_dev(self, "coundn't find fdc\n");
+               aprint_error_dev(self, "couldn't find fdc\n");
 
        fdc_conf(fdc);
 
diff -r b446e32c32ba -r d4f68ad7c8e6 sys/dev/video.c
--- a/sys/dev/video.c   Wed Dec 08 20:21:09 2021 +0000
+++ b/sys/dev/video.c   Wed Dec 08 20:50:01 2021 +0000
@@ -1,4 +1,4 @@



Home | Main Index | Thread Index | Old Index