Module Name:    src
Committed By:   andvar
Date:           Sat Aug 21 23:00:32 UTC 2021

Modified Files:
        src/etc/rc.d: lvm
        src/lib/libc/rpc: clnt_dg.c clnt_vc.c svc.c xdr_rec.c
        src/lib/libisns: isns_pdu.c
        src/sys/arch/amiga/dev: amidisplaycc.c
        src/sys/arch/arm/broadcom: bcm2835_gpio.c
        src/sys/arch/m68k/fpe: README
        src/sys/arch/m68k/fpsp: ssin.sa
        src/sys/arch/prep/stand/boot: siop.c
        src/sys/ddb: db_command.c
        src/sys/dev/acpi/acpica: OsdEnvironment.c
        src/sys/dev/ic: ibm82660reg.h
        src/sys/dev/scsipi: cd.c
        src/sys/kern: subr_kobj.c
        src/tests/lib/libc/gen/posix_spawn: h_spawnattr.c
        src/usr.sbin/mopd/common: print.c

Log Message:
fix mainly same typos as in my previous commit but outside sys/dev/dm.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/etc/rc.d/lvm
cvs rdiff -u -r1.29 -r1.30 src/lib/libc/rpc/clnt_dg.c
cvs rdiff -u -r1.26 -r1.27 src/lib/libc/rpc/clnt_vc.c
cvs rdiff -u -r1.39 -r1.40 src/lib/libc/rpc/svc.c
cvs rdiff -u -r1.37 -r1.38 src/lib/libc/rpc/xdr_rec.c
cvs rdiff -u -r1.4 -r1.5 src/lib/libisns/isns_pdu.c
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/amiga/dev/amidisplaycc.c
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/arm/broadcom/bcm2835_gpio.c
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/m68k/fpe/README
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/m68k/fpsp/ssin.sa
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/prep/stand/boot/siop.c
cvs rdiff -u -r1.177 -r1.178 src/sys/ddb/db_command.c
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/acpi/acpica/OsdEnvironment.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/ic/ibm82660reg.h
cvs rdiff -u -r1.351 -r1.352 src/sys/dev/scsipi/cd.c
cvs rdiff -u -r1.68 -r1.69 src/sys/kern/subr_kobj.c
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/gen/posix_spawn/h_spawnattr.c
cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/mopd/common/print.c

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

Modified files:

Index: src/etc/rc.d/lvm
diff -u src/etc/rc.d/lvm:1.7 src/etc/rc.d/lvm:1.8
--- src/etc/rc.d/lvm:1.7	Tue Aug  3 05:15:20 2021
+++ src/etc/rc.d/lvm	Sat Aug 21 23:00:30 2021
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: lvm,v 1.7 2021/08/03 05:15:20 mlelstv Exp $
+# $NetBSD: lvm,v 1.8 2021/08/21 23:00:30 andvar Exp $
 #
 
 # PROVIDE: lvm
@@ -32,7 +32,7 @@ lvm_start()
 		# Scan for all available VG's
 		/sbin/lvm vgscan --mknodes --ignorelockingfailure >/dev/null
 
-		# Activate all LV's and create apropriate nodes in /dev
+		# Activate all LV's and create appropriate nodes in /dev
 		/sbin/lvm vgchange --ignorelockingfailure -a y >/dev/null
 		LV_LIST=$(/sbin/lvm vgdisplay -C -o vg_name --noheadings 2>/dev/null)
 		echo " Activated Volume Groups:" $LV_LIST

Index: src/lib/libc/rpc/clnt_dg.c
diff -u src/lib/libc/rpc/clnt_dg.c:1.29 src/lib/libc/rpc/clnt_dg.c:1.30
--- src/lib/libc/rpc/clnt_dg.c:1.29	Tue May  7 21:08:44 2013
+++ src/lib/libc/rpc/clnt_dg.c	Sat Aug 21 23:00:30 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: clnt_dg.c,v 1.29 2013/05/07 21:08:44 christos Exp $	*/
+/*	$NetBSD: clnt_dg.c,v 1.30 2021/08/21 23:00:30 andvar Exp $	*/
 
 /*
  * Copyright (c) 2010, Oracle America, Inc.
@@ -41,7 +41,7 @@
 #if 0
 static char sccsid[] = "@(#)clnt_dg.c 1.19 89/03/16 Copyr 1988 Sun Micro";
 #else
-__RCSID("$NetBSD: clnt_dg.c,v 1.29 2013/05/07 21:08:44 christos Exp $");
+__RCSID("$NetBSD: clnt_dg.c,v 1.30 2021/08/21 23:00:30 andvar Exp $");
 #endif
 #endif
 
@@ -92,9 +92,9 @@ static void clnt_dg_destroy(CLIENT *);
  *	This machinery implements per-fd locks for MT-safety.  It is not
  *	sufficient to do per-CLIENT handle locks for MT-safety because a
  *	user may create more than one CLIENT handle with the same fd behind
- *	it.  Therfore, we allocate an array of flags (dg_fd_locks), protected
+ *	it.  Therefore, we allocate an array of flags (dg_fd_locks), protected
  *	by the clnt_fd_lock mutex, and an array (dg_cv) of condition variables
- *	similarly protected.  Dg_fd_lock[fd] == 1 => a call is activte on some
+ *	similarly protected.  Dg_fd_lock[fd] == 1 => a call is active on some
  *	CLIENT handle created for that fd.
  *	The current implementation holds locks across the entire RPC and reply,
  *	including retransmissions.  Yes, this is silly, and as soon as this

Index: src/lib/libc/rpc/clnt_vc.c
diff -u src/lib/libc/rpc/clnt_vc.c:1.26 src/lib/libc/rpc/clnt_vc.c:1.27
--- src/lib/libc/rpc/clnt_vc.c:1.26	Tue Jan 20 18:31:25 2015
+++ src/lib/libc/rpc/clnt_vc.c	Sat Aug 21 23:00:30 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: clnt_vc.c,v 1.26 2015/01/20 18:31:25 christos Exp $	*/
+/*	$NetBSD: clnt_vc.c,v 1.27 2021/08/21 23:00:30 andvar Exp $	*/
 
 /*
  * Copyright (c) 2010, Oracle America, Inc.
@@ -38,7 +38,7 @@ static char *sccsid = "@(#)clnt_tcp.c 1.
 static char *sccsid = "@(#)clnt_tcp.c	2.2 88/08/01 4.0 RPCSRC";
 static char sccsid[] = "@(#)clnt_vc.c 1.19 89/03/16 Copyr 1988 Sun Micro";
 #else
-__RCSID("$NetBSD: clnt_vc.c,v 1.26 2015/01/20 18:31:25 christos Exp $");
+__RCSID("$NetBSD: clnt_vc.c,v 1.27 2021/08/21 23:00:30 andvar Exp $");
 #endif
 #endif
  
@@ -119,9 +119,9 @@ struct ct_data {
  *      This machinery implements per-fd locks for MT-safety.  It is not
  *      sufficient to do per-CLIENT handle locks for MT-safety because a
  *      user may create more than one CLIENT handle with the same fd behind
- *      it.  Therfore, we allocate an array of flags (vc_fd_locks), protected
+ *      it.  Therefore, we allocate an array of flags (vc_fd_locks), protected
  *      by the clnt_fd_lock mutex, and an array (vc_cv) of condition variables
- *      similarly protected.  Vc_fd_lock[fd] == 1 => a call is activte on some
+ *      similarly protected.  Vc_fd_lock[fd] == 1 => a call is active on some
  *      CLIENT handle created for that fd.
  *      The current implementation holds locks across the entire RPC and reply.
  *      Yes, this is silly, and as soon as this code is proven to work, this

Index: src/lib/libc/rpc/svc.c
diff -u src/lib/libc/rpc/svc.c:1.39 src/lib/libc/rpc/svc.c:1.40
--- src/lib/libc/rpc/svc.c:1.39	Fri Nov 13 15:22:12 2015
+++ src/lib/libc/rpc/svc.c	Sat Aug 21 23:00:30 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: svc.c,v 1.39 2015/11/13 15:22:12 christos Exp $	*/
+/*	$NetBSD: svc.c,v 1.40 2021/08/21 23:00:30 andvar Exp $	*/
 
 /*
  * Copyright (c) 2010, Oracle America, Inc.
@@ -37,7 +37,7 @@
 static char *sccsid = "@(#)svc.c 1.44 88/02/08 Copyr 1984 Sun Micro";
 static char *sccsid = "@(#)svc.c	2.4 88/08/11 4.0 RPCSRC";
 #else
-__RCSID("$NetBSD: svc.c,v 1.39 2015/11/13 15:22:12 christos Exp $");
+__RCSID("$NetBSD: svc.c,v 1.40 2021/08/21 23:00:30 andvar Exp $");
 #endif
 #endif
 
@@ -106,7 +106,7 @@ int __svc_maxrec;
  * The services list
  * Each entry represents a set of procedures (an rpc program).
  * The dispatch routine takes request structs and runs the
- * apropriate procedure.
+ * appropriate procedure.
  */
 static struct svc_callout {
 	struct svc_callout *sc_next;

Index: src/lib/libc/rpc/xdr_rec.c
diff -u src/lib/libc/rpc/xdr_rec.c:1.37 src/lib/libc/rpc/xdr_rec.c:1.38
--- src/lib/libc/rpc/xdr_rec.c:1.37	Wed Jul 25 23:59:08 2018
+++ src/lib/libc/rpc/xdr_rec.c	Sat Aug 21 23:00:30 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: xdr_rec.c,v 1.37 2018/07/25 23:59:08 kamil Exp $	*/
+/*	$NetBSD: xdr_rec.c,v 1.38 2021/08/21 23:00:30 andvar Exp $	*/
 
 /*
  * Copyright (c) 2010, Oracle America, Inc.
@@ -37,7 +37,7 @@
 static char *sccsid = "@(#)xdr_rec.c 1.21 87/08/11 Copyr 1984 Sun Micro";
 static char *sccsid = "@(#)xdr_rec.c	2.2 88/08/01 4.0 RPCSRC";
 #else
-__RCSID("$NetBSD: xdr_rec.c,v 1.37 2018/07/25 23:59:08 kamil Exp $");
+__RCSID("$NetBSD: xdr_rec.c,v 1.38 2021/08/21 23:00:30 andvar Exp $");
 #endif
 #endif
 
@@ -479,7 +479,7 @@ xdrrec_skiprecord(XDR *xdrs)
 }
 
 /*
- * Look ahead fuction.
+ * Look ahead function.
  * Returns TRUE iff there is no more input in the buffer 
  * after consuming the rest of the current record.
  */

Index: src/lib/libisns/isns_pdu.c
diff -u src/lib/libisns/isns_pdu.c:1.4 src/lib/libisns/isns_pdu.c:1.5
--- src/lib/libisns/isns_pdu.c:1.4	Thu Feb  8 09:05:17 2018
+++ src/lib/libisns/isns_pdu.c	Sat Aug 21 23:00:30 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: isns_pdu.c,v 1.4 2018/02/08 09:05:17 dholland Exp $	*/
+/*	$NetBSD: isns_pdu.c,v 1.5 2021/08/21 23:00:30 andvar Exp $	*/
 
 /*-
  * Copyright (c) 2004,2009 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
 
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: isns_pdu.c,v 1.4 2018/02/08 09:05:17 dholland Exp $");
+__RCSID("$NetBSD: isns_pdu.c,v 1.5 2021/08/21 23:00:30 andvar Exp $");
 
 
 #include <sys/types.h>
@@ -768,7 +768,7 @@ isns_get_pdu_request_tail(struct isns_tr
 
 
 /*
- * isns_new_pdu - allocates a new PDU and assigns funtion ID and flags
+ * isns_new_pdu - allocates a new PDU and assigns function ID and flags
  */
 struct isns_pdu_s *
 isns_new_pdu(struct isns_config_s *cfg_p, uint16_t trans_id, uint16_t func_id,

Index: src/sys/arch/amiga/dev/amidisplaycc.c
diff -u src/sys/arch/amiga/dev/amidisplaycc.c:1.37 src/sys/arch/amiga/dev/amidisplaycc.c:1.38
--- src/sys/arch/amiga/dev/amidisplaycc.c:1.37	Sat Aug  7 16:18:41 2021
+++ src/sys/arch/amiga/dev/amidisplaycc.c	Sat Aug 21 23:00:31 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: amidisplaycc.c,v 1.37 2021/08/07 16:18:41 thorpej Exp $ */
+/*	$NetBSD: amidisplaycc.c,v 1.38 2021/08/21 23:00:31 andvar Exp $ */
 
 /*-
  * Copyright (c) 2000 Jukka Andberg.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amidisplaycc.c,v 1.37 2021/08/07 16:18:41 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: amidisplaycc.c,v 1.38 2021/08/21 23:00:31 andvar Exp $");
 
 /*
  * wscons interface to amiga custom chips. Contains the necessary functions
@@ -1930,7 +1930,7 @@ amidisplaycc_pollc(void *cookie, int on)
  * These dummy functions are here just so that we can compete of
  * the console at init.
  * If we win the console then the wscons system will provide the
- * real ones which in turn will call the apropriate wskbd device.
+ * real ones which in turn will call the appropriate wskbd device.
  * These should never be called.
  */
 

Index: src/sys/arch/arm/broadcom/bcm2835_gpio.c
diff -u src/sys/arch/arm/broadcom/bcm2835_gpio.c:1.22 src/sys/arch/arm/broadcom/bcm2835_gpio.c:1.23
--- src/sys/arch/arm/broadcom/bcm2835_gpio.c:1.22	Sat Aug  7 16:18:43 2021
+++ src/sys/arch/arm/broadcom/bcm2835_gpio.c	Sat Aug 21 23:00:31 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: bcm2835_gpio.c,v 1.22 2021/08/07 16:18:43 thorpej Exp $	*/
+/*	$NetBSD: bcm2835_gpio.c,v 1.23 2021/08/21 23:00:31 andvar Exp $	*/
 
 /*-
  * Copyright (c) 2013, 2014, 2017 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm2835_gpio.c,v 1.22 2021/08/07 16:18:43 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm2835_gpio.c,v 1.23 2021/08/21 23:00:31 andvar Exp $");
 
 /*
  * Driver for BCM2835 GPIO
@@ -196,7 +196,7 @@ bcm283x_pinctrl_set_config(device_t dev,
 	const u_int *func = fdtbus_get_prop(phandle, "brcm,function", &func_len);
 
 	if (!pull && !func) {
-		aprint_error_dev(dev, "one of brcm,pull or brcm,funcion must "
+		aprint_error_dev(dev, "one of brcm,pull or brcm,function must "
 		    "be specified");
 		return -1;
 	}

Index: src/sys/arch/m68k/fpe/README
diff -u src/sys/arch/m68k/fpe/README:1.6 src/sys/arch/m68k/fpe/README:1.7
--- src/sys/arch/m68k/fpe/README:1.6	Sat Apr 20 03:26:11 2013
+++ src/sys/arch/m68k/fpe/README	Sat Aug 21 23:00:31 2021
@@ -1,4 +1,4 @@
-* $NetBSD: README,v 1.6 2013/04/20 03:26:11 isaki Exp $
+* $NetBSD: README,v 1.7 2021/08/21 23:00:31 andvar Exp $
 * NetBSD/m68k FPE (floating point emulation) README file
 * Created Oct/??/95 by k...@remus.rutgers.edu (Ken Nakata)
 * Last updated Oct/15/2011 by tsutsui
@@ -116,7 +116,7 @@ type 0 arithmetic instruction follows th
 
 Where fe is a pointer to a struct fpemu in which frame, fpframe, and
 fetched operands are accessible.  That's right, you don't have to
-fetch the operands by yourself in your emulation funtion.  For
+fetch the operands by yourself in your emulation function.  For
 instance, the parts calling FSQRT, FSUB, FADD and FTST look like:
 
 	switch(word1 & 0x3F) {

Index: src/sys/arch/m68k/fpsp/ssin.sa
diff -u src/sys/arch/m68k/fpsp/ssin.sa:1.4 src/sys/arch/m68k/fpsp/ssin.sa:1.5
--- src/sys/arch/m68k/fpsp/ssin.sa:1.4	Mon Mar 13 23:52:32 2000
+++ src/sys/arch/m68k/fpsp/ssin.sa	Sat Aug 21 23:00:31 2021
@@ -1,4 +1,4 @@
-*	$NetBSD: ssin.sa,v 1.4 2000/03/13 23:52:32 soren Exp $
+*	$NetBSD: ssin.sa,v 1.5 2021/08/21 23:00:31 andvar Exp $
 
 *	MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP
 *	M68000 Hi-Performance Microprocessor Division
@@ -41,7 +41,7 @@
 *	Input: Double-extended number X in location pointed to
 *		by address register a0.
 *
-*	Output: The funtion value sin(X) or cos(X) returned in Fp0 if SIN or
+*	Output: The function value sin(X) or cos(X) returned in Fp0 if SIN or
 *		COS is requested. Otherwise, for SINCOS, sin(X) is returned
 *		in Fp0, and cos(X) is returned in Fp1.
 *

Index: src/sys/arch/prep/stand/boot/siop.c
diff -u src/sys/arch/prep/stand/boot/siop.c:1.4 src/sys/arch/prep/stand/boot/siop.c:1.5
--- src/sys/arch/prep/stand/boot/siop.c:1.4	Sat Jul 24 21:31:35 2021
+++ src/sys/arch/prep/stand/boot/siop.c	Sat Aug 21 23:00:31 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: siop.c,v 1.4 2021/07/24 21:31:35 andvar Exp $	*/
+/*	$NetBSD: siop.c,v 1.5 2021/08/21 23:00:31 andvar Exp $	*/
 /*
  * Copyright (c) 2010 KIYOHARA Takashi
  * All rights reserved.
@@ -180,7 +180,7 @@ siop_sdp(struct siop_adapter *adp, struc
 
 		siop_cmd->flags &= ~CMDFL_RESID;
 		table = &xfer->siop_tables.data[offset];
-		/* "cut" already transfered data from this table */
+		/* "cut" already transferred data from this table */
 		table->addr =
 		    htoc32(ctoh32(table->addr) + ctoh32(table->count) -
 							siop_cmd->resid);

Index: src/sys/ddb/db_command.c
diff -u src/sys/ddb/db_command.c:1.177 src/sys/ddb/db_command.c:1.178
--- src/sys/ddb/db_command.c:1.177	Fri Aug 13 20:47:55 2021
+++ src/sys/ddb/db_command.c	Sat Aug 21 23:00:31 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: db_command.c,v 1.177 2021/08/13 20:47:55 andvar Exp $	*/
+/*	$NetBSD: db_command.c,v 1.178 2021/08/21 23:00:31 andvar Exp $	*/
 
 /*
  * Copyright (c) 1996, 1997, 1998, 1999, 2002, 2009, 2019
@@ -61,7 +61,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_command.c,v 1.177 2021/08/13 20:47:55 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_command.c,v 1.178 2021/08/21 23:00:31 andvar Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_aio.h"
@@ -837,7 +837,7 @@ db_read_command(void)
 }
 
 /*
- * Parse command line and execute apropriate function.
+ * Parse command line and execute appropriate function.
  */
 static void
 db_command(const struct db_command **last_cmdp)

Index: src/sys/dev/acpi/acpica/OsdEnvironment.c
diff -u src/sys/dev/acpi/acpica/OsdEnvironment.c:1.6 src/sys/dev/acpi/acpica/OsdEnvironment.c:1.7
--- src/sys/dev/acpi/acpica/OsdEnvironment.c:1.6	Sun Jun 12 11:31:31 2011
+++ src/sys/dev/acpi/acpica/OsdEnvironment.c	Sat Aug 21 23:00:31 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: OsdEnvironment.c,v 1.6 2011/06/12 11:31:31 jruoho Exp $	*/
+/*	$NetBSD: OsdEnvironment.c,v 1.7 2021/08/21 23:00:31 andvar Exp $	*/
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: OsdEnvironment.c,v 1.6 2011/06/12 11:31:31 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: OsdEnvironment.c,v 1.7 2021/08/21 23:00:31 andvar Exp $");
 
 #include <sys/types.h>
 
@@ -83,7 +83,7 @@ AcpiOsTerminate(void)
 /*
  * AcpiOsGetRootPointer:
  *
- *	Obtain the Root ACPI talbe pointer (RSDP)
+ *	Obtain the Root ACPI table pointer (RSDP)
  */
 ACPI_PHYSICAL_ADDRESS
 AcpiOsGetRootPointer(void)

Index: src/sys/dev/ic/ibm82660reg.h
diff -u src/sys/dev/ic/ibm82660reg.h:1.3 src/sys/dev/ic/ibm82660reg.h:1.4
--- src/sys/dev/ic/ibm82660reg.h:1.3	Sat Jun 14 12:01:28 2008
+++ src/sys/dev/ic/ibm82660reg.h	Sat Aug 21 23:00:31 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: ibm82660reg.h,v 1.3 2008/06/14 12:01:28 mjf Exp $ */
+/* $NetBSD: ibm82660reg.h,v 1.4 2021/08/21 23:00:31 andvar Exp $ */
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
  * Also known as a Lanai/Kauai.
  */
 
-/* Memmory Bank Starting Addresses */
+/* Memory Bank Starting Addresses */
 #define	IBM_82660_MEM_BANK0_START	0x80
 #define	IBM_82660_MEM_BANK1_START	0x81
 #define	IBM_82660_MEM_BANK2_START	0x82

Index: src/sys/dev/scsipi/cd.c
diff -u src/sys/dev/scsipi/cd.c:1.351 src/sys/dev/scsipi/cd.c:1.352
--- src/sys/dev/scsipi/cd.c:1.351	Fri Apr 16 12:58:54 2021
+++ src/sys/dev/scsipi/cd.c	Sat Aug 21 23:00:32 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: cd.c,v 1.351 2021/04/16 12:58:54 reinoud Exp $	*/
+/*	$NetBSD: cd.c,v 1.352 2021/08/21 23:00:32 andvar Exp $	*/
 
 /*-
  * Copyright (c) 1998, 2001, 2003, 2004, 2005, 2008 The NetBSD Foundation,
@@ -50,7 +50,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cd.c,v 1.351 2021/04/16 12:58:54 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cd.c,v 1.352 2021/08/21 23:00:32 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -3376,7 +3376,7 @@ mmc_do_close_or_finalise(struct scsipi_p
 		    (void *)blob, sizeof(blob), flags, CDRETRIES, 20000);
 		if (error)
 			return error;
-		/* and use funtion 2 */
+		/* and use function 2 */
 		func = 2;
 		break;
 	case 0x11 : /* DVD-R (DL) */

Index: src/sys/kern/subr_kobj.c
diff -u src/sys/kern/subr_kobj.c:1.68 src/sys/kern/subr_kobj.c:1.69
--- src/sys/kern/subr_kobj.c:1.68	Wed Jun  9 15:15:35 2021
+++ src/sys/kern/subr_kobj.c	Sat Aug 21 23:00:32 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: subr_kobj.c,v 1.68 2021/06/09 15:15:35 christos Exp $	*/
+/*	$NetBSD: subr_kobj.c,v 1.69 2021/08/21 23:00:32 andvar Exp $	*/
 
 /*
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -63,7 +63,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_kobj.c,v 1.68 2021/06/09 15:15:35 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_kobj.c,v 1.69 2021/08/21 23:00:32 andvar Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_modular.h"
@@ -961,7 +961,7 @@ kobj_findbase(kobj_t ko, int sec)
  * kobj_checksyms:
  *
  *	Scan symbol table for duplicates or resolve references to
- *	exernal symbols.
+ *	external symbols.
  */
 static int
 kobj_checksyms(kobj_t ko, bool undefined)

Index: src/tests/lib/libc/gen/posix_spawn/h_spawnattr.c
diff -u src/tests/lib/libc/gen/posix_spawn/h_spawnattr.c:1.1 src/tests/lib/libc/gen/posix_spawn/h_spawnattr.c:1.2
--- src/tests/lib/libc/gen/posix_spawn/h_spawnattr.c:1.1	Mon Feb 13 21:03:08 2012
+++ src/tests/lib/libc/gen/posix_spawn/h_spawnattr.c	Sat Aug 21 23:00:32 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: h_spawnattr.c,v 1.1 2012/02/13 21:03:08 martin Exp $ */
+/* $NetBSD: h_spawnattr.c,v 1.2 2021/08/21 23:00:32 andvar Exp $ */
 
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 
 /*
  * Helper to test the hardcoded assumptions from t_spawnattr.c
- * Exit with apropriate exit status and print diagnostics to
+ * Exit with appropriate exit status and print diagnostics to
  * stderr explaining what is wrong.
  */
 int

Index: src/usr.sbin/mopd/common/print.c
diff -u src/usr.sbin/mopd/common/print.c:1.9 src/usr.sbin/mopd/common/print.c:1.10
--- src/usr.sbin/mopd/common/print.c:1.9	Mon Aug  2 12:56:25 2021
+++ src/usr.sbin/mopd/common/print.c	Sat Aug 21 23:00:32 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: print.c,v 1.9 2021/08/02 12:56:25 andvar Exp $	*/
+/*	$NetBSD: print.c,v 1.10 2021/08/21 23:00:32 andvar Exp $	*/
 
 /*
  * Copyright (c) 1993-96 Mats O Jansson.  All rights reserved.
@@ -26,7 +26,7 @@
 
 #include "port.h"
 #ifndef lint
-__RCSID("$NetBSD: print.c,v 1.9 2021/08/02 12:56:25 andvar Exp $");
+__RCSID("$NetBSD: print.c,v 1.10 2021/08/21 23:00:32 andvar Exp $");
 #endif
 
 #include <sys/types.h>
@@ -470,7 +470,7 @@ mopPrintInfo(FILE *fd, const u_char *pkt
 			break;
 		case MOP_K_INFO_MFCT:
 			tmps = mopGetShort(pkt,idx);
-			(void)fprintf(fd,"Maint Funcion: %04x ( ",tmps);
+			(void)fprintf(fd,"Maint Function: %04x ( ",tmps);
 			if (tmps &   1) (void)fprintf(fd, "Loop ");
 			if (tmps &   2) (void)fprintf(fd, "Dump ");
 			if (tmps &   4) (void)fprintf(fd, "Pldr ");

Reply via email to