Module Name: src Committed By: andvar Date: Wed Dec 8 20:50:03 UTC 2021
Modified Files: src/include/arpa: nameser.h src/lib/libcurses: attributes.c src/lib/libresolv: res_findzonecut.c src/sys/arch/evbppc/explora/dev: le_elb.c src/sys/arch/mips/mips: sys_machdep.c src/sys/arch/powerpc/pci: pci_machdep_common.c src/sys/arch/rs6000/rs6000: machdep.c src/sys/dev: video.c src/sys/dev/ic: smc91cxxreg.h src/sys/dev/isa: if_le_isa.c src/sys/dev/isapnp: if_le_isapnp.c src/sys/dev/pcmcia: fdc_pcmcia.c src/sys/sys: wait.h src/tests/dev/audio: audiotest.c Log Message: fix various typos in comments and log messages. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/include/arpa/nameser.h cvs rdiff -u -r1.32 -r1.33 src/lib/libcurses/attributes.c cvs rdiff -u -r1.1 -r1.2 src/lib/libresolv/res_findzonecut.c cvs rdiff -u -r1.10 -r1.11 src/sys/arch/evbppc/explora/dev/le_elb.c cvs rdiff -u -r1.34 -r1.35 src/sys/arch/mips/mips/sys_machdep.c cvs rdiff -u -r1.24 -r1.25 src/sys/arch/powerpc/pci/pci_machdep_common.c cvs rdiff -u -r1.11 -r1.12 src/sys/arch/rs6000/rs6000/machdep.c cvs rdiff -u -r1.42 -r1.43 src/sys/dev/video.c cvs rdiff -u -r1.5 -r1.6 src/sys/dev/ic/smc91cxxreg.h cvs rdiff -u -r1.51 -r1.52 src/sys/dev/isa/if_le_isa.c cvs rdiff -u -r1.35 -r1.36 src/sys/dev/isapnp/if_le_isapnp.c cvs rdiff -u -r1.22 -r1.23 src/sys/dev/pcmcia/fdc_pcmcia.c cvs rdiff -u -r1.36 -r1.37 src/sys/sys/wait.h cvs rdiff -u -r1.16 -r1.17 src/tests/dev/audio/audiotest.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/include/arpa/nameser.h diff -u src/include/arpa/nameser.h:1.26 src/include/arpa/nameser.h:1.27 --- src/include/arpa/nameser.h:1.26 Sat Oct 10 19:51:48 2020 +++ src/include/arpa/nameser.h Wed Dec 8 20:50:01 2021 @@ -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 @@ typedef enum __ns_sect { } 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]; Index: src/lib/libcurses/attributes.c diff -u src/lib/libcurses/attributes.c:1.32 src/lib/libcurses/attributes.c:1.33 --- src/lib/libcurses/attributes.c:1.32 Mon Sep 6 07:03:49 2021 +++ src/lib/libcurses/attributes.c Wed Dec 8 20:50:01 2021 @@ -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 @@ __wattr_on(WINDOW *win, attr_t attr) 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 @@ __wattr_off(WINDOW *win, attr_t attr) 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; Index: src/lib/libresolv/res_findzonecut.c diff -u src/lib/libresolv/res_findzonecut.c:1.1 src/lib/libresolv/res_findzonecut.c:1.2 --- src/lib/libresolv/res_findzonecut.c:1.1 Thu Nov 15 18:48:48 2012 +++ src/lib/libresolv/res_findzonecut.c Wed Dec 8 20:50:01 2021 @@ -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 @@ static void res_dprintf(const char *, .. * 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. Index: src/sys/arch/evbppc/explora/dev/le_elb.c diff -u src/sys/arch/evbppc/explora/dev/le_elb.c:1.10 src/sys/arch/evbppc/explora/dev/le_elb.c:1.11 --- src/sys/arch/evbppc/explora/dev/le_elb.c:1.10 Tue Mar 2 12:01:02 2021 +++ src/sys/arch/evbppc/explora/dev/le_elb.c Wed Dec 8 20:50:02 2021 @@ -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 @@ le_elb_attach(device_t parent, device_t } 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; } Index: src/sys/arch/mips/mips/sys_machdep.c diff -u src/sys/arch/mips/mips/sys_machdep.c:1.34 src/sys/arch/mips/mips/sys_machdep.c:1.35 --- src/sys/arch/mips/mips/sys_machdep.c:1.34 Sun Feb 20 07:45:48 2011 +++ src/sys/arch/mips/mips/sys_machdep.c Wed Dec 8 20:50:02 2021 @@ -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 @@ mips_user_cacheflush(struct proc *p, vad * 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); Index: src/sys/arch/powerpc/pci/pci_machdep_common.c diff -u src/sys/arch/powerpc/pci/pci_machdep_common.c:1.24 src/sys/arch/powerpc/pci/pci_machdep_common.c:1.25 --- src/sys/arch/powerpc/pci/pci_machdep_common.c:1.24 Mon Jul 6 09:34:17 2020 +++ src/sys/arch/powerpc/pci/pci_machdep_common.c Wed Dec 8 20:50:02 2021 @@ -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> Index: src/sys/arch/rs6000/rs6000/machdep.c diff -u src/sys/arch/rs6000/rs6000/machdep.c:1.11 src/sys/arch/rs6000/rs6000/machdep.c:1.12 --- src/sys/arch/rs6000/rs6000/machdep.c:1.11 Thu Dec 22 14:47:59 2016 +++ src/sys/arch/rs6000/rs6000/machdep.c Wed Dec 8 20:50:02 2021 @@ -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 @@ initppc(u_long startkernel, u_long endke /* * 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 */ Index: src/sys/dev/video.c diff -u src/sys/dev/video.c:1.42 src/sys/dev/video.c:1.43 --- src/sys/dev/video.c:1.42 Mon Aug 9 21:38:04 2021 +++ src/sys/dev/video.c Wed Dec 8 20:50:02 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: video.c,v 1.42 2021/08/09 21:38:04 andvar Exp $ */ +/* $NetBSD: video.c,v 1.43 2021/12/08 20:50:02 andvar Exp $ */ /* * Copyright (c) 2008 Patrick Mahoney <p...@polycrystal.org> @@ -36,7 +36,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: video.c,v 1.42 2021/08/09 21:38:04 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: video.c,v 1.43 2021/12/08 20:50:02 andvar Exp $"); #include "video.h" #if NVIDEO > 0 @@ -136,7 +136,7 @@ struct video_stream { int vs_frameno; /* toggles between 0 and 1, * or -1 if new */ - uint32_t vs_sequence; /* absoulte frame/sample number in + uint32_t vs_sequence; /* absolute frame/sample number in * sequence, wraps around */ bool vs_drop; /* drop payloads from current * frameno? */ @@ -2378,7 +2378,7 @@ videommap(dev_t dev, off_t off, int prot } -/* Allocates buffers and initizlizes some fields. The format field +/* Allocates buffers and initializes some fields. The format field * must already have been initialized. */ void video_stream_init(struct video_stream *vs) Index: src/sys/dev/ic/smc91cxxreg.h diff -u src/sys/dev/ic/smc91cxxreg.h:1.5 src/sys/dev/ic/smc91cxxreg.h:1.6 --- src/sys/dev/ic/smc91cxxreg.h:1.5 Tue Apr 29 08:47:30 2003 +++ src/sys/dev/ic/smc91cxxreg.h Wed Dec 8 20:50:02 2021 @@ -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 <gbucha...@shl.com> @@ -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. */ Index: src/sys/dev/isa/if_le_isa.c diff -u src/sys/dev/isa/if_le_isa.c:1.51 src/sys/dev/isa/if_le_isa.c:1.52 --- src/sys/dev/isa/if_le_isa.c:1.51 Sat Aug 7 16:19:12 2021 +++ src/sys/dev/isa/if_le_isa.c Wed Dec 8 20:50:02 2021 @@ -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 @@ le_isa_attach(device_t parent, struct le } 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; } Index: src/sys/dev/isapnp/if_le_isapnp.c diff -u src/sys/dev/isapnp/if_le_isapnp.c:1.35 src/sys/dev/isapnp/if_le_isapnp.c:1.36 --- src/sys/dev/isapnp/if_le_isapnp.c:1.35 Sat Nov 13 13:52:03 2010 +++ src/sys/dev/isapnp/if_le_isapnp.c Wed Dec 8 20:50:02 2021 @@ -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 @@ le_isapnp_attach(device_t parent, device } 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; } Index: src/sys/dev/pcmcia/fdc_pcmcia.c diff -u src/sys/dev/pcmcia/fdc_pcmcia.c:1.22 src/sys/dev/pcmcia/fdc_pcmcia.c:1.23 --- src/sys/dev/pcmcia/fdc_pcmcia.c:1.22 Sat Aug 7 16:19:15 2021 +++ src/sys/dev/pcmcia/fdc_pcmcia.c Wed Dec 8 20:50:02 2021 @@ -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 @@ fdc_pcmcia_attach(device_t parent, devic 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); Index: src/sys/sys/wait.h diff -u src/sys/sys/wait.h:1.36 src/sys/sys/wait.h:1.37 --- src/sys/sys/wait.h:1.36 Tue Jul 3 22:38:33 2018 +++ src/sys/sys/wait.h Wed Dec 8 20:50:03 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: wait.h,v 1.36 2018/07/03 22:38:33 kamil Exp $ */ +/* $NetBSD: wait.h,v 1.37 2021/12/08 20:50:03 andvar Exp $ */ /* * Copyright (c) 1982, 1986, 1989, 1993, 1994 @@ -41,7 +41,7 @@ #include <sys/idtype.h> /* - * This file holds definitions relevent to the wait4 system call + * This file holds definitions relevant to the wait4 system call * and the alternate interfaces that use it (wait, wait3, waitpid). */ Index: src/tests/dev/audio/audiotest.c diff -u src/tests/dev/audio/audiotest.c:1.16 src/tests/dev/audio/audiotest.c:1.17 --- src/tests/dev/audio/audiotest.c:1.16 Sun Dec 5 07:30:51 2021 +++ src/tests/dev/audio/audiotest.c Wed Dec 8 20:50:03 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: audiotest.c,v 1.16 2021/12/05 07:30:51 msaitoh Exp $ */ +/* $NetBSD: audiotest.c,v 1.17 2021/12/08 20:50:03 andvar Exp $ */ /* * Copyright (C) 2019 Tetsuya Isaki. All rights reserved. @@ -26,7 +26,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: audiotest.c,v 1.16 2021/12/05 07:30:51 msaitoh Exp $"); +__RCSID("$NetBSD: audiotest.c,v 1.17 2021/12/08 20:50:03 andvar Exp $"); #include <errno.h> #include <fcntl.h> @@ -5929,7 +5929,7 @@ getenc_make_table(int fd, int expected[] * (e.g., encoding=AUDIO_ENCODING_PCM8, precision=16) but * it's due to historical reasons. * - It's incomplete for NetBSD7 and NetBSD8. I don't really - * understand thier rule... This is just memo, not specification. + * understand their rule... This is just memo, not specification. */ #define SET(x) do { \ if ((x) == 0) \