Module Name:    src
Committed By:   andvar
Date:           Thu Sep 16 20:17:48 UTC 2021

Modified Files:
        src/lib/libc/resolv: res_debug.c
        src/sys/arch/acorn32/acorn32: rpc_machdep.c
        src/sys/arch/acorn32/eb7500atx: eb7500atx_machdep.c
        src/sys/arch/acorn32/podulebus: sbicreg.h
        src/sys/arch/alpha/pci: pci_machdep.c
        src/sys/arch/amiga/dev: sbicreg.h
        src/sys/arch/atari/atari: le_bus.c
        src/sys/arch/evbarm/stand: Makefile
        src/sys/arch/i386/stand/lib/netif: 3c509.h
        src/sys/arch/mips/rmi: rmixl_obio_el_space.c
        src/sys/arch/mvme68k/dev: sbicreg.h
        src/sys/arch/xen/include: i82489var.h
        src/sys/dev/pci: if_bge.c
        src/sys/net: if.c
        src/sys/nfs: nfs_serv.c
        src/sys/sys: flashio.h

Log Message:
fix various typos, mainly in comments.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/lib/libc/resolv/res_debug.c
cvs rdiff -u -r1.99 -r1.100 src/sys/arch/acorn32/acorn32/rpc_machdep.c
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/acorn32/podulebus/sbicreg.h
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/alpha/pci/pci_machdep.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/amiga/dev/sbicreg.h
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/atari/atari/le_bus.c
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/evbarm/stand/Makefile
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/i386/stand/lib/netif/3c509.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/mips/rmi/rmixl_obio_el_space.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/mvme68k/dev/sbicreg.h
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/xen/include/i82489var.h
cvs rdiff -u -r1.348 -r1.349 src/sys/dev/pci/if_bge.c
cvs rdiff -u -r1.487 -r1.488 src/sys/net/if.c
cvs rdiff -u -r1.181 -r1.182 src/sys/nfs/nfs_serv.c
cvs rdiff -u -r1.4 -r1.5 src/sys/sys/flashio.h

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

Modified files:

Index: src/lib/libc/resolv/res_debug.c
diff -u src/lib/libc/resolv/res_debug.c:1.15 src/lib/libc/resolv/res_debug.c:1.16
--- src/lib/libc/resolv/res_debug.c:1.15	Thu Dec 13 08:45:29 2018
+++ src/lib/libc/resolv/res_debug.c	Thu Sep 16 20:17:46 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: res_debug.c,v 1.15 2018/12/13 08:45:29 maya Exp $	*/
+/*	$NetBSD: res_debug.c,v 1.16 2021/09/16 20:17:46 andvar Exp $	*/
 
 /*
  * Portions Copyright (C) 2004, 2005, 2008, 2009  Internet Systems Consortium, Inc. ("ISC")
@@ -97,7 +97,7 @@
 static const char sccsid[] = "@(#)res_debug.c	8.1 (Berkeley) 6/4/93";
 static const char rcsid[] = "Id: res_debug.c,v 1.19 2009/02/26 11:20:20 tbox Exp";
 #else
-__RCSID("$NetBSD: res_debug.c,v 1.15 2018/12/13 08:45:29 maya Exp $");
+__RCSID("$NetBSD: res_debug.c,v 1.16 2021/09/16 20:17:46 andvar Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -509,7 +509,7 @@ const struct res_sym __p_type_syms[] = {
 	{ns_t_naptr,	"NAPTR",	"naptr"},
 	{ns_t_kx,	"KX",		"key exchange"},
 	{ns_t_cert,	"CERT",		"certificate"},
-	{ns_t_a6,	"A",		"IPv6 address (experminental)"},
+	{ns_t_a6,	"A",		"IPv6 address (experimental)"},
 	{ns_t_dname,	"DNAME",	"non-terminal redirection"},
 	{ns_t_opt,	"OPT",		"opt"},
 	{ns_t_apl,	"apl",		"apl"},
@@ -680,7 +680,7 @@ p_option(u_long option) {
 	case RES_DEBUG:		return "debug";
 	case RES_AAONLY:	return "aaonly(unimpl)";
 	case RES_USEVC:		return "usevc";
-	case RES_PRIMARY:	return "primry(unimpl)";
+	case RES_PRIMARY:	return "primary(unimpl)";
 	case RES_IGNTC:		return "igntc";
 	case RES_RECURSE:	return "recurs";
 	case RES_DEFNAMES:	return "defnam";

Index: src/sys/arch/acorn32/acorn32/rpc_machdep.c
diff -u src/sys/arch/acorn32/acorn32/rpc_machdep.c:1.99 src/sys/arch/acorn32/acorn32/rpc_machdep.c:1.100
--- src/sys/arch/acorn32/acorn32/rpc_machdep.c:1.99	Tue Aug 17 22:00:26 2021
+++ src/sys/arch/acorn32/acorn32/rpc_machdep.c	Thu Sep 16 20:17:46 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: rpc_machdep.c,v 1.99 2021/08/17 22:00:26 andvar Exp $	*/
+/*	$NetBSD: rpc_machdep.c,v 1.100 2021/09/16 20:17:46 andvar Exp $	*/
 
 /*
  * Copyright (c) 2000-2002 Reinoud Zandijk.
@@ -54,7 +54,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: rpc_machdep.c,v 1.99 2021/08/17 22:00:26 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rpc_machdep.c,v 1.100 2021/09/16 20:17:46 andvar Exp $");
 
 #include <sys/systm.h>
 #include <sys/kernel.h>
@@ -405,7 +405,7 @@ initarm(void *cookie)
 	 */
 	set_cpufuncs();
 
-	/* canonicalise the boot configuration structure to alow versioning */
+	/* canonicalise the boot configuration structure to allow versioning */
 	canonicalise_bootconfig(&bootconfig, raw_bootconf);
 	booted_kernel = bootconfig.kernelname;
 

Index: src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c
diff -u src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c:1.35 src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c:1.36
--- src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c:1.35	Tue Aug 17 22:00:26 2021
+++ src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c	Thu Sep 16 20:17:46 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: eb7500atx_machdep.c,v 1.35 2021/08/17 22:00:26 andvar Exp $	*/
+/*	$NetBSD: eb7500atx_machdep.c,v 1.36 2021/09/16 20:17:46 andvar Exp $	*/
 
 /*
  * Copyright (c) 2000-2002 Reinoud Zandijk.
@@ -54,7 +54,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: eb7500atx_machdep.c,v 1.35 2021/08/17 22:00:26 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: eb7500atx_machdep.c,v 1.36 2021/09/16 20:17:46 andvar Exp $");
 
 #include <sys/systm.h>
 #include <sys/kernel.h>
@@ -370,7 +370,7 @@ initarm(void *cookie)
 	 */
 	set_cpufuncs();
 
-	/* canonicalise the boot configuration structure to alow versioning */
+	/* canonicalise the boot configuration structure to allow versioning */
 	canonicalise_bootconfig(&bootconfig, raw_bootconf);
 	booted_kernel = bootconfig.kernelname;
 

Index: src/sys/arch/acorn32/podulebus/sbicreg.h
diff -u src/sys/arch/acorn32/podulebus/sbicreg.h:1.5 src/sys/arch/acorn32/podulebus/sbicreg.h:1.6
--- src/sys/arch/acorn32/podulebus/sbicreg.h:1.5	Wed Mar  8 23:46:22 2006
+++ src/sys/arch/acorn32/podulebus/sbicreg.h	Thu Sep 16 20:17:46 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: sbicreg.h,v 1.5 2006/03/08 23:46:22 lukem Exp $ */
+/* $NetBSD: sbicreg.h,v 1.6 2021/09/16 20:17:46 andvar Exp $ */
 
 /*
  * Copyright (c) 1990 The Regents of the University of California.
@@ -115,7 +115,7 @@
  */
 
 #define SBIC_CTL_DMA		0x80	/* Single byte dma */
-#define SBIC_CTL_DBA_DMA	0x40	/* direct buffer acces (bus master)*/
+#define SBIC_CTL_DBA_DMA	0x40	/* direct buffer access (bus master)*/
 #define SBIC_CTL_BURST_DMA	0x20	/* continuous mode (8237) */
 #define SBIC_CTL_NO_DMA		0x00	/* Programmed I/O */
 #define SBIC_CTL_HHP		0x10	/* Halt on host parity error */

Index: src/sys/arch/alpha/pci/pci_machdep.c
diff -u src/sys/arch/alpha/pci/pci_machdep.c:1.32 src/sys/arch/alpha/pci/pci_machdep.c:1.33
--- src/sys/arch/alpha/pci/pci_machdep.c:1.32	Sun Jul  4 22:36:43 2021
+++ src/sys/arch/alpha/pci/pci_machdep.c	Thu Sep 16 20:17:46 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: pci_machdep.c,v 1.32 2021/07/04 22:36:43 thorpej Exp $ */
+/* $NetBSD: pci_machdep.c,v 1.33 2021/09/16 20:17:46 andvar Exp $ */
 
 /*-
  * Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -62,7 +62,7 @@
 
 #include <sys/cdefs.h>			/* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.32 2021/07/04 22:36:43 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.33 2021/09/16 20:17:46 andvar Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -274,7 +274,7 @@ alpha_pci_generic_intr_select_cpu(pci_ch
 
 	/*
 	 * If the back-end didn't tell us where we can route, then
-	 * they all go to the primry CPU.
+	 * they all go to the primary CPU.
 	 */
 	if (pc->pc_eligible_cpus == 0) {
 		return &cpu_info_primary;

Index: src/sys/arch/amiga/dev/sbicreg.h
diff -u src/sys/arch/amiga/dev/sbicreg.h:1.8 src/sys/arch/amiga/dev/sbicreg.h:1.9
--- src/sys/arch/amiga/dev/sbicreg.h:1.8	Fri Feb  5 12:13:36 2010
+++ src/sys/arch/amiga/dev/sbicreg.h	Thu Sep 16 20:17:46 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: sbicreg.h,v 1.8 2010/02/05 12:13:36 phx Exp $	*/
+/*	$NetBSD: sbicreg.h,v 1.9 2021/09/16 20:17:46 andvar Exp $	*/
 
 /*
  * Copyright (c) 1990 The Regents of the University of California.
@@ -115,7 +115,7 @@
  */
 
 #define SBIC_CTL_DMA		0x80	/* Single byte dma */
-#define SBIC_CTL_DBA_DMA	0x40	/* direct buffer acces (bus master)*/
+#define SBIC_CTL_DBA_DMA	0x40	/* direct buffer access (bus master)*/
 #define SBIC_CTL_BURST_DMA	0x20	/* continuous mode (8237) */
 #define SBIC_CTL_NO_DMA		0x00	/* Programmed I/O */
 #define SBIC_CTL_HHP		0x10	/* Halt on host parity error */

Index: src/sys/arch/atari/atari/le_bus.c
diff -u src/sys/arch/atari/atari/le_bus.c:1.21 src/sys/arch/atari/atari/le_bus.c:1.22
--- src/sys/arch/atari/atari/le_bus.c:1.21	Sun Jan  3 17:42:10 2021
+++ src/sys/arch/atari/atari/le_bus.c	Thu Sep 16 20:17:47 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: le_bus.c,v 1.21 2021/01/03 17:42:10 thorpej Exp $	*/
+/*	$NetBSD: le_bus.c,v 1.22 2021/09/16 20:17:47 andvar Exp $	*/
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: le_bus.c,v 1.21 2021/01/03 17:42:10 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: le_bus.c,v 1.22 2021/09/16 20:17:47 andvar Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -41,7 +41,7 @@ __KERNEL_RCSID(0, "$NetBSD: le_bus.c,v 1
 #include <sys/bus.h>
 
 /*
- * This file contains the common functions for using a litte endian (linear)
+ * This file contains the common functions for using a little endian (linear)
  * bus on a big endian atari.
  */
 

Index: src/sys/arch/evbarm/stand/Makefile
diff -u src/sys/arch/evbarm/stand/Makefile:1.13 src/sys/arch/evbarm/stand/Makefile:1.14
--- src/sys/arch/evbarm/stand/Makefile:1.13	Sat Sep 12 15:25:41 2020
+++ src/sys/arch/evbarm/stand/Makefile	Thu Sep 16 20:17:47 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.13 2020/09/12 15:25:41 jmcneill Exp $
+#	$NetBSD: Makefile,v 1.14 2021/09/16 20:17:47 andvar Exp $
 
 .include <bsd.endian.mk>
 
@@ -7,7 +7,7 @@ SUBDIR+= gzboot
 SUBDIR+= boot2440
 .if ${TARGET_ENDIANNESS} == "1234"
 # According to the i.MX23 Reference Manual section 3.1, Page 3-3:
-# "The i.MX23 always operates in litle-endian mode."
+# "The i.MX23 always operates in little-endian mode."
 SUBDIR+= bootimx23
 .endif
 .endif

Index: src/sys/arch/i386/stand/lib/netif/3c509.h
diff -u src/sys/arch/i386/stand/lib/netif/3c509.h:1.6 src/sys/arch/i386/stand/lib/netif/3c509.h:1.7
--- src/sys/arch/i386/stand/lib/netif/3c509.h:1.6	Fri Nov 24 22:52:16 2006
+++ src/sys/arch/i386/stand/lib/netif/3c509.h	Thu Sep 16 20:17:47 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: 3c509.h,v 1.6 2006/11/24 22:52:16 wiz Exp $	*/
+/*	$NetBSD: 3c509.h,v 1.7 2021/09/16 20:17:47 andvar Exp $	*/
 
 /*
  * Copyright (c) 1993 Herb Peyerl
@@ -60,7 +60,7 @@
 #define EP_ID_PORT      0x100
 
 /*
- * some macros to acces long named fields
+ * some macros to access long named fields
  */
 #define IS_BASE (eth_base)
 #define BASE 	(eth_base)

Index: src/sys/arch/mips/rmi/rmixl_obio_el_space.c
diff -u src/sys/arch/mips/rmi/rmixl_obio_el_space.c:1.3 src/sys/arch/mips/rmi/rmixl_obio_el_space.c:1.4
--- src/sys/arch/mips/rmi/rmixl_obio_el_space.c:1.3	Fri Jul  1 19:01:31 2011
+++ src/sys/arch/mips/rmi/rmixl_obio_el_space.c	Thu Sep 16 20:17:47 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: rmixl_obio_el_space.c,v 1.3 2011/07/01 19:01:31 dyoung Exp $	*/
+/*	$NetBSD: rmixl_obio_el_space.c,v 1.4 2021/09/16 20:17:47 andvar Exp $	*/
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -30,11 +30,11 @@
  */
 
 /*
- * Litle Endian bus_space(9) support for RMI {XLP,XLR,XLS} obio
+ * Little Endian bus_space(9) support for RMI {XLP,XLR,XLS} obio
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rmixl_obio_el_space.c,v 1.3 2011/07/01 19:01:31 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rmixl_obio_el_space.c,v 1.4 2021/09/16 20:17:47 andvar Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>

Index: src/sys/arch/mvme68k/dev/sbicreg.h
diff -u src/sys/arch/mvme68k/dev/sbicreg.h:1.5 src/sys/arch/mvme68k/dev/sbicreg.h:1.6
--- src/sys/arch/mvme68k/dev/sbicreg.h:1.5	Sat Jan 12 09:54:27 2008
+++ src/sys/arch/mvme68k/dev/sbicreg.h	Thu Sep 16 20:17:47 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: sbicreg.h,v 1.5 2008/01/12 09:54:27 tsutsui Exp $	*/
+/*	$NetBSD: sbicreg.h,v 1.6 2021/09/16 20:17:47 andvar Exp $	*/
 
 /*
  * Copyright (c) 1990 The Regents of the University of California.
@@ -115,7 +115,7 @@
  */
 
 #define SBIC_CTL_DMA		0x80	/* Single byte dma */
-#define SBIC_CTL_DBA_DMA	0x40	/* direct buffer acces (bus master)*/
+#define SBIC_CTL_DBA_DMA	0x40	/* direct buffer access (bus master)*/
 #define SBIC_CTL_BURST_DMA	0x20	/* continuous mode (8237) */
 #define SBIC_CTL_NO_DMA		0x00	/* Programmed I/O */
 #define SBIC_CTL_HHP		0x10	/* Halt on host parity error */

Index: src/sys/arch/xen/include/i82489var.h
diff -u src/sys/arch/xen/include/i82489var.h:1.2 src/sys/arch/xen/include/i82489var.h:1.3
--- src/sys/arch/xen/include/i82489var.h:1.2	Sun Nov 14 13:40:31 2010
+++ src/sys/arch/xen/include/i82489var.h	Thu Sep 16 20:17:47 2021
@@ -1,9 +1,9 @@
-/*	$NetBSD: i82489var.h,v 1.2 2010/11/14 13:40:31 bouyer Exp $	*/
+/*	$NetBSD: i82489var.h,v 1.3 2021/09/16 20:17:47 andvar Exp $	*/
 
 #include <x86/i82489var.h>
 
 /*
- * Xen doesn't give acces to the lapic. In addition, the lapic number provided
+ * Xen doesn't give access to the lapic. In addition, the lapic number provided
  * by the dom0 to Xen when setting up iopics is ignored, the hypervisor will
  * decide itself to which physical CPU the interrupt should be routed to.
  */

Index: src/sys/dev/pci/if_bge.c
diff -u src/sys/dev/pci/if_bge.c:1.348 src/sys/dev/pci/if_bge.c:1.349
--- src/sys/dev/pci/if_bge.c:1.348	Fri Sep  3 21:55:00 2021
+++ src/sys/dev/pci/if_bge.c	Thu Sep 16 20:17:47 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_bge.c,v 1.348 2021/09/03 21:55:00 andvar Exp $	*/
+/*	$NetBSD: if_bge.c,v 1.349 2021/09/16 20:17:47 andvar Exp $	*/
 
 /*
  * Copyright (c) 2001 Wind River Systems
@@ -79,7 +79,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.348 2021/09/03 21:55:00 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.349 2021/09/16 20:17:47 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -2903,7 +2903,7 @@ bge_blockinit(struct bge_softc *sc)
 		/*
 		 * Enable fix for read DMA FIFO overruns.
 		 * The fix is to limit the number of RX BDs
-		 * the hardware would fetch at a fime.
+		 * the hardware would fetch at a time.
 		 */
 		CSR_WRITE_4(sc, rdmareg, dmactl |
 		    BGE_RDMA_RSRVCTRL_FIFO_OFLW_FIX);

Index: src/sys/net/if.c
diff -u src/sys/net/if.c:1.487 src/sys/net/if.c:1.488
--- src/sys/net/if.c:1.487	Thu Jul  1 22:08:13 2021
+++ src/sys/net/if.c	Thu Sep 16 20:17:47 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: if.c,v 1.487 2021/07/01 22:08:13 blymn Exp $	*/
+/*	$NetBSD: if.c,v 1.488 2021/09/16 20:17:47 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.487 2021/07/01 22:08:13 blymn Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.488 2021/09/16 20:17:47 andvar Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_inet.h"
@@ -1326,7 +1326,7 @@ if_detach(struct ifnet *ifp)
 	/*
 	 * Unset all queued link states and pretend a
 	 * link state change is scheduled.
-	 * This stops any more link state changes occuring for this
+	 * This stops any more link state changes occurring for this
 	 * interface while it's being detached so it's safe
 	 * to drain the workqueue.
 	 */

Index: src/sys/nfs/nfs_serv.c
diff -u src/sys/nfs/nfs_serv.c:1.181 src/sys/nfs/nfs_serv.c:1.182
--- src/sys/nfs/nfs_serv.c:1.181	Sat Sep  5 16:30:12 2020
+++ src/sys/nfs/nfs_serv.c	Thu Sep 16 20:17:47 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: nfs_serv.c,v 1.181 2020/09/05 16:30:12 riastradh Exp $	*/
+/*	$NetBSD: nfs_serv.c,v 1.182 2021/09/16 20:17:47 andvar Exp $	*/
 
 /*
  * Copyright (c) 1989, 1993
@@ -55,7 +55,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nfs_serv.c,v 1.181 2020/09/05 16:30:12 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nfs_serv.c,v 1.182 2021/09/16 20:17:47 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -353,7 +353,7 @@ nfsrv_setattr(struct nfsrv_descript *nfs
 	}
 
 	/*
-	 * If the size is being changed write acces is required, otherwise
+	 * If the size is being changed write access is required, otherwise
 	 * just check for a read only file system.
 	 */
 	if (va.va_size == ((u_quad_t)((quad_t) -1))) {

Index: src/sys/sys/flashio.h
diff -u src/sys/sys/flashio.h:1.4 src/sys/sys/flashio.h:1.5
--- src/sys/sys/flashio.h:1.4	Tue Jun 28 20:49:43 2011
+++ src/sys/sys/flashio.h	Thu Sep 16 20:17:48 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: flashio.h,v 1.4 2011/06/28 20:49:43 ahoka Exp $	*/
+/*	$NetBSD: flashio.h,v 1.5 2021/09/16 20:17:48 andvar Exp $	*/
 
 /*-
  * Copyright (c) 2011 Department of Software Engineering,
@@ -37,7 +37,7 @@
 
 #include <sys/ioctl.h>
 
-/* this header may be used fron the kernel */
+/* this header may be used from the kernel */
 #if defined(_KERNEL) || defined(_STANDALONE)
 #include <sys/types.h>
 #else

Reply via email to