From f42f89fd6fc4d08451450f9b7ffa731678160f1c Mon Sep 17 00:00:00 2001 From: andvar Date: Sun, 22 May 2022 11:27:33 +0000 Subject: [PATCH] fix various small typos, mainly in comments. --- distrib/sets/comments | 4 ++-- etc/rc.subr | 4 ++-- games/trek/schedule.c | 6 +++--- lib/libc/net/rcmd.c | 6 +++--- sbin/newfs_udf/udf_core.c | 8 ++++---- sbin/ping/ping.c | 6 +++--- sys/arch/alpha/alpha/cpu.c | 6 +++--- sys/arch/alpha/alpha/fp_complete.c | 6 +++--- sys/arch/alpha/pci/cia.c | 6 +++--- sys/arch/amd64/include/reg.h | 4 ++-- sys/arch/arm/xscale/ixp425_if_npe.c | 6 +++--- sys/arch/bebox/stand/boot/siop.c | 4 ++-- sys/arch/powerpc/booke/copyout.c | 6 +++--- sys/arch/prep/prep/autoconf.c | 6 +++--- sys/arch/sparc/include/autoconf.h | 4 ++-- sys/arch/sparc64/sparc64/locore.s | 4 ++-- sys/arch/x86/x86/via_padlock.c | 8 ++++---- sys/compat/linux/common/linux_errno.h | 4 ++-- sys/compat/linux/common/linux_misc_notalpha.c | 6 +++--- sys/dev/acpi/acpi_tz.c | 6 +++--- sys/dev/i2c/sgp40.c | 6 +++--- sys/dev/ic/aic79xx.c | 8 ++++---- sys/dev/ic/lancereg.h | 4 ++-- sys/dev/ic/siop_common.c | 6 +++--- sys/dev/ieee1394/firewire.c | 6 +++--- sys/dev/midi.c | 6 +++--- sys/dev/pci/agp.c | 6 +++--- sys/dev/pci/bktr/bktr_core.h | 4 ++-- sys/dev/pcmcia/if_ray.c | 6 +++--- sys/dev/pcmcia/if_rayreg.h | 4 ++-- sys/dev/qbus/uda.c | 6 +++--- sys/fs/udf/udf_allocation.c | 6 +++--- sys/fs/v7fs/v7fs.h | 6 +++--- sys/fs/v7fs/v7fs_vnops.c | 6 +++--- sys/kern/kern_lwp.c | 6 +++--- sys/kern/vfs_vnops.c | 6 +++--- sys/net/if.c | 6 +++--- sys/netinet/dccp_tcplike.c | 6 +++--- sys/ufs/ext2fs/ext2fs_vfsops.c | 6 +++--- sys/ufs/ffs/ffs_wapbl.c | 6 +++--- tests/bin/sh/t_option.sh | 4 ++-- usr.bin/tip/tip.h | 4 ++-- usr.sbin/altq/libaltq/altq_qop.h | 4 ++-- usr.sbin/inetd/parse.c | 6 +++--- usr.sbin/mmcformat/mmcformat.c | 18 +++++++++--------- usr.sbin/mmcformat/uscsi_subr.c | 4 ++-- usr.sbin/sysinst/bsddisklabel.c | 4 ++-- usr.sbin/sysinst/defs.h | 4 ++-- usr.sbin/sysinst/partitions.h | 4 ++-- 49 files changed, 139 insertions(+), 139 deletions(-) diff --git a/distrib/sets/comments b/distrib/sets/comments index 8c5c053f0e05..b45abe9637e9 100644 --- a/distrib/sets/comments +++ b/distrib/sets/comments @@ -232,7 +232,7 @@ comp-objc-bin compilers and tools for the Objective C programming language comp-objc-lib static libraries and shared library links for the Objective C programming language comp-objc-piclib PIC libraries for Objective C language shared library generation comp-objc-proflib profiling libraries for the Objective C programming language -comp-nis-include Headers for bulding NIS applications +comp-nis-include Headers for building NIS applications comp-sys-catman formatted manual pages for kernel programming comp-sys-man manual pages source for kernel programming comp-sys-shlib shared library support for basic i386 math and utility libs @@ -425,7 +425,7 @@ man-timed-catman formatted manual pages for the timed(8) network time daemon man-timed-man manual pages source for the timed(8) network time daemon man-tn3270-catman formatted manual pages for utilities for connecting to IBM VM/CMS systems man-tn3270-man manual pages source for utilities for connecting to IBM VM/CMS systems -man-tpm-catman formated manual pages for the Trusted Platform Module utilities +man-tpm-catman formatted manual pages for the Trusted Platform Module utilities man-tpm-htmlman HTML documentation for the Trusted Platform Module utilities man-tpm-man documentation for the Trusted Platform Module utilities man-util-catman formatted manual pages for basic user utilities diff --git a/etc/rc.subr b/etc/rc.subr index 309542c55151..8bd6da5c396f 100644 --- a/etc/rc.subr +++ b/etc/rc.subr @@ -1,4 +1,4 @@ -# $NetBSD: rc.subr,v 1.110 2022/02/06 16:23:12 alnsn Exp $ +# $NetBSD: rc.subr,v 1.111 2022/05/22 11:27:33 andvar Exp $ # # Copyright (c) 1997-2011 The NetBSD Foundation, Inc. # All rights reserved. @@ -1327,7 +1327,7 @@ print_rc_normal() # treatment. # # The intent is that interactive commands can be run via -# no_rc_postprocess(), and their output will apear immediately +# no_rc_postprocess(), and their output will appear immediately # on the console instead of being hidden or delayed by the # post-processor. An unfortunate consequence of the output # bypassing the post-processor is that the output will not be diff --git a/games/trek/schedule.c b/games/trek/schedule.c index 89576f06ff93..2d9a04ffd599 100644 --- a/games/trek/schedule.c +++ b/games/trek/schedule.c @@ -1,4 +1,4 @@ -/* $NetBSD: schedule.c,v 1.11 2009/05/24 22:55:03 dholland Exp $ */ +/* $NetBSD: schedule.c,v 1.12 2022/05/22 11:27:33 andvar Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)schedule.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: schedule.c,v 1.11 2009/05/24 22:55:03 dholland Exp $"); +__RCSID("$NetBSD: schedule.c,v 1.12 2022/05/22 11:27:33 andvar Exp $"); #endif #endif /* not lint */ @@ -137,7 +137,7 @@ unschedule(struct event *e1) /* -** Abreviated schedule routine +** Abbreviated schedule routine ** ** Parameters are the event index and a factor for the time ** figure. diff --git a/lib/libc/net/rcmd.c b/lib/libc/net/rcmd.c index 130b39a7c93a..6293b75eea12 100644 --- a/lib/libc/net/rcmd.c +++ b/lib/libc/net/rcmd.c @@ -1,4 +1,4 @@ -/* $NetBSD: rcmd.c,v 1.71 2014/11/26 23:44:21 enami Exp $ */ +/* $NetBSD: rcmd.c,v 1.72 2022/05/22 11:27:33 andvar Exp $ */ /* * Copyright (c) 1983, 1993, 1994 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)rcmd.c 8.3 (Berkeley) 3/26/94"; #else -__RCSID("$NetBSD: rcmd.c,v 1.71 2014/11/26 23:44:21 enami Exp $"); +__RCSID("$NetBSD: rcmd.c,v 1.72 2022/05/22 11:27:33 andvar Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -1009,7 +1009,7 @@ __gethostloop(const struct sockaddr *raddr, socklen_t salen) } /* - * either the DNS adminstrator has made a configuration + * either the DNS administrator has made a configuration * mistake, or someone has attempted to spoof us */ syslog(LOG_NOTICE, "rcmd: address %s not listed for host %s", diff --git a/sbin/newfs_udf/udf_core.c b/sbin/newfs_udf/udf_core.c index c41716debb97..7918052983a6 100644 --- a/sbin/newfs_udf/udf_core.c +++ b/sbin/newfs_udf/udf_core.c @@ -1,4 +1,4 @@ -/* $NetBSD: udf_core.c,v 1.11 2022/05/15 20:37:50 andvar Exp $ */ +/* $NetBSD: udf_core.c,v 1.12 2022/05/22 11:27:33 andvar Exp $ */ /* * Copyright (c) 2006, 2008, 2021, 2022 Reinoud Zandijk @@ -30,7 +30,7 @@ #endif #include -__RCSID("$NetBSD: udf_core.c,v 1.11 2022/05/15 20:37:50 andvar Exp $"); +__RCSID("$NetBSD: udf_core.c,v 1.12 2022/05/22 11:27:33 andvar Exp $"); #include #include @@ -1682,7 +1682,7 @@ udf_register_bad_block(uint32_t location) free_sme = NULL; for (cnt = 0; cnt < layout.spareable_blocks; cnt++) { sme = &spt->entries[cnt]; - /* if we are allready in it, bail out */ + /* if we are already in it, bail out */ if (udf_rw32(sme->org) == location) return 0; if (udf_rw32(sme->org) == 0xffffffff) { @@ -1934,7 +1934,7 @@ udf_encode_symlink(uint8_t **pathbufp, uint32_t *pathlenp, char *target) } if (error) { - /* aparently too big */ + /* apparently too big */ free(pathbuf); return error; } diff --git a/sbin/ping/ping.c b/sbin/ping/ping.c index b8545d8e0eee..9e490d8a44b7 100644 --- a/sbin/ping/ping.c +++ b/sbin/ping/ping.c @@ -1,4 +1,4 @@ -/* $NetBSD: ping.c,v 1.119 2022/04/07 19:33:37 andvar Exp $ */ +/* $NetBSD: ping.c,v 1.120 2022/05/22 11:27:33 andvar Exp $ */ /* * Copyright (c) 1989, 1993 @@ -58,7 +58,7 @@ #include #ifndef lint -__RCSID("$NetBSD: ping.c,v 1.119 2022/04/07 19:33:37 andvar Exp $"); +__RCSID("$NetBSD: ping.c,v 1.120 2022/05/22 11:27:33 andvar Exp $"); #endif #include @@ -1387,7 +1387,7 @@ timespec_to_sec(const struct timespec *tp) * Heavily buffered STDIO is used here, so that all the statistics * will be written with 1 sys-write call. This is nice when more * than one copy of the program is running on a terminal; it prevents - * the statistics output from becomming intermingled. + * the statistics output from becoming intermingled. */ static void summary(int header) diff --git a/sys/arch/alpha/alpha/cpu.c b/sys/arch/alpha/alpha/cpu.c index 3bbf14f0dcf8..78c73e8ce8a1 100644 --- a/sys/arch/alpha/alpha/cpu.c +++ b/sys/arch/alpha/alpha/cpu.c @@ -1,4 +1,4 @@ -/* $NetBSD: cpu.c,v 1.106 2022/04/09 23:39:18 riastradh Exp $ */ +/* $NetBSD: cpu.c,v 1.107 2022/05/22 11:27:33 andvar Exp $ */ /*- * Copyright (c) 1998, 1999, 2000, 2001, 2020 The NetBSD Foundation, Inc. @@ -59,7 +59,7 @@ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.106 2022/04/09 23:39:18 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.107 2022/05/22 11:27:33 andvar Exp $"); #include "opt_ddb.h" #include "opt_multiprocessor.h" @@ -850,7 +850,7 @@ cpu_hatch(struct cpu_info *ci) /* * Invalidate the TLB and sync the I-stream before we * jump into the kernel proper. We have to do this - * beacause we haven't been getting IPIs while we've + * because we haven't been getting IPIs while we've * been spinning. */ ALPHA_TBIA(); diff --git a/sys/arch/alpha/alpha/fp_complete.c b/sys/arch/alpha/alpha/fp_complete.c index e730d440de10..f84f34a6f081 100644 --- a/sys/arch/alpha/alpha/fp_complete.c +++ b/sys/arch/alpha/alpha/fp_complete.c @@ -1,4 +1,4 @@ -/* $NetBSD: fp_complete.c,v 1.29 2021/12/08 20:21:09 andvar Exp $ */ +/* $NetBSD: fp_complete.c,v 1.30 2022/05/22 11:27:33 andvar Exp $ */ /*- * Copyright (c) 2001 Ross Harvey @@ -37,7 +37,7 @@ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: fp_complete.c,v 1.29 2021/12/08 20:21:09 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: fp_complete.c,v 1.30 2022/05/22 11:27:33 andvar Exp $"); #include #include @@ -703,7 +703,7 @@ alpha_fp_complete(u_long a0, u_long a1, struct lwp *l, uint64_t *ucode) /* * Start out with the code mirroring the exception flags - * (FP_X_*). Shift right 1 bit to discard SWC to achive + * (FP_X_*). Shift right 1 bit to discard SWC to achieve * this. */ *ucode = a0 >> 1; diff --git a/sys/arch/alpha/pci/cia.c b/sys/arch/alpha/pci/cia.c index 7ff5dfa6a9f5..31e4d03b05d0 100644 --- a/sys/arch/alpha/pci/cia.c +++ b/sys/arch/alpha/pci/cia.c @@ -1,4 +1,4 @@ -/* $NetBSD: cia.c,v 1.79 2021/08/07 16:18:41 thorpej Exp $ */ +/* $NetBSD: cia.c,v 1.80 2022/05/22 11:27:33 andvar Exp $ */ /*- * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc. @@ -61,7 +61,7 @@ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: cia.c,v 1.79 2021/08/07 16:18:41 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cia.c,v 1.80 2022/05/22 11:27:33 andvar Exp $"); #include #include @@ -179,7 +179,7 @@ cia_init(struct cia_config *ccp, int mallocsafe) /* * Use BWX iff: * - * - It hasn't been disbled by the user, + * - It hasn't been disabled by the user, * - it's enabled in CNFG, * - we're implementation version ev5, * - BWX is enabled in the CPU's capabilities mask diff --git a/sys/arch/amd64/include/reg.h b/sys/arch/amd64/include/reg.h index b7ca1dfe900b..85be51cf15f3 100644 --- a/sys/arch/amd64/include/reg.h +++ b/sys/arch/amd64/include/reg.h @@ -1,4 +1,4 @@ -/* $NetBSD: reg.h,v 1.10 2017/02/23 03:34:22 kamil Exp $ */ +/* $NetBSD: reg.h,v 1.11 2022/05/22 11:27:33 andvar Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -46,7 +46,7 @@ * Registers accessible to ptrace(2) syscall for debugger use. * Same as mcontext.__gregs (except that is 'unsigned long'). * NB this structure is no longer the same as 'struct trapframe', - * athough the array indexes are defined in the same place. + * although the array indexes are defined in the same place. */ struct reg { long regs[_NGREG]; diff --git a/sys/arch/arm/xscale/ixp425_if_npe.c b/sys/arch/arm/xscale/ixp425_if_npe.c index cd80bc890659..51e14f4a6dc3 100644 --- a/sys/arch/arm/xscale/ixp425_if_npe.c +++ b/sys/arch/arm/xscale/ixp425_if_npe.c @@ -1,4 +1,4 @@ -/* $NetBSD: ixp425_if_npe.c,v 1.50 2021/12/31 14:25:22 riastradh Exp $ */ +/* $NetBSD: ixp425_if_npe.c,v 1.51 2022/05/22 11:27:34 andvar Exp $ */ /*- * Copyright (c) 2006 Sam Leffler. All rights reserved. @@ -28,7 +28,7 @@ #if 0 __FBSDID("$FreeBSD: src/sys/arm/xscale/ixp425/if_npe.c,v 1.1 2006/11/19 23:55:23 sam Exp $"); #endif -__KERNEL_RCSID(0, "$NetBSD: ixp425_if_npe.c,v 1.50 2021/12/31 14:25:22 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ixp425_if_npe.c,v 1.51 2022/05/22 11:27:34 andvar Exp $"); /* * Intel XScale NPE Ethernet driver. @@ -1445,7 +1445,7 @@ npeioctl(struct ifnet *ifp, u_long cmd, void *data) & (IFF_PROMISC | IFF_ALLMULTI); if ((diff & (IFF_PROMISC | IFF_ALLMULTI)) != 0) { /* - * If the difference bettween last flag and + * If the difference between last flag and * new flag only IFF_PROMISC or IFF_ALLMULTI, * set multicast filter only (don't reset to * prevent link down). diff --git a/sys/arch/bebox/stand/boot/siop.c b/sys/arch/bebox/stand/boot/siop.c index b607dfd7abb8..a7f75f73502d 100644 --- a/sys/arch/bebox/stand/boot/siop.c +++ b/sys/arch/bebox/stand/boot/siop.c @@ -1,4 +1,4 @@ -/* $NetBSD: siop.c,v 1.8 2022/01/01 13:47:19 andvar Exp $ */ +/* $NetBSD: siop.c,v 1.9 2022/05/22 11:27:34 andvar Exp $ */ /* * Copyright (c) 2010 KIYOHARA Takashi * All rights reserved. @@ -188,7 +188,7 @@ siop_sdp(struct siop_adapter *adp, struct siop_xfer *xfer, struct scsi_xfer *xs, */ /* - * before doing that we decrease resid from the ammount of data which + * before doing that we decrease resid from the amount of data which * has been transferred. */ siop_update_resid(adp, xfer, xs, offset); diff --git a/sys/arch/powerpc/booke/copyout.c b/sys/arch/powerpc/booke/copyout.c index a974e9b4c384..67204efded22 100644 --- a/sys/arch/powerpc/booke/copyout.c +++ b/sys/arch/powerpc/booke/copyout.c @@ -1,4 +1,4 @@ -/* $NetBSD: copyout.c,v 1.9 2020/07/06 09:34:16 rin Exp $ */ +/* $NetBSD: copyout.c,v 1.10 2022/05/22 11:27:34 andvar Exp $ */ /*- * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ #define __UFETCHSTORE_PRIVATE #include -__KERNEL_RCSID(0, "$NetBSD: copyout.c,v 1.9 2020/07/06 09:34:16 rin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: copyout.c,v 1.10 2022/05/22 11:27:34 andvar Exp $"); #include #include @@ -443,7 +443,7 @@ out: return rv; } #else -/* XXX This version of copyoutstr(9) has never beeen enabled so far. */ +/* XXX This version of copyoutstr(9) has never been enabled so far. */ int copyoutstr(const void *ksaddr, void *udaddr, size_t len, size_t *lenp) { diff --git a/sys/arch/prep/prep/autoconf.c b/sys/arch/prep/prep/autoconf.c index b079f6e8a741..6fafdf2c15ed 100644 --- a/sys/arch/prep/prep/autoconf.c +++ b/sys/arch/prep/prep/autoconf.c @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.c,v 1.28 2014/10/18 08:33:26 snj Exp $ */ +/* $NetBSD: autoconf.c,v 1.29 2022/05/22 11:27:34 andvar Exp $ */ /*- * Copyright (c) 2006 The NetBSD Foundation, Inc. @@ -34,7 +34,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.28 2014/10/18 08:33:26 snj Exp $"); +__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.29 2022/05/22 11:27:34 andvar Exp $"); #include #include @@ -296,7 +296,7 @@ build_fwpath(void) for (dev = deviter_first(&di, DEVITER_F_ROOT_FIRST); dev != NULL; dev = deviter_next(&di)) { - /* skip the ones we allready computed above */ + /* skip the ones we already computed above */ if (device_is_a(dev, "pci") || device_is_a(dev, "pcib") || device_is_a(dev, "pceb") || device_is_a(dev, "isa") || device_is_a(dev, "ppb")) diff --git a/sys/arch/sparc/include/autoconf.h b/sys/arch/sparc/include/autoconf.h index 24b0c99eefd6..05f894a56ce7 100644 --- a/sys/arch/sparc/include/autoconf.h +++ b/sys/arch/sparc/include/autoconf.h @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.h,v 1.50 2021/01/24 07:36:54 mrg Exp $ */ +/* $NetBSD: autoconf.h,v 1.51 2022/05/22 11:27:34 andvar Exp $ */ /*- * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc. @@ -103,7 +103,7 @@ struct rom_intr { uint32_t int_vec; /* vector (always 0?) */ }; -/* Address translation accross busses */ +/* Address translation across busses */ struct rom_range { /* Only used on v3 PROMs */ uint32_t cspace; /* Client space */ uint32_t coffset; /* Client offset */ diff --git a/sys/arch/sparc64/sparc64/locore.s b/sys/arch/sparc64/sparc64/locore.s index fe1072c6dc47..6d6e7e9e8916 100644 --- a/sys/arch/sparc64/sparc64/locore.s +++ b/sys/arch/sparc64/sparc64/locore.s @@ -1,4 +1,4 @@ -/* $NetBSD: locore.s,v 1.428 2022/05/16 21:28:05 mrg Exp $ */ +/* $NetBSD: locore.s,v 1.429 2022/05/22 11:27:34 andvar Exp $ */ /* * Copyright (c) 2006-2010 Matthew R. Green @@ -4438,7 +4438,7 @@ sun4v_dev_mondo: add %g2, 64, %g2 ! each element is 64 bytes and %g2, 0x7ff, %g2 ! assume 32 elements mov 0x3d0, %g1 ! Dev Mondo Queue Head - stxa %g2, [%g1] ASI_QUEUE ! ajust head index value + stxa %g2, [%g1] ASI_QUEUE ! adjust head index value membar #Sync cmp %g5, MAXINTNUM ! Handle both sun4v legacy (sysino) and cookies. diff --git a/sys/arch/x86/x86/via_padlock.c b/sys/arch/x86/x86/via_padlock.c index b49b4084ff43..579bedae2665 100644 --- a/sys/arch/x86/x86/via_padlock.c +++ b/sys/arch/x86/x86/via_padlock.c @@ -1,5 +1,5 @@ /* $OpenBSD: via.c,v 1.8 2006/11/17 07:47:56 tom Exp $ */ -/* $NetBSD: via_padlock.c,v 1.31 2020/06/29 23:58:44 riastradh Exp $ */ +/* $NetBSD: via_padlock.c,v 1.32 2022/05/22 11:27:34 andvar Exp $ */ /*- * Copyright (c) 2003 Jason Wright @@ -20,7 +20,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: via_padlock.c,v 1.31 2020/06/29 23:58:44 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: via_padlock.c,v 1.32 2022/05/22 11:27:34 andvar Exp $"); #include #include @@ -99,10 +99,10 @@ via_c3_ace_init(struct via_padlock_softc *sc) * * * XXX We should actually implement the HMAC modes this hardware - * XXX can accellerate (wrap its plain SHA1/SHA2 as HMAC) and + * XXX can accelerate (wrap its plain SHA1/SHA2 as HMAC) and * XXX strongly consider removing those passed through to cryptosoft. * XXX As it stands, we can "steal" sessions from drivers which could - * XXX better accellerate them. + * XXX better accelerate them. * * XXX Note the ordering dependency between when this (or any * XXX crypto driver) attaches and when cryptosoft does. We are diff --git a/sys/compat/linux/common/linux_errno.h b/sys/compat/linux/common/linux_errno.h index c846286c63c1..1d0b2277cc3e 100644 --- a/sys/compat/linux/common/linux_errno.h +++ b/sys/compat/linux/common/linux_errno.h @@ -1,4 +1,4 @@ -/* $NetBSD: linux_errno.h,v 1.16 2021/09/23 06:56:27 ryo Exp $ */ +/* $NetBSD: linux_errno.h,v 1.17 2022/05/22 11:27:34 andvar Exp $ */ /*- * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc. @@ -69,7 +69,7 @@ /* Error numbers after here vary wildly */ -/* depending on the machine architechture. */ +/* depending on the machine architecture. */ #if defined(__i386__) #include #elif defined(__mips__) diff --git a/sys/compat/linux/common/linux_misc_notalpha.c b/sys/compat/linux/common/linux_misc_notalpha.c index 263cdc5ca38c..f06b90404ca6 100644 --- a/sys/compat/linux/common/linux_misc_notalpha.c +++ b/sys/compat/linux/common/linux_misc_notalpha.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_misc_notalpha.c,v 1.114 2021/11/25 03:08:04 ryo Exp $ */ +/* $NetBSD: linux_misc_notalpha.c,v 1.115 2022/05/22 11:27:34 andvar Exp $ */ /*- * Copyright (c) 1995, 1998, 2008, 2020 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_misc_notalpha.c,v 1.114 2021/11/25 03:08:04 ryo Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_misc_notalpha.c,v 1.115 2022/05/22 11:27:34 andvar Exp $"); /* * Note that we must NOT include "opt_compat_linux32.h" here, @@ -72,7 +72,7 @@ __KERNEL_RCSID(0, "$NetBSD: linux_misc_notalpha.c,v 1.114 2021/11/25 03:08:04 ry /* * This file contains routines which are used - * on every linux architechture except the Alpha. + * on every linux architecture except the Alpha. */ /* Used on: arm, aarch64, i386, m68k, mips, ppc, sparc, sparc64 */ diff --git a/sys/dev/acpi/acpi_tz.c b/sys/dev/acpi/acpi_tz.c index 91aea290dbb5..4906dcd97d47 100644 --- a/sys/dev/acpi/acpi_tz.c +++ b/sys/dev/acpi/acpi_tz.c @@ -1,4 +1,4 @@ -/* $NetBSD: acpi_tz.c,v 1.90 2019/04/21 21:52:09 mrg Exp $ */ +/* $NetBSD: acpi_tz.c,v 1.91 2022/05/22 11:27:35 andvar Exp $ */ /* * Copyright (c) 2003 Jared D. McNeill @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: acpi_tz.c,v 1.90 2019/04/21 21:52:09 mrg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: acpi_tz.c,v 1.91 2022/05/22 11:27:35 andvar Exp $"); #include #include @@ -616,7 +616,7 @@ acpitz_notify_handler(ACPI_HANDLE hdl, uint32_t notify, void *opaque) static void acpitz_sane_temp(uint32_t *tmp) { - /* Sane temperatures are beteen 0 and 150 C. */ + /* Sane temperatures are between 0 and 150 C. */ if (*tmp < ATZ_ZEROC || *tmp > ATZ_ZEROC + 1500) *tmp = ATZ_TMP_INVALID; } diff --git a/sys/dev/i2c/sgp40.c b/sys/dev/i2c/sgp40.c index eb5b002d1ee5..335ba85aefe3 100644 --- a/sys/dev/i2c/sgp40.c +++ b/sys/dev/i2c/sgp40.c @@ -1,4 +1,4 @@ -/* $NetBSD: sgp40.c,v 1.3 2022/03/30 00:06:50 pgoyette Exp $ */ +/* $NetBSD: sgp40.c,v 1.4 2022/05/22 11:27:35 andvar Exp $ */ /* * Copyright (c) 2021 Brad Spencer @@ -17,7 +17,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sgp40.c,v 1.3 2022/03/30 00:06:50 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sgp40.c,v 1.4 2022/05/22 11:27:35 andvar Exp $"); /* Driver for the Sensirion SGP40 MOx gas sensor for air quality @@ -229,7 +229,7 @@ sgp40_take_measurement(void *aux, VocAlgorithmParams* params) args[5] = sgp40_crc(&args[3], 2); /* - * The VOC algoritm has a black out time when it first starts to run + * The VOC algorithm has a black out time when it first starts to run * and does not return any indicator that is going on, so voc_index * in that case would be 0.. however, that is also a valid response * otherwise, although an unlikely one. diff --git a/sys/dev/ic/aic79xx.c b/sys/dev/ic/aic79xx.c index e24486f3e521..91eddab0cc97 100644 --- a/sys/dev/ic/aic79xx.c +++ b/sys/dev/ic/aic79xx.c @@ -1,4 +1,4 @@ -/* $NetBSD: aic79xx.c,v 1.66 2022/04/16 17:34:34 andvar Exp $ */ +/* $NetBSD: aic79xx.c,v 1.67 2022/05/22 11:27:35 andvar Exp $ */ /* * Core routines and tables shareable across OS platforms. @@ -49,7 +49,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: aic79xx.c,v 1.66 2022/04/16 17:34:34 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aic79xx.c,v 1.67 2022/05/22 11:27:35 andvar Exp $"); #include #include @@ -5276,7 +5276,7 @@ ahd_reset(struct ahd_softc *ahd, int reinit) * does not disable its parity logic prior to * the start of the reset. This may cause a * parity error to be detected and thus a - * spurious SERR or PERR assertion. Disble + * spurious SERR or PERR assertion. Disable * PERR and SERR responses during the CHIPRST. */ mod_cmd = cmd & @@ -6019,7 +6019,7 @@ ahd_init(struct ahd_softc *ahd) M_DEVBUF, M_WAITOK | M_ZERO); /* - * Verify that the compiler hasn't over-agressively + * Verify that the compiler hasn't over-aggressively * padded important structures. */ if (sizeof(struct hardware_scb) != 64) diff --git a/sys/dev/ic/lancereg.h b/sys/dev/ic/lancereg.h index 60fcc0dbf19c..3b9d7bd86ac4 100644 --- a/sys/dev/ic/lancereg.h +++ b/sys/dev/ic/lancereg.h @@ -1,4 +1,4 @@ -/* $NetBSD: lancereg.h,v 1.14 2020/04/08 04:32:14 msaitoh Exp $ */ +/* $NetBSD: lancereg.h,v 1.15 2022/05/22 11:27:35 andvar Exp $ */ /*- * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc. @@ -565,7 +565,7 @@ #define LE_MODE_PROM 0x8000 /* promiscuous mode */ /* 0x7f80 reserved, must be zero */ /* 0x4000 - 0x0080 are not available on LANCE 7990 */ -#define LE_MODE_DRCVBC 0x4000 /* disable receive brodcast */ +#define LE_MODE_DRCVBC 0x4000 /* disable receive broadcast */ #define LE_MODE_DRCVPA 0x2000 /* disable physical address detection */ #define LE_MODE_DLNKTST 0x1000 /* disable link status */ #define LE_MODE_DAPC 0x0800 /* disable automatic polarity correction */ diff --git a/sys/dev/ic/siop_common.c b/sys/dev/ic/siop_common.c index 55ae0c67bcb7..6a293e2b4668 100644 --- a/sys/dev/ic/siop_common.c +++ b/sys/dev/ic/siop_common.c @@ -1,4 +1,4 @@ -/* $NetBSD: siop_common.c,v 1.55 2019/12/27 09:41:50 msaitoh Exp $ */ +/* $NetBSD: siop_common.c,v 1.56 2022/05/22 11:27:35 andvar Exp $ */ /* * Copyright (c) 2000, 2002 Manuel Bouyer. @@ -28,7 +28,7 @@ /* SYM53c7/8xx PCI-SCSI I/O Processors driver */ #include -__KERNEL_RCSID(0, "$NetBSD: siop_common.c,v 1.55 2019/12/27 09:41:50 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: siop_common.c,v 1.56 2022/05/22 11:27:35 andvar Exp $"); #include #include @@ -820,7 +820,7 @@ siop_sdp(struct siop_common_cmd *siop_cmd, int offset) */ /* - * before doing that we decrease resid from the ammount of data which + * before doing that we decrease resid from the amount of data which * has been transferred. */ siop_update_resid(siop_cmd, offset); diff --git a/sys/dev/ieee1394/firewire.c b/sys/dev/ieee1394/firewire.c index 922fb8ea0f92..88d78b2b428f 100644 --- a/sys/dev/ieee1394/firewire.c +++ b/sys/dev/ieee1394/firewire.c @@ -1,4 +1,4 @@ -/* $NetBSD: firewire.c,v 1.54 2021/12/20 19:56:42 riastradh Exp $ */ +/* $NetBSD: firewire.c,v 1.55 2022/05/22 11:27:35 andvar Exp $ */ /*- * Copyright (c) 2003 Hidetoshi Shimokawa * Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa @@ -37,7 +37,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: firewire.c,v 1.54 2021/12/20 19:56:42 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: firewire.c,v 1.55 2022/05/22 11:27:35 andvar Exp $"); #include #include @@ -1787,7 +1787,7 @@ fw_explore_node(struct fw_device *dfwdev) * speed map value. * 1394a-2000 compliant devices only use * the Bus Info Block link spd value, so - * ignore the speed map alltogether. SWB + * ignore the speed map altogether. SWB */ if (binfo->link_spd == FWSPD_S100 /* 0 */) { aprint_normal_dev(fc->bdev, diff --git a/sys/dev/midi.c b/sys/dev/midi.c index 05b7d78a23b4..bf2e5cd67f99 100644 --- a/sys/dev/midi.c +++ b/sys/dev/midi.c @@ -1,4 +1,4 @@ -/* $NetBSD: midi.c,v 1.96 2022/03/31 19:30:15 pgoyette Exp $ */ +/* $NetBSD: midi.c,v 1.97 2022/05/22 11:27:35 andvar Exp $ */ /* * Copyright (c) 1998, 2008 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: midi.c,v 1.96 2022/03/31 19:30:15 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: midi.c,v 1.97 2022/05/22 11:27:35 andvar Exp $"); #ifdef _KERNEL_OPT #include "midi.h" @@ -420,7 +420,7 @@ static struct { * meaningless) outside of a System Exclusive message, anywhere a status byte * could appear. Second, it is allowed to be absent at the end of a System * Exclusive message (!) - any status byte at all (non-realtime) is allowed to - * terminate the message. Both require accomodation in the interface to + * terminate the message. Both require accommodation in the interface to * midi_fst's caller. A stray 0xf7 should be ignored BUT should count as a * message received for purposes of Active Sense timeout; the case is * represented by a return of FST_COM with a length of zero (pos == end). A diff --git a/sys/dev/pci/agp.c b/sys/dev/pci/agp.c index 385591f20ceb..8714bed22f0f 100644 --- a/sys/dev/pci/agp.c +++ b/sys/dev/pci/agp.c @@ -1,4 +1,4 @@ -/* $NetBSD: agp.c,v 1.87 2019/11/10 21:16:36 chs Exp $ */ +/* $NetBSD: agp.c,v 1.88 2022/05/22 11:27:35 andvar Exp $ */ /*- * Copyright (c) 2000 Doug Rabson @@ -65,7 +65,7 @@ #include -__KERNEL_RCSID(0, "$NetBSD: agp.c,v 1.87 2019/11/10 21:16:36 chs Exp $"); +__KERNEL_RCSID(0, "$NetBSD: agp.c,v 1.88 2022/05/22 11:27:35 andvar Exp $"); #include #include @@ -698,7 +698,7 @@ agp_generic_bind_memory_bounded(struct agp_softc *sc, struct agp_memory *mem, /* * XXXfvdl - * The memory here needs to be directly accessable from the + * The memory here needs to be directly accessible from the * AGP video card, so it should be allocated using bus_dma. * However, it need not be contiguous, since individual pages * are translated using the GATT. diff --git a/sys/dev/pci/bktr/bktr_core.h b/sys/dev/pci/bktr/bktr_core.h index fe87c85c7f23..875c7d7298b9 100644 --- a/sys/dev/pci/bktr/bktr_core.h +++ b/sys/dev/pci/bktr/bktr_core.h @@ -1,6 +1,6 @@ /* $SourceForge: bktr_core.h,v 1.3 2003/03/11 23:11:23 thomasklausner Exp $ */ -/* $NetBSD: bktr_core.h,v 1.11 2021/12/19 22:03:41 andvar Exp $ */ +/* $NetBSD: bktr_core.h,v 1.12 2022/05/22 11:27:35 andvar Exp $ */ /* $FreeBSD: src/sys/dev/bktr/bktr_core.h,v 1.4 2000/06/26 09:41:32 roger Exp$ */ /* @@ -74,7 +74,7 @@ void msp_dpl_write(bktr_ptr_t bktr, int i2c_addr, unsigned char dev, /* device name for printf */ const char *bktr_name(bktr_ptr_t bktr); -/* Prototypes for attatch and interrupt functions */ +/* Prototypes for attach and interrupt functions */ int common_bktr_attach(bktr_ptr_t bktr, int unit, u_int pci_id, u_int rev); int common_bktr_intr(void *arg); diff --git a/sys/dev/pcmcia/if_ray.c b/sys/dev/pcmcia/if_ray.c index 076ce436a33b..6f219cfba26d 100644 --- a/sys/dev/pcmcia/if_ray.c +++ b/sys/dev/pcmcia/if_ray.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_ray.c,v 1.98 2020/02/04 05:46:32 thorpej Exp $ */ +/* $NetBSD: if_ray.c,v 1.99 2022/05/22 11:27:35 andvar Exp $ */ /* * Copyright (c) 2000 Christian E. Hopps @@ -57,7 +57,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_ray.c,v 1.98 2020/02/04 05:46:32 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_ray.c,v 1.99 2022/05/22 11:27:35 andvar Exp $"); #include "opt_inet.h" @@ -111,7 +111,7 @@ __KERNEL_RCSID(0, "$NetBSD: if_ray.c,v 1.98 2020/02/04 05:46:32 thorpej Exp $"); #define RAY_CHECK_CCS_TIMEOUT (hz / 2) #endif -/* ammount of time to consider start/join failed */ +/* amount of time to consider start/join failed */ #ifndef RAY_START_TIMEOUT #define RAY_START_TIMEOUT (30 * hz) #endif diff --git a/sys/dev/pcmcia/if_rayreg.h b/sys/dev/pcmcia/if_rayreg.h index 849d36d205d5..f68727845faf 100644 --- a/sys/dev/pcmcia/if_rayreg.h +++ b/sys/dev/pcmcia/if_rayreg.h @@ -1,4 +1,4 @@ -/* $NetBSD: if_rayreg.h,v 1.11 2015/09/06 06:01:00 dholland Exp $ */ +/* $NetBSD: if_rayreg.h,v 1.12 2022/05/22 11:27:35 andvar Exp $ */ /* * Copyright (c) 2000 Christian E. Hopps * All rights reserved. @@ -201,7 +201,7 @@ struct ray_startup_params_head { /*2c*/ u_int8_t sp_dwell_time[2]; /*2e*/ u_int8_t sp_beacon_period[2]; /*30*/ u_int8_t sp_dtim_interval; -/*31*/ u_int8_t sp_max_retry; /* number of times to attemp tx */ +/*31*/ u_int8_t sp_max_retry; /* number of times to attempt tx */ /*32*/ u_int8_t sp_ack_timo; /*33*/ u_int8_t sp_sifs; /*34*/ u_int8_t sp_difs; diff --git a/sys/dev/qbus/uda.c b/sys/dev/qbus/uda.c index 2aa07e8b385c..8cab6d86ec17 100644 --- a/sys/dev/qbus/uda.c +++ b/sys/dev/qbus/uda.c @@ -1,4 +1,4 @@ -/* $NetBSD: uda.c,v 1.63 2021/08/07 16:19:15 thorpej Exp $ */ +/* $NetBSD: uda.c,v 1.64 2022/05/22 11:27:35 andvar Exp $ */ /* * Copyright (c) 1988 Regents of the University of California. * All rights reserved. @@ -66,7 +66,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: uda.c,v 1.63 2021/08/07 16:19:15 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uda.c,v 1.64 2022/05/22 11:27:35 andvar Exp $"); #include #include @@ -233,7 +233,7 @@ udaattach(device_t parent, device_t self, void *aux) /* * The only thing that differ UDA's and Tape ctlr's is - * their vcid. Beacuse there are no way to determine which + * their vcid. Because there are no way to determine which * ctlr type it is, we check what is generated and later * set the correct vcid. */ diff --git a/sys/fs/udf/udf_allocation.c b/sys/fs/udf/udf_allocation.c index a2c0f63e62f1..0636ec4c6def 100644 --- a/sys/fs/udf/udf_allocation.c +++ b/sys/fs/udf/udf_allocation.c @@ -1,4 +1,4 @@ -/* $NetBSD: udf_allocation.c,v 1.46 2022/02/03 09:46:26 reinoud Exp $ */ +/* $NetBSD: udf_allocation.c,v 1.47 2022/05/22 11:27:36 andvar Exp $ */ /* * Copyright (c) 2006, 2008 Reinoud Zandijk @@ -28,7 +28,7 @@ #include #ifndef lint -__KERNEL_RCSID(0, "$NetBSD: udf_allocation.c,v 1.46 2022/02/03 09:46:26 reinoud Exp $"); +__KERNEL_RCSID(0, "$NetBSD: udf_allocation.c,v 1.47 2022/05/22 11:27:36 andvar Exp $"); #endif /* not lint */ @@ -1657,7 +1657,7 @@ udf_late_allocate_buf(struct udf_mount *ump, struct buf *buf, vpart_num = *vpart_nump = udf_get_record_vpart(ump, udf_c_type); if (udf_c_type == UDF_C_NODE) { - /* if not VAT, its allready allocated */ + /* if not VAT, its already allocated */ if (ump->vtop_alloc[ump->node_part] != UDF_ALLOC_VAT) return; diff --git a/sys/fs/v7fs/v7fs.h b/sys/fs/v7fs/v7fs.h index c35bacecc8e2..dc4eab083722 100644 --- a/sys/fs/v7fs/v7fs.h +++ b/sys/fs/v7fs/v7fs.h @@ -1,4 +1,4 @@ -/* $NetBSD: v7fs.h,v 1.2 2011/07/16 12:35:40 uch Exp $ */ +/* $NetBSD: v7fs.h,v 1.3 2022/05/22 11:27:36 andvar Exp $ */ /*- * Copyright (c) 2011 The NetBSD Foundation, Inc. @@ -169,10 +169,10 @@ struct v7fs_inode_diskimage { /* Obsoleted file type. */ #define V7FS_IFMPC 0030000 /* multiplexed char special */ #define V7FS_IFMPB 0070000 /* multiplexed block special */ -/* Don't apear original V7 filesystem. Found at 2.10BSD. */ +/* Don't appear original V7 filesystem. Found at 2.10BSD. */ #define V7FSBSD_IFLNK 0120000 /* symbolic link */ #define V7FSBSD_IFSOCK 0140000 /* socket */ -/* Don't apear original V7 filesystem. NetBSD. */ +/* Don't appear original V7 filesystem. NetBSD. */ #define V7FSBSD_IFFIFO 0010000 /* Named pipe. */ #define V7FSBSD_MAXSYMLINKLEN V7FS_BSIZE diff --git a/sys/fs/v7fs/v7fs_vnops.c b/sys/fs/v7fs/v7fs_vnops.c index 4ca6f44c2a93..6814c9b3d0c2 100644 --- a/sys/fs/v7fs/v7fs_vnops.c +++ b/sys/fs/v7fs/v7fs_vnops.c @@ -1,4 +1,4 @@ -/* $NetBSD: v7fs_vnops.c,v 1.36 2022/03/30 12:45:58 christos Exp $ */ +/* $NetBSD: v7fs_vnops.c,v 1.37 2022/05/22 11:27:36 andvar Exp $ */ /*- * Copyright (c) 2004, 2011 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: v7fs_vnops.c,v 1.36 2022/03/30 12:45:58 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: v7fs_vnops.c,v 1.37 2022/05/22 11:27:36 andvar Exp $"); #if defined _KERNEL_OPT #include "opt_v7fs.h" #endif @@ -430,7 +430,7 @@ v7fs_getattr(void *v) vap->va_fileid = inode->inode_number; vap->va_size = vp->v_size; if (vp->v_type == VLNK) { - /* Ajust for trailing NUL. */ + /* Adjust for trailing NUL. */ KASSERT(vap->va_size > 0); vap->va_size -= 1; } diff --git a/sys/kern/kern_lwp.c b/sys/kern/kern_lwp.c index 9c2e7b80faea..efc452a15afa 100644 --- a/sys/kern/kern_lwp.c +++ b/sys/kern/kern_lwp.c @@ -1,4 +1,4 @@ -/* $NetBSD: kern_lwp.c,v 1.249 2022/05/07 19:44:40 mrg Exp $ */ +/* $NetBSD: kern_lwp.c,v 1.250 2022/05/22 11:27:36 andvar Exp $ */ /*- * Copyright (c) 2001, 2006, 2007, 2008, 2009, 2019, 2020 @@ -217,7 +217,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: kern_lwp.c,v 1.249 2022/05/07 19:44:40 mrg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kern_lwp.c,v 1.250 2022/05/22 11:27:36 andvar Exp $"); #include "opt_ddb.h" #include "opt_lockdebug.h" @@ -837,7 +837,7 @@ lwp_create(lwp_t *l1, proc_t *p2, vaddr_t uaddr, int flags, /* * Allocate a process ID for this LWP. We need to do this now - * while we can still unwind if it fails. Beacuse we're marked + * while we can still unwind if it fails. Because we're marked * as LSIDL, no lookups by the ID will succeed. * * N.B. this will always succeed for the first LWP in a process, diff --git a/sys/kern/vfs_vnops.c b/sys/kern/vfs_vnops.c index 1b64b9462af8..e750b8498ccd 100644 --- a/sys/kern/vfs_vnops.c +++ b/sys/kern/vfs_vnops.c @@ -1,4 +1,4 @@ -/* $NetBSD: vfs_vnops.c,v 1.227 2022/03/25 08:57:15 hannken Exp $ */ +/* $NetBSD: vfs_vnops.c,v 1.228 2022/05/22 11:27:36 andvar Exp $ */ /*- * Copyright (c) 2009 The NetBSD Foundation, Inc. @@ -66,7 +66,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: vfs_vnops.c,v 1.227 2022/03/25 08:57:15 hannken Exp $"); +__KERNEL_RCSID(0, "$NetBSD: vfs_vnops.c,v 1.228 2022/05/22 11:27:36 andvar Exp $"); #include "veriexec.h" @@ -1446,7 +1446,7 @@ vn_knote_detach(struct vnode *vp, struct knote *kn) int interest = 0; /* - * We special case removing the head of the list, beacuse: + * We special case removing the head of the list, because: * * 1. It's extremely likely that we're detaching the only * knote. diff --git a/sys/net/if.c b/sys/net/if.c index de37d26161d2..78130415225f 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -1,4 +1,4 @@ -/* $NetBSD: if.c,v 1.504 2022/05/11 14:58:01 andvar Exp $ */ +/* $NetBSD: if.c,v 1.505 2022/05/22 11:27:36 andvar Exp $ */ /*- * Copyright (c) 1999, 2000, 2001, 2008 The NetBSD Foundation, Inc. @@ -90,7 +90,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.504 2022/05/11 14:58:01 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.505 2022/05/22 11:27:36 andvar Exp $"); #if defined(_KERNEL_OPT) #include "opt_inet.h" @@ -3824,7 +3824,7 @@ if_do_dad(struct ifnet *ifp) /* * Our DAD routine requires the interface up and running. * However, some interfaces can be up before the RUNNING - * status. Additionaly, users may try to assign addresses + * status. Additionally, users may try to assign addresses * before the interface becomes up (or running). * We simply skip DAD in such a case as a work around. * XXX: we should rather mark "tentative" on such addresses, diff --git a/sys/netinet/dccp_tcplike.c b/sys/netinet/dccp_tcplike.c index 980d752dfde6..5835e11c9200 100644 --- a/sys/netinet/dccp_tcplike.c +++ b/sys/netinet/dccp_tcplike.c @@ -1,5 +1,5 @@ /* $KAME: dccp_tcplike.c,v 1.19 2005/07/27 06:27:25 nishida Exp $ */ -/* $NetBSD: dccp_tcplike.c,v 1.4 2019/06/04 10:15:22 msaitoh Exp $ */ +/* $NetBSD: dccp_tcplike.c,v 1.5 2022/05/22 11:27:36 andvar Exp $ */ /* * Copyright (c) 2003 Magnus Erixzon @@ -33,7 +33,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: dccp_tcplike.c,v 1.4 2019/06/04 10:15:22 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: dccp_tcplike.c,v 1.5 2022/05/22 11:27:36 andvar Exp $"); #ifdef _KERNEL_OPT #include "opt_dccp.h" @@ -580,7 +580,7 @@ tcplike_send_packet_recv(void *ccb, char *options, int optlen) /* Might be an Ack we've been missing */ /* This code has a flaw; If we miss 2 Ack packets, we only care * about the older one. This means that the next-to-oldest one could - * be lost without any action beeing taken. + * be lost without any action being taken. * Time will tell if that is going to be a Giant Problem(r) */ if (cb->pcb->seq_rcv == cb->ack_miss) { diff --git a/sys/ufs/ext2fs/ext2fs_vfsops.c b/sys/ufs/ext2fs/ext2fs_vfsops.c index 3f51ccc82558..c7fb6a2346b6 100644 --- a/sys/ufs/ext2fs/ext2fs_vfsops.c +++ b/sys/ufs/ext2fs/ext2fs_vfsops.c @@ -1,4 +1,4 @@ -/* $NetBSD: ext2fs_vfsops.c,v 1.220 2022/03/19 13:53:33 hannken Exp $ */ +/* $NetBSD: ext2fs_vfsops.c,v 1.221 2022/05/22 11:27:36 andvar Exp $ */ /* * Copyright (c) 1989, 1991, 1993, 1994 @@ -60,7 +60,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ext2fs_vfsops.c,v 1.220 2022/03/19 13:53:33 hannken Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ext2fs_vfsops.c,v 1.221 2022/05/22 11:27:36 andvar Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_netbsd.h" @@ -518,7 +518,7 @@ ext2fs_loadvnode_content(struct m_ext2fs *fs, ino_t ino, struct buf *bp, struct goto bad; } - /* everything allright, proceed with copy */ + /* everything alright, proceed with copy */ if (ip->i_din.e2fs_din == NULL) ip->i_din.e2fs_din = kmem_alloc(EXT2_DINODE_SIZE(fs), KM_SLEEP); diff --git a/sys/ufs/ffs/ffs_wapbl.c b/sys/ufs/ffs/ffs_wapbl.c index aa208d48cf03..250a43b29d86 100644 --- a/sys/ufs/ffs/ffs_wapbl.c +++ b/sys/ufs/ffs/ffs_wapbl.c @@ -1,4 +1,4 @@ -/* $NetBSD: ffs_wapbl.c,v 1.47 2022/05/13 15:02:34 reinoud Exp $ */ +/* $NetBSD: ffs_wapbl.c,v 1.48 2022/05/22 11:27:36 andvar Exp $ */ /*- * Copyright (c) 2003,2006,2008 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ffs_wapbl.c,v 1.47 2022/05/13 15:02:34 reinoud Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ffs_wapbl.c,v 1.48 2022/05/22 11:27:36 andvar Exp $"); #define WAPBL_INTERNAL @@ -144,7 +144,7 @@ ffs_wapbl_replay_finish(struct mount *mp) /* * The journal may have left partially allocated inodes in mode - * zero. This may occur if a crash occurs betweeen the node + * zero. This may occur if a crash occurs between the node * allocation in ffs_nodeallocg and when the node is properly * initialized in ufs_makeinode. If so, just deallocate them. */ diff --git a/tests/bin/sh/t_option.sh b/tests/bin/sh/t_option.sh index 19bd78cdc631..d65659aa2b12 100644 --- a/tests/bin/sh/t_option.sh +++ b/tests/bin/sh/t_option.sh @@ -1,4 +1,4 @@ -# $NetBSD: t_option.sh,v 1.8 2021/11/22 05:07:15 kre Exp $ +# $NetBSD: t_option.sh,v 1.9 2022/05/22 11:27:36 andvar Exp $ # # Copyright (c) 2016 The NetBSD Foundation, Inc. # All rights reserved. @@ -1007,7 +1007,7 @@ Option_switching_body() { # and these are extensions that might not exist (non-fatal to test) # -i and -s (and -c) are posix options, but are not required to - # be accessable via the "set" command, just the command line. + # be accessible via the "set" command, just the command line. # We allow for -i to work with set, as that makes some sense, # -c and -s do not. test_optional_on_off E i I p q V X || true diff --git a/usr.bin/tip/tip.h b/usr.bin/tip/tip.h index a19b52ec898d..7cebffb091f7 100644 --- a/usr.bin/tip/tip.h +++ b/usr.bin/tip/tip.h @@ -1,4 +1,4 @@ -/* $NetBSD: tip.h,v 1.36 2022/01/24 09:14:37 andvar Exp $ */ +/* $NetBSD: tip.h,v 1.37 2022/05/22 11:27:37 andvar Exp $ */ /* * Copyright (c) 1989, 1993 @@ -99,7 +99,7 @@ typedef const char *v_name; /* whose name is it */ uint8_t v_type; /* for interpreting set's */ uint8_t v_access; /* protection of touchy ones */ - const char *v_abrev; /* possible abreviation */ + const char *v_abrev; /* possible abbreviation */ void *v_value; /* casted to a union later */ /* * XXX: this assumes that the storage space diff --git a/usr.sbin/altq/libaltq/altq_qop.h b/usr.sbin/altq/libaltq/altq_qop.h index 5b133722144c..896fc295cc87 100644 --- a/usr.sbin/altq/libaltq/altq_qop.h +++ b/usr.sbin/altq/libaltq/altq_qop.h @@ -1,4 +1,4 @@ -/* $NetBSD: altq_qop.h,v 1.7 2019/07/11 03:49:51 msaitoh Exp $ */ +/* $NetBSD: altq_qop.h,v 1.8 2022/05/22 11:27:37 andvar Exp $ */ /* $KAME: altq_qop.h,v 1.5 2002/02/12 10:14:01 kjc Exp $ */ /* * Copyright (C) 1999-2000 @@ -205,7 +205,7 @@ int client_input(FILE *fp); #define QOPERR_FILTER_INVAL 12 /* bad filter value */ #define QOPERR_FILTER_SHADOW 13 /* shadows an existing filter */ -/* addmission errors */ +/* admission errors */ #define QOPERR_ADMISSION 14 /* admission control failure */ #define QOPERR_ADMISSION_NOBW 15 /* insufficient bandwidth */ #define QOPERR_ADMISSION_DELAY 16 /* cannot meet delay bound req */ diff --git a/usr.sbin/inetd/parse.c b/usr.sbin/inetd/parse.c index 35fb4d54e0e8..5ffa5ece2cfa 100644 --- a/usr.sbin/inetd/parse.c +++ b/usr.sbin/inetd/parse.c @@ -1,4 +1,4 @@ -/* $NetBSD: parse.c,v 1.2 2021/10/12 22:51:28 rillig Exp $ */ +/* $NetBSD: parse.c,v 1.3 2022/05/22 11:27:37 andvar Exp $ */ /*- * Copyright (c) 1998, 2003 The NetBSD Foundation, Inc. @@ -64,7 +64,7 @@ #if 0 static char sccsid[] = "@(#)inetd.c 8.4 (Berkeley) 4/13/94"; #else -__RCSID("$NetBSD: parse.c,v 1.2 2021/10/12 22:51:28 rillig Exp $"); +__RCSID("$NetBSD: parse.c,v 1.3 2022/05/22 11:27:37 andvar Exp $"); #endif #endif /* not lint */ @@ -399,7 +399,7 @@ getconfigent(char **current_pos) if (/*CONSTCOND*/false) { /* - * Go to the next line, but only after attemting to read the + * Go to the next line, but only after attempting to read the * current one! Keep reading until we find a valid definition * or EOF. */ diff --git a/usr.sbin/mmcformat/mmcformat.c b/usr.sbin/mmcformat/mmcformat.c index df7d2892f945..de2eb58003a0 100644 --- a/usr.sbin/mmcformat/mmcformat.c +++ b/usr.sbin/mmcformat/mmcformat.c @@ -1,4 +1,4 @@ -/* $NetBSD: mmcformat.c,v 1.6 2019/12/26 04:53:12 msaitoh Exp $ */ +/* $NetBSD: mmcformat.c,v 1.7 2022/05/22 11:27:37 andvar Exp $ */ /* * Copyright (c) 2006, 2008 Reinoud Zandijk @@ -96,7 +96,7 @@ uscsi_waitop(struct uscsi_dev *mydev) bzero(buffer, sizeof(buffer)); /* - * not be to unpatient... give the drive some time to start or it + * not be to impatient... give the drive some time to start or it * might break off */ @@ -155,7 +155,7 @@ print_mmc_profile(int profile) switch (profile) { case 0x00 : return "Unknown[0] profile"; - case 0x01 : return "Non removeable disc"; + case 0x01 : return "Non removable disc"; case 0x02 : return "Removable disc"; case 0x03 : return "Magneto Optical with sector erase"; case 0x04 : return "Magneto Optical write once"; @@ -350,38 +350,38 @@ print_format(int format_tp, uint32_t num_blks, uint32_t param, /* 0x06 - 0x0f reserved */ case 0x10 : format_str = "CD-RW/DVD-RW full packet format"; - nblks_str = "adressable blocks"; + nblks_str = "addressable blocks"; param_str = "fixed packet size/ECC blocksize in sectors"; user_spec = "'-F -p [-b blockingnr]'"; break; case 0x11 : format_str = "CD-RW/DVD-RW grow session"; - nblks_str = "adressable blocks"; + nblks_str = "addressable blocks"; param_str = "fixed packet size/ECC blocksize in sectors"; user_spec = "'-G'"; break; case 0x12 : format_str = "CD-RW/DVD-RW add session"; - nblks_str = "adressable blocks"; + nblks_str = "addressable blocks"; param_str = "maximum fixed packet size/ECC blocksize " "in sectors"; *supported = 0; break; case 0x13 : format_str = "DVD-RW max growth of last complete session"; - nblks_str = "adressable blocks"; + nblks_str = "addressable blocks"; param_str = "ECC blocksize in sectors"; user_spec = "'-G'"; break; case 0x14 : format_str = "DVD-RW quick grow last session"; - nblks_str = "adressable blocks"; + nblks_str = "addressable blocks"; param_str = "ECC blocksize in sectors"; *supported = 0; break; case 0x15 : format_str = "DVD-RW quick full format"; - nblks_str = "adressable blocks"; + nblks_str = "addressable blocks"; param_str = "ECC blocksize in sectors"; *supported = 0; break; diff --git a/usr.sbin/mmcformat/uscsi_subr.c b/usr.sbin/mmcformat/uscsi_subr.c index 279cb2f82997..ba1a4ee4bc80 100644 --- a/usr.sbin/mmcformat/uscsi_subr.c +++ b/usr.sbin/mmcformat/uscsi_subr.c @@ -1,4 +1,4 @@ -/* $NetBSD: uscsi_subr.c,v 1.3 2021/11/10 16:19:49 msaitoh Exp $ */ +/* $NetBSD: uscsi_subr.c,v 1.4 2022/05/22 11:27:37 andvar Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -519,7 +519,7 @@ uscsi_check_for_scsi(struct uscsi_dev *disc) /* * Generic SCSI functions also used by the sense printing functionality. - * FreeBSD support has it allready asked for by the CAM. + * FreeBSD support has it already asked for by the CAM. */ int diff --git a/usr.sbin/sysinst/bsddisklabel.c b/usr.sbin/sysinst/bsddisklabel.c index 8b6d7f29a5f7..3e60a6b8d66c 100644 --- a/usr.sbin/sysinst/bsddisklabel.c +++ b/usr.sbin/sysinst/bsddisklabel.c @@ -1,4 +1,4 @@ -/* $NetBSD: bsddisklabel.c,v 1.61 2022/05/04 07:32:50 andvar Exp $ */ +/* $NetBSD: bsddisklabel.c,v 1.62 2022/05/22 11:27:37 andvar Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -1044,7 +1044,7 @@ fill_defaults(struct partition_usage_set *wanted, struct disk_partitions *parts, /* * Now we have the defaults as if we were installing to an * empty disk. Merge the partitions in target range that are already - * there (match with wanted) or are there additionaly. + * there (match with wanted) or are there additionally. * The only thing outside of target range that we care for * are FAT partitions, EXT2FS partitions, and a potential * swap partition - we assume one is enough. diff --git a/usr.sbin/sysinst/defs.h b/usr.sbin/sysinst/defs.h index 2e867e5ba81d..8af231eb5a93 100644 --- a/usr.sbin/sysinst/defs.h +++ b/usr.sbin/sysinst/defs.h @@ -1,4 +1,4 @@ -/* $NetBSD: defs.h,v 1.82 2022/05/18 16:39:03 martin Exp $ */ +/* $NetBSD: defs.h,v 1.83 2022/05/22 11:27:37 andvar Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -386,7 +386,7 @@ struct single_part_fs_edit { /* * Description of a full target installation, all partitions and - * devices (may be accross several struct pm_devs / disks). + * devices (may be across several struct pm_devs / disks). */ struct install_partition_desc { size_t num; /* how many entries in infos */ diff --git a/usr.sbin/sysinst/partitions.h b/usr.sbin/sysinst/partitions.h index 4a3d43323a0b..f328575a094f 100644 --- a/usr.sbin/sysinst/partitions.h +++ b/usr.sbin/sysinst/partitions.h @@ -1,4 +1,4 @@ -/* $NetBSD: partitions.h,v 1.25 2021/11/07 20:31:09 andvar Exp $ */ +/* $NetBSD: partitions.h,v 1.26 2022/05/22 11:27:37 andvar Exp $ */ /* * Copyright (c) 2020 The NetBSD Foundation, Inc. @@ -294,7 +294,7 @@ struct disk_partitioning_scheme { bool (*get_part_info)(const struct disk_partitions*, part_id, struct disk_part_info*); - /* Optional: fill a atribute string describing the given partition */ + /* Optional: fill an attribute string describing the given partition */ bool (*get_part_attr_str)(const struct disk_partitions*, part_id, char *str, size_t avail_space); /* Format a partition editor element for the "col" column in