Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src remove double t from targeted, add missing r to arbitrary



details:   https://anonhg.NetBSD.org/src/rev/d99233b7b958
branches:  trunk
changeset: 359829:d99233b7b958
user:      andvar <andvar%NetBSD.org@localhost>
date:      Wed Jan 26 11:48:53 2022 +0000

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

diffstat:

 bin/ps/print.c                          |   6 +++---
 lib/libc/gdtoa/gdtoaimp.h               |   4 ++--
 lib/libukfs/ukfs.3                      |   8 ++++----
 share/man/man4/man4.hppa/intro.4        |   4 ++--
 share/man/man9/secmodel.9               |  12 ++++++------
 sys/arch/evbarm/smdk2xx0/smdk2410_kbd.c |  10 +++++-----
 sys/arch/m68k/Makefile.cmachflags       |   4 ++--
 sys/arch/mips/cavium/octeonvar.h        |   4 ++--
 sys/kern/init_main.c                    |   6 +++---
 tests/kernel/t_kauth_pr_47598.c         |   4 ++--
 10 files changed, 31 insertions(+), 31 deletions(-)

diffs (264 lines):

diff -r e50b92908aaa -r d99233b7b958 bin/ps/print.c
--- a/bin/ps/print.c    Tue Jan 25 22:01:34 2022 +0000
+++ b/bin/ps/print.c    Wed Jan 26 11:48:53 2022 +0000
@@ -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 @@
                 * 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;
diff -r e50b92908aaa -r d99233b7b958 lib/libc/gdtoa/gdtoaimp.h
--- a/lib/libc/gdtoa/gdtoaimp.h Tue Jan 25 22:01:34 2022 +0000
+++ b/lib/libc/gdtoa/gdtoaimp.h Wed Jan 26 11:48:53 2022 +0000
@@ -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 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
diff -r e50b92908aaa -r d99233b7b958 lib/libukfs/ukfs.3
--- a/lib/libukfs/ukfs.3        Tue Jan 25 22:01:34 2022 +0000
+++ b/lib/libukfs/ukfs.3        Wed Jan 26 11:48:53 2022 +0000
@@ -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 @@
 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 @@
 .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 @@
 .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.
diff -r e50b92908aaa -r d99233b7b958 share/man/man4/man4.hppa/intro.4
--- a/share/man/man4/man4.hppa/intro.4  Tue Jan 25 22:01:34 2022 +0000
+++ b/share/man/man4/man4.hppa/intro.4  Wed Jan 26 11:48:53 2022 +0000
@@ -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 @@
 .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"
diff -r e50b92908aaa -r d99233b7b958 share/man/man9/secmodel.9
--- a/share/man/man9/secmodel.9 Tue Jan 25 22:01:34 2022 +0000
+++ b/share/man/man9/secmodel.9 Wed Jan 26 11:48:53 2022 +0000
@@ -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 <elad%NetBSD.org@localhost>
 .\" All rights reserved.
@@ -139,19 +139,19 @@
 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 @@
 .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
diff -r e50b92908aaa -r d99233b7b958 sys/arch/evbarm/smdk2xx0/smdk2410_kbd.c
--- a/sys/arch/evbarm/smdk2xx0/smdk2410_kbd.c   Tue Jan 25 22:01:34 2022 +0000
+++ b/sys/arch/evbarm/smdk2xx0/smdk2410_kbd.c   Wed Jan 26 11:48:53 2022 +0000
@@ -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 @@
  */
 #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 @@
 #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. */
 
 /*
diff -r e50b92908aaa -r d99233b7b958 sys/arch/m68k/Makefile.cmachflags
--- a/sys/arch/m68k/Makefile.cmachflags Tue Jan 25 22:01:34 2022 +0000
+++ b/sys/arch/m68k/Makefile.cmachflags Wed Jan 26 11:48:53 2022 +0000
@@ -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
diff -r e50b92908aaa -r d99233b7b958 sys/arch/mips/cavium/octeonvar.h
--- a/sys/arch/mips/cavium/octeonvar.h  Tue Jan 25 22:01:34 2022 +0000
+++ b/sys/arch/mips/cavium/octeonvar.h  Wed Jan 26 11:48:53 2022 +0000
@@ -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
 
diff -r e50b92908aaa -r d99233b7b958 sys/kern/init_main.c
--- a/sys/kern/init_main.c      Tue Jan 25 22:01:34 2022 +0000
+++ b/sys/kern/init_main.c      Wed Jan 26 11:48:53 2022 +0000
@@ -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 @@
         * 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
diff -r e50b92908aaa -r d99233b7b958 tests/kernel/t_kauth_pr_47598.c
--- a/tests/kernel/t_kauth_pr_47598.c   Tue Jan 25 22:01:34 2022 +0000
+++ b/tests/kernel/t_kauth_pr_47598.c   Wed Jan 26 11:48:53 2022 +0000
@@ -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 @@
        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);



Home | Main Index | Thread Index | Old Index