From 7c674e8e6e818717bee65b1f985c9e2a9f0126bd Mon Sep 17 00:00:00 2001 From: andvar Date: Wed, 26 Jan 2022 11:48:53 +0000 Subject: [PATCH] remove double t from targeted, add missing r to arbitrary And fix few more typos along the way in comments and man pages. --- 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(-) diff --git a/bin/ps/print.c b/bin/ps/print.c index 37332f5545c9..ce7d80f10c87 100644 --- a/bin/ps/print.c +++ b/bin/ps/print.c @@ -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, enum mode mode) * 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 --git a/lib/libc/gdtoa/gdtoaimp.h b/lib/libc/gdtoa/gdtoaimp.h index 6d70fc6bc391..a6cb77929dbc 100644 --- a/lib/libc/gdtoa/gdtoaimp.h +++ b/lib/libc/gdtoa/gdtoaimp.h @@ -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 diff --git a/lib/libukfs/ukfs.3 b/lib/libukfs/ukfs.3 index 8f6a6278e3f0..4b5365fd2602 100644 --- a/lib/libukfs/ukfs.3 +++ b/lib/libukfs/ukfs.3 @@ -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 library which contains 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. diff --git a/share/man/man4/man4.hppa/intro.4 b/share/man/man4/man4.hppa/intro.4 index 231a19b67a45..e8f31ec68b0a 100644 --- a/share/man/man4/man4.hppa/intro.4 +++ b/share/man/man4/man4.hppa/intro.4 @@ -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" diff --git a/share/man/man9/secmodel.9 b/share/man/man9/secmodel.9 index eb6d10777d54..3dcb1cc6ec03 100644 --- a/share/man/man9/secmodel.9 +++ b/share/man/man9/secmodel.9 @@ -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 .\" All rights reserved. @@ -139,19 +139,19 @@ positive, when the error comes directly from the 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 passed as parameter. .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 --git a/sys/arch/evbarm/smdk2xx0/smdk2410_kbd.c b/sys/arch/evbarm/smdk2xx0/smdk2410_kbd.c index 755419dab55f..b29fe33bca9c 100644 --- a/sys/arch/evbarm/smdk2xx0/smdk2410_kbd.c +++ b/sys/arch/evbarm/smdk2xx0/smdk2410_kbd.c @@ -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 -__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 #include @@ -76,7 +76,7 @@ __KERNEL_RCSID(0, "$NetBSD: smdk2410_kbd.c,v 1.11 2022/01/25 22:01:34 andvar Exp */ #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.c,v 1.11 2022/01/25 22:01:34 andvar Exp #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 --git a/sys/arch/m68k/Makefile.cmachflags b/sys/arch/m68k/Makefile.cmachflags index 3bed3bd7ca5c..392fb95d82fb 100644 --- a/sys/arch/m68k/Makefile.cmachflags +++ b/sys/arch/m68k/Makefile.cmachflags @@ -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 --git a/sys/arch/mips/cavium/octeonvar.h b/sys/arch/mips/cavium/octeonvar.h index 2b7ce8343eb6..812e01ed4d07 100644 --- a/sys/arch/mips/cavium/octeonvar.h +++ b/sys/arch/mips/cavium/octeonvar.h @@ -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 --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 889c85df00c8..81e3ca61cf46 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -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 -__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 diff --git a/tests/kernel/t_kauth_pr_47598.c b/tests/kernel/t_kauth_pr_47598.c index 2c56f9b56da1..3328e55ab671 100644 --- a/tests/kernel/t_kauth_pr_47598.c +++ b/tests/kernel/t_kauth_pr_47598.c @@ -27,7 +27,7 @@ #include __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 #include @@ -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);