Module Name:    src
Committed By:   andvar
Date:           Wed Jan 26 11:48:54 UTC 2022

Modified Files:
        src/bin/ps: print.c
        src/lib/libc/gdtoa: gdtoaimp.h
        src/lib/libukfs: ukfs.3
        src/share/man/man4/man4.hppa: intro.4
        src/share/man/man9: secmodel.9
        src/sys/arch/evbarm/smdk2xx0: smdk2410_kbd.c
        src/sys/arch/m68k: Makefile.cmachflags
        src/sys/arch/mips/cavium: octeonvar.h
        src/sys/kern: init_main.c
        src/tests/kernel: t_kauth_pr_47598.c

Log Message:
remove double t from targeted, add missing r to arbitrary
And fix few more typos along the way in comments and man pages.


To generate a diff of this commit:
cvs rdiff -u -r1.137 -r1.138 src/bin/ps/print.c
cvs rdiff -u -r1.17 -r1.18 src/lib/libc/gdtoa/gdtoaimp.h
cvs rdiff -u -r1.17 -r1.18 src/lib/libukfs/ukfs.3
cvs rdiff -u -r1.2 -r1.3 src/share/man/man4/man4.hppa/intro.4
cvs rdiff -u -r1.22 -r1.23 src/share/man/man9/secmodel.9
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/evbarm/smdk2xx0/smdk2410_kbd.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/m68k/Makefile.cmachflags
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/mips/cavium/octeonvar.h
cvs rdiff -u -r1.535 -r1.536 src/sys/kern/init_main.c
cvs rdiff -u -r1.5 -r1.6 src/tests/kernel/t_kauth_pr_47598.c

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

Modified files:

Index: src/bin/ps/print.c
diff -u src/bin/ps/print.c:1.137 src/bin/ps/print.c:1.138
--- src/bin/ps/print.c:1.137	Tue Sep 14 22:01:17 2021
+++ src/bin/ps/print.c	Wed Jan 26 11:48:53 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: print.c,v 1.137 2021/09/14 22:01:17 christos Exp $	*/
+/*	$NetBSD: print.c,v 1.138 2022/01/26 11:48:53 andvar Exp $	*/
 
 /*
  * Copyright (c) 2000, 2007 The NetBSD Foundation, Inc.
@@ -63,7 +63,7 @@
 #if 0
 static char sccsid[] = "@(#)print.c	8.6 (Berkeley) 4/16/94";
 #else
-__RCSID("$NetBSD: print.c,v 1.137 2021/09/14 22:01:17 christos Exp $");
+__RCSID("$NetBSD: print.c,v 1.138 2022/01/26 11:48:53 andvar Exp $");
 #endif
 #endif /* not lint */
 
@@ -838,7 +838,7 @@ lstarted(struct pinfo *pi, VARENT *ve, e
 		 * P1003.1-2004 comment in findvar()).
 		 *
 		 * XXX: The hardcoded "STARTED" string.  Better or
-		 * worse than a "<= 7" or some other arbitary number?
+		 * worse than a "<= 7" or some other arbitrary number?
 		 */
 		if (v->width > (int)sizeof("STARTED") - 1) {
 			return;

Index: src/lib/libc/gdtoa/gdtoaimp.h
diff -u src/lib/libc/gdtoa/gdtoaimp.h:1.17 src/lib/libc/gdtoa/gdtoaimp.h:1.18
--- src/lib/libc/gdtoa/gdtoaimp.h:1.17	Wed Aug  7 15:37:46 2019
+++ src/lib/libc/gdtoa/gdtoaimp.h	Wed Jan 26 11:48:53 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: gdtoaimp.h,v 1.17 2019/08/07 15:37:46 riastradh Exp $ */
+/* $NetBSD: gdtoaimp.h,v 1.18 2022/01/26 11:48:53 andvar Exp $ */
 
 /****************************************************************
 
@@ -28,7 +28,7 @@ THIS SOFTWARE.
 
 ****************************************************************/
 
-/* This is a variation on dtoa.c that converts arbitary binary
+/* This is a variation on dtoa.c that converts arbitrary binary
    floating-point formats to and from decimal notation.  It uses
    double-precision arithmetic internally, so there are still
    various #ifdefs that adapt the calculations to the native

Index: src/lib/libukfs/ukfs.3
diff -u src/lib/libukfs/ukfs.3:1.17 src/lib/libukfs/ukfs.3:1.18
--- src/lib/libukfs/ukfs.3:1.17	Thu Sep 16 22:19:10 2021
+++ src/lib/libukfs/ukfs.3	Wed Jan 26 11:48:53 2022
@@ -1,4 +1,4 @@
-.\"     $NetBSD: ukfs.3,v 1.17 2021/09/16 22:19:10 andvar Exp $
+.\"     $NetBSD: ukfs.3,v 1.18 2022/01/26 11:48:53 andvar Exp $
 .\"
 .\" Copyright (c) 2008 Antti Kantee.  All rights reserved.
 .\"
@@ -92,7 +92,7 @@ is used at runtime to dynamically load a
 file system module.
 For this to succeed, the
 .Xr rump 3
-kernel and the module targetted must be compiled with compatible kernel
+kernel and the module targeted must be compiled with compatible kernel
 versions and the application must be dynamically linked.
 Additionally, since this routine does not handle dependencies, all the
 dependencies of the library must be loaded beforehand.
@@ -142,7 +142,7 @@ types, as many as fit will be returned.
 .Fn ukfs_mount
 initializes a file system image.
 The handle resulting from the operation is passed to all other routines
-and identifies the instance of the mount analoguous to what a pathname
+and identifies the instance of the mount analogous to what a pathname
 specifies in a normally mounted file system.
 The parameters are the following:
 .Bl -tag -width XXX -offset indent
@@ -152,7 +152,7 @@ Name of the file system to be used, e.g.
 .It devpath
 Path of file system image.
 It can be either a regular file, device or, if the file system does
-not support the concept of a device, an abitrary string, e.g. network
+not support the concept of a device, an arbitrary string, e.g. network
 address.
 .It mountpath
 Path where the file system is mounted to.

Index: src/share/man/man4/man4.hppa/intro.4
diff -u src/share/man/man4/man4.hppa/intro.4:1.2 src/share/man/man4/man4.hppa/intro.4:1.3
--- src/share/man/man4/man4.hppa/intro.4:1.2	Fri Feb 17 22:24:46 2017
+++ src/share/man/man4/man4.hppa/intro.4	Wed Jan 26 11:48:53 2022
@@ -1,4 +1,4 @@
-.\"	$NetBSD: intro.4,v 1.2 2017/02/17 22:24:46 christos Exp $
+.\"	$NetBSD: intro.4,v 1.3 2022/01/26 11:48:53 andvar Exp $
 .\"
 .\" $OpenBSD: intro.4,v 1.5 2004/04/16 21:23:08 jmc Exp $
 .\"
@@ -145,7 +145,7 @@ PS/2 port keyboard and mouse
 .Pp
 Below a list of
 .Tn HP 9000/700
-models targetted for support is listed, including basic
+models targeted for support is listed, including basic
 system characteristics.
 .Bl -column "J210XC" "200" "7300LC" "64/64(+1MB)" "Expansion" -offset left
 .It "Model" Ta "MHz" Ta "CPU" Ta "Caches, KB" Ta "Expansion"

Index: src/share/man/man9/secmodel.9
diff -u src/share/man/man9/secmodel.9:1.22 src/share/man/man9/secmodel.9:1.23
--- src/share/man/man9/secmodel.9:1.22	Mon Jul  3 21:28:48 2017
+++ src/share/man/man9/secmodel.9	Wed Jan 26 11:48:53 2022
@@ -1,4 +1,4 @@
-.\" $NetBSD: secmodel.9,v 1.22 2017/07/03 21:28:48 wiz Exp $
+.\" $NetBSD: secmodel.9,v 1.23 2022/01/26 11:48:53 andvar Exp $
 .\"
 .\" Copyright (c) 2006 Elad Efrat <e...@netbsd.org>
 .\" All rights reserved.
@@ -139,19 +139,19 @@ positive, when the error comes directly 
 framework.
 .It
 negative, when the error comes from the evaluation callback
-implemented in the targetted security model.
+implemented in the targeted security model.
 The value is then implementation-defined.
 .El
 .Pp
 .Bl -tag -width what
 .It Fa id
-The unique identifier of the targetted
+The unique identifier of the targeted
 .Nm .
 .It Fa what
-The query that will be passed down to the targetted
+The query that will be passed down to the targeted
 .Nm .
 .It Fa arg
-The arguments passed to the evaluation routine of the targetted
+The arguments passed to the evaluation routine of the targeted
 .Nm .
 .It Fa ret
 The answer of the evaluation routine.
@@ -170,7 +170,7 @@ An invalid address or reference was pass
 .It Bq Er EINVAL
 An invalid value was passed as parameter.
 .It Bq Er ENOENT
-The targetted
+The targeted
 .Nm
 does not exist, or it does not implement an evaluation callback.
 .El

Index: src/sys/arch/evbarm/smdk2xx0/smdk2410_kbd.c
diff -u src/sys/arch/evbarm/smdk2xx0/smdk2410_kbd.c:1.11 src/sys/arch/evbarm/smdk2xx0/smdk2410_kbd.c:1.12
--- src/sys/arch/evbarm/smdk2xx0/smdk2410_kbd.c:1.11	Tue Jan 25 22:01:34 2022
+++ src/sys/arch/evbarm/smdk2xx0/smdk2410_kbd.c	Wed Jan 26 11:48:53 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: smdk2410_kbd.c,v 1.11 2022/01/25 22:01:34 andvar Exp $ */
+/* $NetBSD: smdk2410_kbd.c,v 1.12 2022/01/26 11:48:53 andvar Exp $ */
 
 /*
  * Copyright (c) 2004  Genetec Corporation.  All rights reserved.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: smdk2410_kbd.c,v 1.11 2022/01/25 22:01:34 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: smdk2410_kbd.c,v 1.12 2022/01/26 11:48:53 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -76,7 +76,7 @@ __KERNEL_RCSID(0, "$NetBSD: smdk2410_kbd
  */
 #define	KCDR_INITIALIZE	0xa0	/* Initialize request */
 #define	KCDR_INITCOMP	0xa1	/* Initialize complete */
-#define	KCDR_HEARTBEAT	0xa2	/* Heaartbeat request/response */
+#define	KCDR_HEARTBEAT	0xa2	/* Heartbeat request/response */
 #define	KCDR_IDENTIFY	0xf2	/* Identification request/response */
 #define	KCDR_LEDSTATUS	0xa3	/* LED status request/report */
 #define	KCDR_LEDMODIFY	0xa6	/* LED mode modify */
@@ -85,9 +85,9 @@ __KERNEL_RCSID(0, "$NetBSD: smdk2410_kbd
 #define	KCDR_OUTPUT	0xa8	/* output to GPIO0 pin */
 #define	KCDR_SETWAKEUP	0xa9	/* define wake-up keys */
 
-#define	KCDR_CONTROL	0x80	/* Commands from KeyCorder to Host starts with
+#define	KCDR_CONTROL	0x80	/* Commands from KeyCoder to Host starts with
 				   this code. */
-#define	KCDR_ESC	0x1b	/* Commands from host to KeyCorder starts with
+#define	KCDR_ESC	0x1b	/* Commands from host to KeyCoder starts with
 				   this code. */
 
 /*

Index: src/sys/arch/m68k/Makefile.cmachflags
diff -u src/sys/arch/m68k/Makefile.cmachflags:1.3 src/sys/arch/m68k/Makefile.cmachflags:1.4
--- src/sys/arch/m68k/Makefile.cmachflags:1.3	Tue Dec 15 05:48:30 2020
+++ src/sys/arch/m68k/Makefile.cmachflags	Wed Jan 26 11:48:53 2022
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.cmachflags,v 1.3 2020/12/15 05:48:30 martin Exp $
+#	$NetBSD: Makefile.cmachflags,v 1.4 2022/01/26 11:48:53 andvar Exp $
 
 # Set CMACHFLAGS best target the specific CPU combination, based on
 # their "options" setting.
@@ -10,7 +10,7 @@
 #   CMACHFLAGS+=    -Wa,-m68030 -Wa,-m68851
 #   .endif
 
-# Table of CPUs targetted vs gcc flags. Note: -m68020 and -m68030 are
+# Table of CPUs targeted vs gcc flags. Note: -m68020 and -m68030 are
 # ~identical, but they are both included for completeness.
 
 # 020 030 040 060 -m68020-60

Index: src/sys/arch/mips/cavium/octeonvar.h
diff -u src/sys/arch/mips/cavium/octeonvar.h:1.17 src/sys/arch/mips/cavium/octeonvar.h:1.18
--- src/sys/arch/mips/cavium/octeonvar.h:1.17	Tue Jul 28 00:35:38 2020
+++ src/sys/arch/mips/cavium/octeonvar.h	Wed Jan 26 11:48:54 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: octeonvar.h,v 1.17 2020/07/28 00:35:38 simonb Exp $	*/
+/*	$NetBSD: octeonvar.h,v 1.18 2022/01/26 11:48:54 andvar Exp $	*/
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
 extern int	octeon_core_ver;
 #endif /* _KERNEL */
 #define	OCTEON_1		1
-#define	OCTEON_PLUS		10	/* arbitary, keep sequence for others */
+#define	OCTEON_PLUS		10	/* arbitrary, keep sequence for others */
 #define	OCTEON_2		2
 #define	OCTEON_3		3
 

Index: src/sys/kern/init_main.c
diff -u src/sys/kern/init_main.c:1.535 src/sys/kern/init_main.c:1.536
--- src/sys/kern/init_main.c:1.535	Thu Apr  1 04:41:38 2021
+++ src/sys/kern/init_main.c	Wed Jan 26 11:48:54 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: init_main.c,v 1.535 2021/04/01 04:41:38 simonb Exp $	*/
+/*	$NetBSD: init_main.c,v 1.536 2022/01/26 11:48:54 andvar Exp $	*/
 
 /*-
  * Copyright (c) 2008, 2009, 2019 The NetBSD Foundation, Inc.
@@ -97,7 +97,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.535 2021/04/01 04:41:38 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.536 2022/01/26 11:48:54 andvar Exp $");
 
 #include "opt_cnmagic.h"
 #include "opt_ddb.h"
@@ -488,7 +488,7 @@ main(void)
 	 * If maximum number of files is not explicitly defined in
 	 * kernel config, adjust the number so that it is somewhat
 	 * more reasonable on machines with larger memory sizes.
-	 * Arbitary numbers are 20,000 files for 16GB RAM or more
+	 * Arbitrary numbers are 20,000 files for 16GB RAM or more
 	 * and 10,000 files for 1GB RAM or more.
 	 *
 	 * XXXtodo: adjust this and other values totally dynamically

Index: src/tests/kernel/t_kauth_pr_47598.c
diff -u src/tests/kernel/t_kauth_pr_47598.c:1.5 src/tests/kernel/t_kauth_pr_47598.c:1.6
--- src/tests/kernel/t_kauth_pr_47598.c:1.5	Sun Sep 19 10:34:10 2021
+++ src/tests/kernel/t_kauth_pr_47598.c	Wed Jan 26 11:48:54 2022
@@ -27,7 +27,7 @@
 #include <sys/cdefs.h>
 __COPYRIGHT("@(#) Copyright (c) 2013\
  The NetBSD Foundation, inc. All rights reserved.");
-__RCSID("$NetBSD: t_kauth_pr_47598.c,v 1.5 2021/09/19 10:34:10 andvar Exp $");
+__RCSID("$NetBSD: t_kauth_pr_47598.c,v 1.6 2022/01/26 11:48:54 andvar Exp $");
 
 #include <errno.h>
 #include <unistd.h>
@@ -117,7 +117,7 @@ ATF_TC_BODY(kauth_curtain, tc)
 	set_curtain(1);
 
 	/*
-	 * create a socket and bind it to some arbitray free port
+	 * create a socket and bind it to some arbitrary free port
 	 */
 	s = socket(PF_INET, SOCK_STREAM|SOCK_NONBLOCK, 0);
 	ATF_REQUIRE_MSG(s != -1, "socket: %d", errno);

Reply via email to