Source-Changes-HG archive

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

[src/trunk]: src fix various typos in comments, docs and log messages.



details:   https://anonhg.NetBSD.org/src/rev/3c19a12ab764
branches:  trunk
changeset: 366375:3c19a12ab764
user:      andvar <andvar%NetBSD.org@localhost>
date:      Tue May 24 06:27:59 2022 +0000

description:
fix various typos in comments, docs and log messages.

diffstat:

 distrib/notes/hp300/upgrade               |   6 +++---
 games/phantasia/misc.c                    |   4 ++--
 games/trek/dcrept.c                       |   6 +++---
 games/trek/setwarp.c                      |   6 +++---
 lib/libc/stdio/vfscanf.c                  |   6 +++---
 lib/libresolv/dst_api.c                   |   6 +++---
 sbin/atactl/atactl.8                      |   4 ++--
 sbin/nvmectl/bignum.c                     |   4 ++--
 sys/arch/acorn32/stand/boot32/boot32.c    |   4 ++--
 sys/arch/arc/arc/platform.c               |   6 +++---
 sys/arch/arm/iomd/vidc20config.c          |   8 ++++----
 sys/arch/atari/atari/atari_init.c         |   6 +++---
 sys/arch/atari/atari/disksubr.c           |   6 +++---
 sys/arch/hpcsh/dev/hd64461/hd64461video.c |   6 +++---
 sys/arch/mipsco/mipsco/disksubr.c         |   6 +++---
 sys/arch/ofppc/ofppc/disksubr.c           |   6 +++---
 sys/arch/sh3/sh3/vm_machdep.c             |   6 +++---
 sys/arch/x86/x86/fpu.c                    |   6 +++---
 sys/dev/hdaudio/hdafg.c                   |   6 +++---
 sys/dev/hpc/files.hpcapm                  |   4 ++--
 sys/dev/i2c/sgp40.c                       |  12 ++++++------
 sys/dev/i2c/sht4xreg.h                    |   6 +++---
 sys/dev/isa/gusreg.h                      |   4 ++--
 sys/dev/isapnp/files.isapnp               |   4 ++--
 sys/dev/microcode/tools/array2bin.c       |   6 +++---
 sys/dev/pci/if_ntwoc_pci.c                |   6 +++---
 sys/fs/v7fs/v7fs.h                        |   4 ++--
 sys/kern/subr_pool.c                      |   6 +++---
 sys/nfs/nfs_vnops.c                       |   6 +++---
 sys/ufs/ffs/ffs_subr.c                    |   6 +++---
 tests/rump/rumpkern/t_modlinkset.c        |   4 ++--
 usr.sbin/ac/ac.c                          |   6 +++---
 usr.sbin/mopd/mopcopy/mopcopy.c           |   6 +++---
 33 files changed, 94 insertions(+), 94 deletions(-)

diffs (truncated from 828 to 300 lines):

diff -r f59fd022903f -r 3c19a12ab764 distrib/notes/hp300/upgrade
--- a/distrib/notes/hp300/upgrade       Tue May 24 06:20:04 2022 +0000
+++ b/distrib/notes/hp300/upgrade       Tue May 24 06:27:59 2022 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: upgrade,v 1.20 2019/11/21 19:23:18 martin Exp $
+.\"    $NetBSD: upgrade,v 1.21 2022/05/24 06:27:59 andvar Exp $
 .\"
 .\" Copyright (c) 1999-2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -59,7 +59,7 @@
 .Sq "single-user mode" :
 .Pp
 Follow the instructions in the section above on
-.Sx Chosing a kernel location
+.Sx Choosing a kernel location
 and type
 .Li -s
 at the prompt.
@@ -96,7 +96,7 @@
 Boot the miniroot:
 .Pp
 Follow the instructions in the section above on
-.Sx Chosing a kernel location
+.Sx Choosing a kernel location
 and type
 .Li rd0b:netbsd
 at the prompt.
diff -r f59fd022903f -r 3c19a12ab764 games/phantasia/misc.c
--- a/games/phantasia/misc.c    Tue May 24 06:20:04 2022 +0000
+++ b/games/phantasia/misc.c    Tue May 24 06:27:59 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: misc.c,v 1.23 2021/05/02 12:50:46 rillig Exp $ */
+/*     $NetBSD: misc.c,v 1.24 2022/05/24 06:27:59 andvar Exp $ */
 
 /*
  * misc.c  Phantasia miscellaneous support routines
@@ -463,7 +463,7 @@
 const char   *
 descrtype(struct player *playerp, phbool shortflag)
 {
-       int     type;           /* for caluculating result subscript */
+       int     type;           /* for calculating result subscript */
        static const char *const results[] =/* description table */
        {
                " Magic User", " MU",
diff -r f59fd022903f -r 3c19a12ab764 games/trek/dcrept.c
--- a/games/trek/dcrept.c       Tue May 24 06:20:04 2022 +0000
+++ b/games/trek/dcrept.c       Tue May 24 06:27:59 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dcrept.c,v 1.10 2009/05/24 22:55:03 dholland Exp $     */
+/*     $NetBSD: dcrept.c,v 1.11 2022/05/24 06:27:59 andvar Exp $       */
 
 /*
  * Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)dcrept.c   8.1 (Berkeley) 5/31/93";
 #else
-__RCSID("$NetBSD: dcrept.c,v 1.10 2009/05/24 22:55:03 dholland Exp $");
+__RCSID("$NetBSD: dcrept.c,v 1.11 2022/05/24 06:27:59 andvar Exp $");
 #endif
 #endif /* not lint */
 
@@ -92,7 +92,7 @@
                        Device[e->systemname].name, x * m1 + 0.005,
                        x * m2 + 0.005);
 
-               /* do a little consistancy checking */
+               /* do a little consistency checking */
        }
 
        /* if everything was ok, reassure the nervous captain */
diff -r f59fd022903f -r 3c19a12ab764 games/trek/setwarp.c
--- a/games/trek/setwarp.c      Tue May 24 06:20:04 2022 +0000
+++ b/games/trek/setwarp.c      Tue May 24 06:27:59 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: setwarp.c,v 1.8 2009/05/24 19:18:44 dholland Exp $     */
+/*     $NetBSD: setwarp.c,v 1.9 2022/05/24 06:27:59 andvar Exp $       */
 
 /*
  * Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)setwarp.c  8.1 (Berkeley) 5/31/93";
 #else
-__RCSID("$NetBSD: setwarp.c,v 1.8 2009/05/24 19:18:44 dholland Exp $");
+__RCSID("$NetBSD: setwarp.c,v 1.9 2022/05/24 06:27:59 andvar Exp $");
 #endif
 #endif /* not lint */
 
@@ -46,7 +46,7 @@
 **  SET WARP FACTOR
 **
 **     The warp factor is set for future move commands.  It is
-**     checked for consistancy.
+**     checked for consistency.
 */
 
 /*ARGSUSED*/
diff -r f59fd022903f -r 3c19a12ab764 lib/libc/stdio/vfscanf.c
--- a/lib/libc/stdio/vfscanf.c  Tue May 24 06:20:04 2022 +0000
+++ b/lib/libc/stdio/vfscanf.c  Tue May 24 06:27:59 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfscanf.c,v 1.46 2022/04/19 20:32:15 rillig Exp $      */
+/*     $NetBSD: vfscanf.c,v 1.47 2022/05/24 06:27:59 andvar Exp $      */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -38,7 +38,7 @@
 static char sccsid[] = "@(#)vfscanf.c  8.1 (Berkeley) 6/4/93";
 __FBSDID("$FreeBSD: src/lib/libc/stdio/vfscanf.c,v 1.41 2007/01/09 00:28:07 imp Exp $");
 #else
-__RCSID("$NetBSD: vfscanf.c,v 1.46 2022/04/19 20:32:15 rillig Exp $");
+__RCSID("$NetBSD: vfscanf.c,v 1.47 2022/05/24 06:27:59 andvar Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -905,7 +905,7 @@
                         * z', but treats `a-a' as `the letter a, the
                         * character -, and the letter a'.
                         *
-                        * For compatibility, the `-' is not considerd
+                        * For compatibility, the `-' is not considered
                         * to define a range if the character following
                         * it is either a close bracket (required by ANSI)
                         * or is not numerically greater than the character
diff -r f59fd022903f -r 3c19a12ab764 lib/libresolv/dst_api.c
--- a/lib/libresolv/dst_api.c   Tue May 24 06:20:04 2022 +0000
+++ b/lib/libresolv/dst_api.c   Tue May 24 06:27:59 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dst_api.c,v 1.8 2022/01/24 09:14:37 andvar Exp $       */
+/*     $NetBSD: dst_api.c,v 1.9 2022/05/24 06:27:59 andvar Exp $       */
 
 /*
  * Portions Copyright (c) 1995-1998 by Trusted Information Systems, Inc.
@@ -40,7 +40,7 @@
 #if 0
 static const char rcsid[] = "Header: /proj/cvs/prod/libbind/dst/dst_api.c,v 1.17 2007/09/24 17:18:25 each Exp ";
 #else
-__RCSID("$NetBSD: dst_api.c,v 1.8 2022/01/24 09:14:37 andvar Exp $");
+__RCSID("$NetBSD: dst_api.c,v 1.9 2022/05/24 06:27:59 andvar Exp $");
 #endif
 
 
@@ -537,7 +537,7 @@
        while ((c = getc(fp)) != EOF)
                if (!isspace(c))
                        break;
-       ungetc(c, fp);          /*%< return the charcter to the input field */
+       ungetc(c, fp);          /*%< return the character to the input field */
        /* Handle hex!! FIXME.  */
 
        if (fscanf(fp, "%d %d %d", &flags, &proto, &alg) != 3) {
diff -r f59fd022903f -r 3c19a12ab764 sbin/atactl/atactl.8
--- a/sbin/atactl/atactl.8      Tue May 24 06:20:04 2022 +0000
+++ b/sbin/atactl/atactl.8      Tue May 24 06:27:59 2022 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: atactl.8,v 1.31 2019/05/31 16:38:27 wiz Exp $
+.\"    $NetBSD: atactl.8,v 1.32 2022/05/24 06:27:59 andvar Exp $
 .\"
 .\" Copyright (c) 1998, 2019 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -102,7 +102,7 @@
 lowest power consumption (and thus the worse performance) and 253 the mode
 which provides the better performance at a cost of more power consumption.
 .Pp
-It should be noted that the effect of the value need not be continous.
+It should be noted that the effect of the value need not be continuous.
 For example, a device might provide only two modes: one from 0 to 126
 and other from 127 to 253.
 Per the specification, values of 127 and higher do not permit the device
diff -r f59fd022903f -r 3c19a12ab764 sbin/nvmectl/bignum.c
--- a/sbin/nvmectl/bignum.c     Tue May 24 06:20:04 2022 +0000
+++ b/sbin/nvmectl/bignum.c     Tue May 24 06:27:59 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bignum.c,v 1.4 2021/11/10 16:02:14 msaitoh Exp $       */
+/*     $NetBSD: bignum.c,v 1.5 2022/05/24 06:27:59 andvar Exp $        */
 
 /*-
  * Copyright (c) 2012 Alistair Crooks <agc%NetBSD.org@localhost>
@@ -1664,7 +1664,7 @@
 }
 
 /* pre-calculate the value required for Barrett reduction
- * For a given modulus "b" it calulates the value required in "a"
+ * For a given modulus "b" it calculates the value required in "a"
  */
 static int
 mp_reduce_setup(mp_int * a, mp_int * b)
diff -r f59fd022903f -r 3c19a12ab764 sys/arch/acorn32/stand/boot32/boot32.c
--- a/sys/arch/acorn32/stand/boot32/boot32.c    Tue May 24 06:20:04 2022 +0000
+++ b/sys/arch/acorn32/stand/boot32/boot32.c    Tue May 24 06:27:59 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: boot32.c,v 1.49 2022/04/29 21:03:08 rin Exp $  */
+/*     $NetBSD: boot32.c,v 1.50 2022/05/24 06:27:59 andvar Exp $       */
 
 /*-
  * Copyright (c) 2002 Reinoud Zandijk
@@ -409,7 +409,7 @@
                DRAM_pages[top_bank  ] -= one_mb_pages;
                dram_blocks++;
 
-               /* Map video memory at the end of the choosen DIMM */
+               /* Map video memory at the end of the chosen DIMM */
                videomem_start          = DRAM_addr[video_bank] +
                    (DRAM_pages[video_bank] - videomem_pages)*nbpp;
                DRAM_pages[video_bank] -= videomem_pages;
diff -r f59fd022903f -r 3c19a12ab764 sys/arch/arc/arc/platform.c
--- a/sys/arch/arc/arc/platform.c       Tue May 24 06:20:04 2022 +0000
+++ b/sys/arch/arc/arc/platform.c       Tue May 24 06:27:59 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: platform.c,v 1.6 2008/04/28 20:23:13 martin Exp $      */
+/*     $NetBSD: platform.c,v 1.7 2022/05/24 06:28:00 andvar Exp $      */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: platform.c,v 1.6 2008/04/28 20:23:13 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: platform.c,v 1.7 2022/05/24 06:28:00 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -85,7 +85,7 @@
                }
                printf(". ");
                print_platform(plattab[matched]);
-               printf(" is choosed.\n");
+               printf(" is chosen.\n");
        }
        if (match)
                platform = plattab[matched];
diff -r f59fd022903f -r 3c19a12ab764 sys/arch/arm/iomd/vidc20config.c
--- a/sys/arch/arm/iomd/vidc20config.c  Tue May 24 06:20:04 2022 +0000
+++ b/sys/arch/arm/iomd/vidc20config.c  Tue May 24 06:27:59 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vidc20config.c,v 1.35 2021/09/19 10:34:08 andvar Exp $ */
+/*     $NetBSD: vidc20config.c,v 1.36 2022/05/24 06:28:00 andvar Exp $ */
 
 /*
  * Copyright (c) 2001 Reinoud Zandijk
@@ -42,13 +42,13 @@
  * This file is the lower basis of the wscons driver for VIDC based ARM machines.
  * It features the initialisation and all VIDC writing and keeps in internal state
  * copy.
- * Its currenly set up as a library file and not as a device; it could be named
+ * Its currently set up as a library file and not as a device; it could be named
  * vidcvideo0 eventually.
  */
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: vidc20config.c,v 1.35 2021/09/19 10:34:08 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vidc20config.c,v 1.36 2022/05/24 06:28:00 andvar Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -406,7 +406,7 @@
 }
 
 
-/* this function is to be called perferably at vsync */
+/* this function is to be called preferably at vsync */
 void vidcvideo_progr_scroll(void)
 {
 
diff -r f59fd022903f -r 3c19a12ab764 sys/arch/atari/atari/atari_init.c
--- a/sys/arch/atari/atari/atari_init.c Tue May 24 06:20:04 2022 +0000
+++ b/sys/arch/atari/atari/atari_init.c Tue May 24 06:27:59 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atari_init.c,v 1.103 2021/12/12 13:05:13 andvar Exp $  */
+/*     $NetBSD: atari_init.c,v 1.104 2022/05/24 06:28:00 andvar Exp $  */
 
 /*
  * Copyright (c) 1995 Leo Weppelman
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: atari_init.c,v 1.103 2021/12/12 13:05:13 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: atari_init.c,v 1.104 2022/05/24 06:28:00 andvar Exp $");
 
 #include "opt_ddb.h"
 #include "opt_mbtype.h"
@@ -127,7 +127,7 @@
  * All info needed to generate a panic dump. All fields are setup by
  * start_c().
  * XXX: Should sheck usage of phys_segs. There is some unwanted overlap
- *      here.... Also, the name is badly choosen. Phys_segs contains the
+ *      here.... Also, the name is badly chosen. Phys_segs contains the
  *      segment descriptions _after_ reservations are made.
  * XXX: 'lowram' is obsoleted by the new panicdump format
  */
diff -r f59fd022903f -r 3c19a12ab764 sys/arch/atari/atari/disksubr.c
--- a/sys/arch/atari/atari/disksubr.c   Tue May 24 06:20:04 2022 +0000
+++ b/sys/arch/atari/atari/disksubr.c   Tue May 24 06:27:59 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disksubr.c,v 1.44 2019/04/03 22:10:49 christos Exp $   */



Home | Main Index | Thread Index | Old Index