Module Name:    src
Committed By:   andvar
Date:           Sun May 22 11:27:37 UTC 2022

Modified Files:
        src/distrib/sets: comments
        src/etc: rc.subr
        src/games/trek: schedule.c
        src/lib/libc/net: rcmd.c
        src/sbin/newfs_udf: udf_core.c
        src/sbin/ping: ping.c
        src/sys/arch/alpha/alpha: cpu.c fp_complete.c
        src/sys/arch/alpha/pci: cia.c
        src/sys/arch/amd64/include: reg.h
        src/sys/arch/arm/xscale: ixp425_if_npe.c
        src/sys/arch/bebox/stand/boot: siop.c
        src/sys/arch/powerpc/booke: copyout.c
        src/sys/arch/prep/prep: autoconf.c
        src/sys/arch/sparc/include: autoconf.h
        src/sys/arch/sparc64/sparc64: locore.s
        src/sys/arch/x86/x86: via_padlock.c
        src/sys/compat/linux/common: linux_errno.h linux_misc_notalpha.c
        src/sys/dev: midi.c
        src/sys/dev/acpi: acpi_tz.c
        src/sys/dev/i2c: sgp40.c
        src/sys/dev/ic: aic79xx.c lancereg.h siop_common.c
        src/sys/dev/ieee1394: firewire.c
        src/sys/dev/pci: agp.c
        src/sys/dev/pci/bktr: bktr_core.h
        src/sys/dev/pcmcia: if_ray.c if_rayreg.h
        src/sys/dev/qbus: uda.c
        src/sys/fs/udf: udf_allocation.c
        src/sys/fs/v7fs: v7fs.h v7fs_vnops.c
        src/sys/kern: kern_lwp.c vfs_vnops.c
        src/sys/net: if.c
        src/sys/netinet: dccp_tcplike.c
        src/sys/ufs/ext2fs: ext2fs_vfsops.c
        src/sys/ufs/ffs: ffs_wapbl.c
        src/tests/bin/sh: t_option.sh
        src/usr.bin/tip: tip.h
        src/usr.sbin/altq/libaltq: altq_qop.h
        src/usr.sbin/inetd: parse.c
        src/usr.sbin/mmcformat: mmcformat.c uscsi_subr.c
        src/usr.sbin/sysinst: bsddisklabel.c defs.h partitions.h

Log Message:
fix various small typos, mainly in comments.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/distrib/sets/comments
cvs rdiff -u -r1.110 -r1.111 src/etc/rc.subr
cvs rdiff -u -r1.11 -r1.12 src/games/trek/schedule.c
cvs rdiff -u -r1.71 -r1.72 src/lib/libc/net/rcmd.c
cvs rdiff -u -r1.11 -r1.12 src/sbin/newfs_udf/udf_core.c
cvs rdiff -u -r1.119 -r1.120 src/sbin/ping/ping.c
cvs rdiff -u -r1.106 -r1.107 src/sys/arch/alpha/alpha/cpu.c
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/alpha/alpha/fp_complete.c
cvs rdiff -u -r1.79 -r1.80 src/sys/arch/alpha/pci/cia.c
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/amd64/include/reg.h
cvs rdiff -u -r1.50 -r1.51 src/sys/arch/arm/xscale/ixp425_if_npe.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/bebox/stand/boot/siop.c
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/powerpc/booke/copyout.c
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/prep/prep/autoconf.c
cvs rdiff -u -r1.50 -r1.51 src/sys/arch/sparc/include/autoconf.h
cvs rdiff -u -r1.428 -r1.429 src/sys/arch/sparc64/sparc64/locore.s
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/x86/x86/via_padlock.c
cvs rdiff -u -r1.16 -r1.17 src/sys/compat/linux/common/linux_errno.h
cvs rdiff -u -r1.114 -r1.115 \
    src/sys/compat/linux/common/linux_misc_notalpha.c
cvs rdiff -u -r1.96 -r1.97 src/sys/dev/midi.c
cvs rdiff -u -r1.90 -r1.91 src/sys/dev/acpi/acpi_tz.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/i2c/sgp40.c
cvs rdiff -u -r1.66 -r1.67 src/sys/dev/ic/aic79xx.c
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/ic/lancereg.h
cvs rdiff -u -r1.55 -r1.56 src/sys/dev/ic/siop_common.c
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/ieee1394/firewire.c
cvs rdiff -u -r1.87 -r1.88 src/sys/dev/pci/agp.c
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/pci/bktr/bktr_core.h
cvs rdiff -u -r1.98 -r1.99 src/sys/dev/pcmcia/if_ray.c
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/pcmcia/if_rayreg.h
cvs rdiff -u -r1.63 -r1.64 src/sys/dev/qbus/uda.c
cvs rdiff -u -r1.46 -r1.47 src/sys/fs/udf/udf_allocation.c
cvs rdiff -u -r1.2 -r1.3 src/sys/fs/v7fs/v7fs.h
cvs rdiff -u -r1.36 -r1.37 src/sys/fs/v7fs/v7fs_vnops.c
cvs rdiff -u -r1.249 -r1.250 src/sys/kern/kern_lwp.c
cvs rdiff -u -r1.227 -r1.228 src/sys/kern/vfs_vnops.c
cvs rdiff -u -r1.504 -r1.505 src/sys/net/if.c
cvs rdiff -u -r1.4 -r1.5 src/sys/netinet/dccp_tcplike.c
cvs rdiff -u -r1.220 -r1.221 src/sys/ufs/ext2fs/ext2fs_vfsops.c
cvs rdiff -u -r1.47 -r1.48 src/sys/ufs/ffs/ffs_wapbl.c
cvs rdiff -u -r1.8 -r1.9 src/tests/bin/sh/t_option.sh
cvs rdiff -u -r1.36 -r1.37 src/usr.bin/tip/tip.h
cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/altq/libaltq/altq_qop.h
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/inetd/parse.c
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/mmcformat/mmcformat.c
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/mmcformat/uscsi_subr.c
cvs rdiff -u -r1.61 -r1.62 src/usr.sbin/sysinst/bsddisklabel.c
cvs rdiff -u -r1.82 -r1.83 src/usr.sbin/sysinst/defs.h
cvs rdiff -u -r1.25 -r1.26 src/usr.sbin/sysinst/partitions.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/comments
diff -u src/distrib/sets/comments:1.28 src/distrib/sets/comments:1.29
--- src/distrib/sets/comments:1.28	Sun Dec  5 07:18:53 2021
+++ src/distrib/sets/comments	Sun May 22 11:27:33 2022
@@ -232,7 +232,7 @@ comp-objc-bin compilers and tools for th
 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 
 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

Index: src/etc/rc.subr
diff -u src/etc/rc.subr:1.110 src/etc/rc.subr:1.111
--- src/etc/rc.subr:1.110	Sun Feb  6 16:23:12 2022
+++ src/etc/rc.subr	Sun May 22 11:27:33 2022
@@ -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

Index: src/games/trek/schedule.c
diff -u src/games/trek/schedule.c:1.11 src/games/trek/schedule.c:1.12
--- src/games/trek/schedule.c:1.11	Sun May 24 22:55:03 2009
+++ src/games/trek/schedule.c	Sun May 22 11:27:33 2022
@@ -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.

Index: src/lib/libc/net/rcmd.c
diff -u src/lib/libc/net/rcmd.c:1.71 src/lib/libc/net/rcmd.c:1.72
--- src/lib/libc/net/rcmd.c:1.71	Wed Nov 26 23:44:21 2014
+++ src/lib/libc/net/rcmd.c	Sun May 22 11:27:33 2022
@@ -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 *rad
 	}
 
 	/*
-	 * 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",

Index: src/sbin/newfs_udf/udf_core.c
diff -u src/sbin/newfs_udf/udf_core.c:1.11 src/sbin/newfs_udf/udf_core.c:1.12
--- src/sbin/newfs_udf/udf_core.c:1.11	Sun May 15 20:37:50 2022
+++ src/sbin/newfs_udf/udf_core.c	Sun May 22 11:27:33 2022
@@ -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 <sys/cdefs.h>
-__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 <stdio.h>
 #include <stdlib.h>
@@ -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, u
 	}
 
 	if (error) {
-		/* aparently too big */
+		/* apparently too big */
 		free(pathbuf);
 		return error;
 	}

Index: src/sbin/ping/ping.c
diff -u src/sbin/ping/ping.c:1.119 src/sbin/ping/ping.c:1.120
--- src/sbin/ping/ping.c:1.119	Thu Apr  7 19:33:37 2022
+++ src/sbin/ping/ping.c	Sun May 22 11:27:33 2022
@@ -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 <sys/cdefs.h>
 #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 <stdio.h>
@@ -1387,7 +1387,7 @@ timespec_to_sec(const struct timespec *t
  * 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)

Index: src/sys/arch/alpha/alpha/cpu.c
diff -u src/sys/arch/alpha/alpha/cpu.c:1.106 src/sys/arch/alpha/alpha/cpu.c:1.107
--- src/sys/arch/alpha/alpha/cpu.c:1.106	Sat Apr  9 23:39:18 2022
+++ src/sys/arch/alpha/alpha/cpu.c	Sun May 22 11:27:33 2022
@@ -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 <sys/cdefs.h>			/* 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();

Index: src/sys/arch/alpha/alpha/fp_complete.c
diff -u src/sys/arch/alpha/alpha/fp_complete.c:1.29 src/sys/arch/alpha/alpha/fp_complete.c:1.30
--- src/sys/arch/alpha/alpha/fp_complete.c:1.29	Wed Dec  8 20:21:09 2021
+++ src/sys/arch/alpha/alpha/fp_complete.c	Sun May 22 11:27:33 2022
@@ -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 <sys/cdefs.h>			/* 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 <sys/param.h>
 #include <sys/systm.h>
@@ -703,7 +703,7 @@ alpha_fp_complete(u_long a0, u_long a1, 
 
 	/*
 	 * 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;

Index: src/sys/arch/alpha/pci/cia.c
diff -u src/sys/arch/alpha/pci/cia.c:1.79 src/sys/arch/alpha/pci/cia.c:1.80
--- src/sys/arch/alpha/pci/cia.c:1.79	Sat Aug  7 16:18:41 2021
+++ src/sys/arch/alpha/pci/cia.c	Sun May 22 11:27:33 2022
@@ -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 <sys/cdefs.h>			/* 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 <sys/param.h>
 #include <sys/systm.h>
@@ -179,7 +179,7 @@ cia_init(struct cia_config *ccp, int mal
 	/*
 	 * 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

Index: src/sys/arch/amd64/include/reg.h
diff -u src/sys/arch/amd64/include/reg.h:1.10 src/sys/arch/amd64/include/reg.h:1.11
--- src/sys/arch/amd64/include/reg.h:1.10	Thu Feb 23 03:34:22 2017
+++ src/sys/arch/amd64/include/reg.h	Sun May 22 11:27:33 2022
@@ -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];

Index: src/sys/arch/arm/xscale/ixp425_if_npe.c
diff -u src/sys/arch/arm/xscale/ixp425_if_npe.c:1.50 src/sys/arch/arm/xscale/ixp425_if_npe.c:1.51
--- src/sys/arch/arm/xscale/ixp425_if_npe.c:1.50	Fri Dec 31 14:25:22 2021
+++ src/sys/arch/arm/xscale/ixp425_if_npe.c	Sun May 22 11:27:34 2022
@@ -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, 
 			    & (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).

Index: src/sys/arch/bebox/stand/boot/siop.c
diff -u src/sys/arch/bebox/stand/boot/siop.c:1.8 src/sys/arch/bebox/stand/boot/siop.c:1.9
--- src/sys/arch/bebox/stand/boot/siop.c:1.8	Sat Jan  1 13:47:19 2022
+++ src/sys/arch/bebox/stand/boot/siop.c	Sun May 22 11:27:34 2022
@@ -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, struc
 	 */
 
 	/*
-	 * 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);

Index: src/sys/arch/powerpc/booke/copyout.c
diff -u src/sys/arch/powerpc/booke/copyout.c:1.9 src/sys/arch/powerpc/booke/copyout.c:1.10
--- src/sys/arch/powerpc/booke/copyout.c:1.9	Mon Jul  6 09:34:16 2020
+++ src/sys/arch/powerpc/booke/copyout.c	Sun May 22 11:27:34 2022
@@ -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 <sys/cdefs.h>
-__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 <sys/param.h>
 #include <sys/lwp.h>
@@ -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)
 {

Index: src/sys/arch/prep/prep/autoconf.c
diff -u src/sys/arch/prep/prep/autoconf.c:1.28 src/sys/arch/prep/prep/autoconf.c:1.29
--- src/sys/arch/prep/prep/autoconf.c:1.28	Sat Oct 18 08:33:26 2014
+++ src/sys/arch/prep/prep/autoconf.c	Sun May 22 11:27:34 2022
@@ -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 <sys/cdefs.h>
-__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 <sys/param.h>
 #include <sys/systm.h>
@@ -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"))

Index: src/sys/arch/sparc/include/autoconf.h
diff -u src/sys/arch/sparc/include/autoconf.h:1.50 src/sys/arch/sparc/include/autoconf.h:1.51
--- src/sys/arch/sparc/include/autoconf.h:1.50	Sun Jan 24 07:36:54 2021
+++ src/sys/arch/sparc/include/autoconf.h	Sun May 22 11:27:34 2022
@@ -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 */

Index: src/sys/arch/sparc64/sparc64/locore.s
diff -u src/sys/arch/sparc64/sparc64/locore.s:1.428 src/sys/arch/sparc64/sparc64/locore.s:1.429
--- src/sys/arch/sparc64/sparc64/locore.s:1.428	Mon May 16 21:28:05 2022
+++ src/sys/arch/sparc64/sparc64/locore.s	Sun May 22 11:27:34 2022
@@ -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.

Index: src/sys/arch/x86/x86/via_padlock.c
diff -u src/sys/arch/x86/x86/via_padlock.c:1.31 src/sys/arch/x86/x86/via_padlock.c:1.32
--- src/sys/arch/x86/x86/via_padlock.c:1.31	Mon Jun 29 23:58:44 2020
+++ src/sys/arch/x86/x86/via_padlock.c	Sun May 22 11:27:34 2022
@@ -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 <sys/cdefs.h>
-__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 <sys/param.h>
 #include <sys/systm.h>
@@ -99,10 +99,10 @@ via_c3_ace_init(struct via_padlock_softc
 	 *
 	 *
 	 * 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

Index: src/sys/compat/linux/common/linux_errno.h
diff -u src/sys/compat/linux/common/linux_errno.h:1.16 src/sys/compat/linux/common/linux_errno.h:1.17
--- src/sys/compat/linux/common/linux_errno.h:1.16	Thu Sep 23 06:56:27 2021
+++ src/sys/compat/linux/common/linux_errno.h	Sun May 22 11:27:34 2022
@@ -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 <compat/linux/arch/i386/linux_errno.h>
 #elif defined(__mips__)

Index: src/sys/compat/linux/common/linux_misc_notalpha.c
diff -u src/sys/compat/linux/common/linux_misc_notalpha.c:1.114 src/sys/compat/linux/common/linux_misc_notalpha.c:1.115
--- src/sys/compat/linux/common/linux_misc_notalpha.c:1.114	Thu Nov 25 03:08:04 2021
+++ src/sys/compat/linux/common/linux_misc_notalpha.c	Sun May 22 11:27:34 2022
@@ -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 <sys/cdefs.h>
-__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_n
 
 /*
  * 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 */

Index: src/sys/dev/midi.c
diff -u src/sys/dev/midi.c:1.96 src/sys/dev/midi.c:1.97
--- src/sys/dev/midi.c:1.96	Thu Mar 31 19:30:15 2022
+++ src/sys/dev/midi.c	Sun May 22 11:27:35 2022
@@ -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 <sys/cdefs.h>
-__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

Index: src/sys/dev/acpi/acpi_tz.c
diff -u src/sys/dev/acpi/acpi_tz.c:1.90 src/sys/dev/acpi/acpi_tz.c:1.91
--- src/sys/dev/acpi/acpi_tz.c:1.90	Sun Apr 21 21:52:09 2019
+++ src/sys/dev/acpi/acpi_tz.c	Sun May 22 11:27:35 2022
@@ -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 <jmcne...@invisible.ca>
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__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 <sys/param.h>
 #include <sys/device.h>
@@ -616,7 +616,7 @@ acpitz_notify_handler(ACPI_HANDLE hdl, u
 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;
 }

Index: src/sys/dev/i2c/sgp40.c
diff -u src/sys/dev/i2c/sgp40.c:1.3 src/sys/dev/i2c/sgp40.c:1.4
--- src/sys/dev/i2c/sgp40.c:1.3	Wed Mar 30 00:06:50 2022
+++ src/sys/dev/i2c/sgp40.c	Sun May 22 11:27:35 2022
@@ -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 <b...@anduin.eldar.org>
@@ -17,7 +17,7 @@
  */
 
 #include <sys/cdefs.h>
-__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, VocAlg
 	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.

Index: src/sys/dev/ic/aic79xx.c
diff -u src/sys/dev/ic/aic79xx.c:1.66 src/sys/dev/ic/aic79xx.c:1.67
--- src/sys/dev/ic/aic79xx.c:1.66	Sat Apr 16 17:34:34 2022
+++ src/sys/dev/ic/aic79xx.c	Sun May 22 11:27:35 2022
@@ -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 <sys/cdefs.h>
-__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 <dev/ic/aic79xx_osm.h>
 #include <dev/ic/aic79xx_inline.h>
@@ -5276,7 +5276,7 @@ ahd_reset(struct ahd_softc *ahd, int rei
 		 * 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)

Index: src/sys/dev/ic/lancereg.h
diff -u src/sys/dev/ic/lancereg.h:1.14 src/sys/dev/ic/lancereg.h:1.15
--- src/sys/dev/ic/lancereg.h:1.14	Wed Apr  8 04:32:14 2020
+++ src/sys/dev/ic/lancereg.h	Sun May 22 11:27:35 2022
@@ -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 */

Index: src/sys/dev/ic/siop_common.c
diff -u src/sys/dev/ic/siop_common.c:1.55 src/sys/dev/ic/siop_common.c:1.56
--- src/sys/dev/ic/siop_common.c:1.55	Fri Dec 27 09:41:50 2019
+++ src/sys/dev/ic/siop_common.c	Sun May 22 11:27:35 2022
@@ -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 <sys/cdefs.h>
-__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 <sys/param.h>
 #include <sys/systm.h>
@@ -820,7 +820,7 @@ siop_sdp(struct siop_common_cmd *siop_cm
 	 */
 
 	/*
-	 * 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);

Index: src/sys/dev/ieee1394/firewire.c
diff -u src/sys/dev/ieee1394/firewire.c:1.54 src/sys/dev/ieee1394/firewire.c:1.55
--- src/sys/dev/ieee1394/firewire.c:1.54	Mon Dec 20 19:56:42 2021
+++ src/sys/dev/ieee1394/firewire.c	Sun May 22 11:27:35 2022
@@ -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 <sys/cdefs.h>
-__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 <sys/param.h>
 #include <sys/bus.h>
@@ -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,

Index: src/sys/dev/pci/agp.c
diff -u src/sys/dev/pci/agp.c:1.87 src/sys/dev/pci/agp.c:1.88
--- src/sys/dev/pci/agp.c:1.87	Sun Nov 10 21:16:36 2019
+++ src/sys/dev/pci/agp.c	Sun May 22 11:27:35 2022
@@ -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 <sys/cdefs.h>
-__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 <sys/param.h>
 #include <sys/systm.h>
@@ -698,7 +698,7 @@ agp_generic_bind_memory_bounded(struct a
 
 	/*
 	 * 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.

Index: src/sys/dev/pci/bktr/bktr_core.h
diff -u src/sys/dev/pci/bktr/bktr_core.h:1.11 src/sys/dev/pci/bktr/bktr_core.h:1.12
--- src/sys/dev/pci/bktr/bktr_core.h:1.11	Sun Dec 19 22:03:41 2021
+++ src/sys/dev/pci/bktr/bktr_core.h	Sun May 22 11:27:35 2022
@@ -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
 /* 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);

Index: src/sys/dev/pcmcia/if_ray.c
diff -u src/sys/dev/pcmcia/if_ray.c:1.98 src/sys/dev/pcmcia/if_ray.c:1.99
--- src/sys/dev/pcmcia/if_ray.c:1.98	Tue Feb  4 05:46:32 2020
+++ src/sys/dev/pcmcia/if_ray.c	Sun May 22 11:27:35 2022
@@ -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 <sys/cdefs.h>
-__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
 #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

Index: src/sys/dev/pcmcia/if_rayreg.h
diff -u src/sys/dev/pcmcia/if_rayreg.h:1.11 src/sys/dev/pcmcia/if_rayreg.h:1.12
--- src/sys/dev/pcmcia/if_rayreg.h:1.11	Sun Sep  6 06:01:00 2015
+++ src/sys/dev/pcmcia/if_rayreg.h	Sun May 22 11:27:35 2022
@@ -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;

Index: src/sys/dev/qbus/uda.c
diff -u src/sys/dev/qbus/uda.c:1.63 src/sys/dev/qbus/uda.c:1.64
--- src/sys/dev/qbus/uda.c:1.63	Sat Aug  7 16:19:15 2021
+++ src/sys/dev/qbus/uda.c	Sun May 22 11:27:35 2022
@@ -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 <sys/cdefs.h>
-__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 <sys/param.h>
 #include <sys/kernel.h>
@@ -233,7 +233,7 @@ udaattach(device_t parent, device_t self
 
 	/*
 	 * 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.
 	 */

Index: src/sys/fs/udf/udf_allocation.c
diff -u src/sys/fs/udf/udf_allocation.c:1.46 src/sys/fs/udf/udf_allocation.c:1.47
--- src/sys/fs/udf/udf_allocation.c:1.46	Thu Feb  3 09:46:26 2022
+++ src/sys/fs/udf/udf_allocation.c	Sun May 22 11:27:36 2022
@@ -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 <sys/cdefs.h>
 #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 *
 	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;
 

Index: src/sys/fs/v7fs/v7fs.h
diff -u src/sys/fs/v7fs/v7fs.h:1.2 src/sys/fs/v7fs/v7fs.h:1.3
--- src/sys/fs/v7fs/v7fs.h:1.2	Sat Jul 16 12:35:40 2011
+++ src/sys/fs/v7fs/v7fs.h	Sun May 22 11:27:36 2022
@@ -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

Index: src/sys/fs/v7fs/v7fs_vnops.c
diff -u src/sys/fs/v7fs/v7fs_vnops.c:1.36 src/sys/fs/v7fs/v7fs_vnops.c:1.37
--- src/sys/fs/v7fs/v7fs_vnops.c:1.36	Wed Mar 30 12:45:58 2022
+++ src/sys/fs/v7fs/v7fs_vnops.c	Sun May 22 11:27:36 2022
@@ -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 <sys/cdefs.h>
-__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;
 	}

Index: src/sys/kern/kern_lwp.c
diff -u src/sys/kern/kern_lwp.c:1.249 src/sys/kern/kern_lwp.c:1.250
--- src/sys/kern/kern_lwp.c:1.249	Sat May  7 19:44:40 2022
+++ src/sys/kern/kern_lwp.c	Sun May 22 11:27:36 2022
@@ -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 <sys/cdefs.h>
-__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_
 
 	/*
 	 * 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,

Index: src/sys/kern/vfs_vnops.c
diff -u src/sys/kern/vfs_vnops.c:1.227 src/sys/kern/vfs_vnops.c:1.228
--- src/sys/kern/vfs_vnops.c:1.227	Fri Mar 25 08:57:15 2022
+++ src/sys/kern/vfs_vnops.c	Sun May 22 11:27:36 2022
@@ -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 <sys/cdefs.h>
-__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
 	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.

Index: src/sys/net/if.c
diff -u src/sys/net/if.c:1.504 src/sys/net/if.c:1.505
--- src/sys/net/if.c:1.504	Wed May 11 14:58:01 2022
+++ src/sys/net/if.c	Sun May 22 11:27:36 2022
@@ -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 <sys/cdefs.h>
-__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,

Index: src/sys/netinet/dccp_tcplike.c
diff -u src/sys/netinet/dccp_tcplike.c:1.4 src/sys/netinet/dccp_tcplike.c:1.5
--- src/sys/netinet/dccp_tcplike.c:1.4	Tue Jun  4 10:15:22 2019
+++ src/sys/netinet/dccp_tcplike.c	Sun May 22 11:27:36 2022
@@ -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 <sys/cdefs.h>
-__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
 		/* 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) {

Index: src/sys/ufs/ext2fs/ext2fs_vfsops.c
diff -u src/sys/ufs/ext2fs/ext2fs_vfsops.c:1.220 src/sys/ufs/ext2fs/ext2fs_vfsops.c:1.221
--- src/sys/ufs/ext2fs/ext2fs_vfsops.c:1.220	Sat Mar 19 13:53:33 2022
+++ src/sys/ufs/ext2fs/ext2fs_vfsops.c	Sun May 22 11:27:36 2022
@@ -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 <sys/cdefs.h>
-__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
 		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);
 

Index: src/sys/ufs/ffs/ffs_wapbl.c
diff -u src/sys/ufs/ffs/ffs_wapbl.c:1.47 src/sys/ufs/ffs/ffs_wapbl.c:1.48
--- src/sys/ufs/ffs/ffs_wapbl.c:1.47	Fri May 13 15:02:34 2022
+++ src/sys/ufs/ffs/ffs_wapbl.c	Sun May 22 11:27:36 2022
@@ -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 <sys/cdefs.h>
-__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.
 		 */

Index: src/tests/bin/sh/t_option.sh
diff -u src/tests/bin/sh/t_option.sh:1.8 src/tests/bin/sh/t_option.sh:1.9
--- src/tests/bin/sh/t_option.sh:1.8	Mon Nov 22 05:07:15 2021
+++ src/tests/bin/sh/t_option.sh	Sun May 22 11:27:36 2022
@@ -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

Index: src/usr.bin/tip/tip.h
diff -u src/usr.bin/tip/tip.h:1.36 src/usr.bin/tip/tip.h:1.37
--- src/usr.bin/tip/tip.h:1.36	Mon Jan 24 09:14:37 2022
+++ src/usr.bin/tip/tip.h	Sun May 22 11:27:37 2022
@@ -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

Index: src/usr.sbin/altq/libaltq/altq_qop.h
diff -u src/usr.sbin/altq/libaltq/altq_qop.h:1.7 src/usr.sbin/altq/libaltq/altq_qop.h:1.8
--- src/usr.sbin/altq/libaltq/altq_qop.h:1.7	Thu Jul 11 03:49:51 2019
+++ src/usr.sbin/altq/libaltq/altq_qop.h	Sun May 22 11:27:37 2022
@@ -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 */

Index: src/usr.sbin/inetd/parse.c
diff -u src/usr.sbin/inetd/parse.c:1.2 src/usr.sbin/inetd/parse.c:1.3
--- src/usr.sbin/inetd/parse.c:1.2	Tue Oct 12 22:51:28 2021
+++ src/usr.sbin/inetd/parse.c	Sun May 22 11:27:37 2022
@@ -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.
 		 */

Index: src/usr.sbin/mmcformat/mmcformat.c
diff -u src/usr.sbin/mmcformat/mmcformat.c:1.6 src/usr.sbin/mmcformat/mmcformat.c:1.7
--- src/usr.sbin/mmcformat/mmcformat.c:1.6	Thu Dec 26 04:53:12 2019
+++ src/usr.sbin/mmcformat/mmcformat.c	Sun May 22 11:27:37 2022
@@ -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
 	/* 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;

Index: src/usr.sbin/mmcformat/uscsi_subr.c
diff -u src/usr.sbin/mmcformat/uscsi_subr.c:1.3 src/usr.sbin/mmcformat/uscsi_subr.c:1.4
--- src/usr.sbin/mmcformat/uscsi_subr.c:1.3	Wed Nov 10 16:19:49 2021
+++ src/usr.sbin/mmcformat/uscsi_subr.c	Sun May 22 11:27:37 2022
@@ -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 *d
 
 /*
  * 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

Index: src/usr.sbin/sysinst/bsddisklabel.c
diff -u src/usr.sbin/sysinst/bsddisklabel.c:1.61 src/usr.sbin/sysinst/bsddisklabel.c:1.62
--- src/usr.sbin/sysinst/bsddisklabel.c:1.61	Wed May  4 07:32:50 2022
+++ src/usr.sbin/sysinst/bsddisklabel.c	Sun May 22 11:27:37 2022
@@ -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
 	/*
 	 * 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.

Index: src/usr.sbin/sysinst/defs.h
diff -u src/usr.sbin/sysinst/defs.h:1.82 src/usr.sbin/sysinst/defs.h:1.83
--- src/usr.sbin/sysinst/defs.h:1.82	Wed May 18 16:39:03 2022
+++ src/usr.sbin/sysinst/defs.h	Sun May 22 11:27:37 2022
@@ -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 */

Index: src/usr.sbin/sysinst/partitions.h
diff -u src/usr.sbin/sysinst/partitions.h:1.25 src/usr.sbin/sysinst/partitions.h:1.26
--- src/usr.sbin/sysinst/partitions.h:1.25	Sun Nov  7 20:31:09 2021
+++ src/usr.sbin/sysinst/partitions.h	Sun May 22 11:27:37 2022
@@ -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

Reply via email to