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 and log messages.



details:   https://anonhg.NetBSD.org/src/rev/2138e7eab475
branches:  trunk
changeset: 365264:2138e7eab475
user:      andvar <andvar%NetBSD.org@localhost>
date:      Sat Apr 16 18:15:20 2022 +0000

description:
fix various typos in comments and log messages.

diffstat:

 etc/rc.d/swap1                      |   4 ++--
 games/trek/DOC/trekmanual.nr        |   4 ++--
 lib/libc/gen/fixunsgen_ieee754.c    |   6 +++---
 lib/libm/src/s_fminf.c              |   4 ++--
 lib/librumphijack/hijack.c          |   6 +++---
 sbin/newfs/newfs.c                  |   6 +++---
 sbin/newfs_ext2fs/newfs_ext2fs.c    |   6 +++---
 share/me/tmac.e                     |   4 ++--
 sys/arch/luna68k/luna68k/disksubr.c |   8 ++++----
 sys/arch/m68k/m68k/pmap_motorola.c  |   6 +++---
 sys/arch/sgimips/include/bus_defs.h |   4 ++--
 sys/arch/sparc/sparc/locore.s       |   4 ++--
 sys/crypto/blowfish/bf_locl.h       |   4 ++--
 sys/dev/ic/mfi.c                    |   6 +++---
 sys/dev/pci/if_vioif.c              |   6 +++---
 sys/dev/qbus/qd.c                   |   6 +++---
 sys/dev/usb/xhcireg.h               |   8 ++++----
 sys/dev/videomode/edid.c            |   6 +++---
 sys/fs/udf/udf.h                    |   4 ++--
 sys/fs/udf/udf_strat_sequential.c   |  18 +++++++++---------
 sys/kern/vfs_lockf.c                |   6 +++---
 sys/net/pfkeyv2.h                   |   4 ++--
 tests/lib/libpthread/t_condwait.c   |   6 +++---
 usr.sbin/sysinst/bsddisklabel.c     |   4 ++--
 24 files changed, 70 insertions(+), 70 deletions(-)

diffs (truncated from 617 to 300 lines):

diff -r 34e6b7e47890 -r 2138e7eab475 etc/rc.d/swap1
--- a/etc/rc.d/swap1    Sat Apr 16 18:13:54 2022 +0000
+++ b/etc/rc.d/swap1    Sat Apr 16 18:15:20 2022 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: swap1,v 1.13 2018/10/19 14:11:12 martin Exp $
+# $NetBSD: swap1,v 1.14 2022/04/16 18:15:20 andvar Exp $
 #
 
 # PROVIDE: localswap
@@ -16,7 +16,7 @@
 dev_free_tmpfs()
 {
        # Generate a list of tmpfs filesystems that contain no device nodes,
-       # which can presumably be unmounted safetly at shutdown time.
+       # which can presumably be unmounted safely at shutdown time.
        # Filenames are quoted and the list contains no unquoted newlines,
        # so that the output can be reparsed as a single argument list.
        mount -t tmpfs | while read -r line
diff -r 34e6b7e47890 -r 2138e7eab475 games/trek/DOC/trekmanual.nr
--- a/games/trek/DOC/trekmanual.nr      Sat Apr 16 18:13:54 2022 +0000
+++ b/games/trek/DOC/trekmanual.nr      Sat Apr 16 18:15:20 2022 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: trekmanual.nr,v 1.4 2021/12/08 23:38:51 snj Exp $
+.\"    $NetBSD: trekmanual.nr,v 1.5 2022/04/16 18:15:20 andvar Exp $
 .br
 .po 10
 .if n \!.
@@ -675,7 +675,7 @@
 .pp
 More than one request may be stated
 on a line
-by seperating them
+by separating them
 with semicolons.
 .bl "Dock at Starbase"
 Mnemonic: dock
diff -r 34e6b7e47890 -r 2138e7eab475 lib/libc/gen/fixunsgen_ieee754.c
--- a/lib/libc/gen/fixunsgen_ieee754.c  Sat Apr 16 18:13:54 2022 +0000
+++ b/lib/libc/gen/fixunsgen_ieee754.c  Sat Apr 16 18:15:20 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fixunsgen_ieee754.c,v 1.3 2012/03/25 19:53:41 christos Exp $   */
+/*     $NetBSD: fixunsgen_ieee754.c,v 1.4 2022/04/16 18:15:20 andvar Exp $     */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -36,7 +36,7 @@
 #include <sys/cdefs.h>
 
 #if !defined(FIXUNSNAME) && defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: fixunsgen_ieee754.c,v 1.3 2012/03/25 19:53:41 christos Exp $");
+__RCSID("$NetBSD: fixunsgen_ieee754.c,v 1.4 2022/04/16 18:15:20 andvar Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include <stddef.h>
@@ -71,7 +71,7 @@
                return 0;
 
        /*
-        * This is simplier than it seems.  Basically we are constructing
+        * This is simpler than it seems.  Basically we are constructing
         * fixed binary representation of the floating point number tossing
         * away bits that wont be in the modulis we return.
         */
diff -r 34e6b7e47890 -r 2138e7eab475 lib/libm/src/s_fminf.c
--- a/lib/libm/src/s_fminf.c    Sat Apr 16 18:13:54 2022 +0000
+++ b/lib/libm/src/s_fminf.c    Sat Apr 16 18:15:20 2022 +0000
@@ -25,7 +25,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: s_fminf.c,v 1.2 2010/03/08 01:05:20 snj Exp $");
+__RCSID("$NetBSD: s_fminf.c,v 1.3 2022/04/16 18:15:20 andvar Exp $");
 #ifdef notdef
 __FBSDID("$FreeBSD: src/lib/msun/src/s_fminf.c,v 1.1 2004/06/30 07:04:01 das Exp $");
 #endif
@@ -50,7 +50,7 @@
            u[1].sngu_sng.sng_frac != 0)
                return (x);
 
-       /* Handle comparisons of sng_singed zeroes. */
+       /* Handle comparisons of sng_signed zeroes. */
        if (u[0].sngu_sng.sng_sign != u[1].sngu_sng.sng_sign)
                return (u[u[1].sngu_sng.sng_sign].sngu_f);
 
diff -r 34e6b7e47890 -r 2138e7eab475 lib/librumphijack/hijack.c
--- a/lib/librumphijack/hijack.c        Sat Apr 16 18:13:54 2022 +0000
+++ b/lib/librumphijack/hijack.c        Sat Apr 16 18:15:20 2022 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: hijack.c,v 1.135 2021/09/11 14:22:12 christos Exp $   */
+/*      $NetBSD: hijack.c,v 1.136 2022/04/16 18:15:20 andvar Exp $     */
 
 /*-
  * Copyright (c) 2011 Antti Kantee.  All Rights Reserved.
@@ -34,7 +34,7 @@
 #include <rump/rumpuser_port.h>
 
 #if !defined(lint)
-__RCSID("$NetBSD: hijack.c,v 1.135 2021/09/11 14:22:12 christos Exp $");
+__RCSID("$NetBSD: hijack.c,v 1.136 2022/04/16 18:15:20 andvar Exp $");
 #endif
 
 #include <sys/param.h>
@@ -957,7 +957,7 @@
        /*
         * In theory cannot print anything during lookups because
         * we might not have the call vector set up.  so, the errx()
-        * is a bit of a strech, but it might work.
+        * is a bit of a stretch, but it might work.
         */
 
        for (i = 0; i < DUALCALL__NUM; i++) {
diff -r 34e6b7e47890 -r 2138e7eab475 sbin/newfs/newfs.c
--- a/sbin/newfs/newfs.c        Sat Apr 16 18:13:54 2022 +0000
+++ b/sbin/newfs/newfs.c        Sat Apr 16 18:15:20 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: newfs.c,v 1.116 2020/04/17 09:33:37 jdolecek Exp $     */
+/*     $NetBSD: newfs.c,v 1.117 2022/04/16 18:15:20 andvar Exp $       */
 
 /*
  * Copyright (c) 1983, 1989, 1993, 1994
@@ -78,7 +78,7 @@
 #if 0
 static char sccsid[] = "@(#)newfs.c    8.13 (Berkeley) 5/1/95";
 #else
-__RCSID("$NetBSD: newfs.c,v 1.116 2020/04/17 09:33:37 jdolecek Exp $");
+__RCSID("$NetBSD: newfs.c,v 1.117 2022/04/16 18:15:20 andvar Exp $");
 #endif
 #endif /* not lint */
 
@@ -607,7 +607,7 @@
            && ftruncate(fso, (off_t)fssize * sectorsize) == -1)
                err(1, "can't ftruncate %s to %" PRId64, special, fssize);
 
-       if (Zflag && fso != -1) {       /* pre-zero (and de-sparce) the file */
+       if (Zflag && fso != -1) {       /* pre-zero (and de-sparse) the file */
                char    *buf;
                int     bufsize, i;
                off_t   bufrem;
diff -r 34e6b7e47890 -r 2138e7eab475 sbin/newfs_ext2fs/newfs_ext2fs.c
--- a/sbin/newfs_ext2fs/newfs_ext2fs.c  Sat Apr 16 18:13:54 2022 +0000
+++ b/sbin/newfs_ext2fs/newfs_ext2fs.c  Sat Apr 16 18:15:20 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: newfs_ext2fs.c,v 1.10 2019/03/06 05:11:13 mrg Exp $    */
+/*     $NetBSD: newfs_ext2fs.c,v 1.11 2022/04/16 18:15:21 andvar Exp $ */
 
 /*
  * Copyright (c) 1983, 1989, 1993, 1994
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)newfs.c    8.13 (Berkeley) 5/1/95";
 #else
-__RCSID("$NetBSD: newfs_ext2fs.c,v 1.10 2019/03/06 05:11:13 mrg Exp $");
+__RCSID("$NetBSD: newfs_ext2fs.c,v 1.11 2022/04/16 18:15:21 andvar Exp $");
 #endif
 #endif /* not lint */
 
@@ -332,7 +332,7 @@
            && ftruncate(fso, (off_t)fssize * sectorsize) == -1)
                err(1, "can't ftruncate %s to %" PRId64, special, fssize);
 
-       if (Zflag && fso != -1) {       /* pre-zero (and de-sparce) the file */
+       if (Zflag && fso != -1) {       /* pre-zero (and de-sparse) the file */
                char *buf;
                int bufsize, i;
                off_t bufrem;
diff -r 34e6b7e47890 -r 2138e7eab475 share/me/tmac.e
--- a/share/me/tmac.e   Sat Apr 16 18:13:54 2022 +0000
+++ b/share/me/tmac.e   Sat Apr 16 18:15:20 2022 +0000
@@ -1,4 +1,4 @@
-.\"     $NetBSD: tmac.e,v 1.9 2003/08/07 10:31:32 agc Exp $
+.\"     $NetBSD: tmac.e,v 1.10 2022/04/16 18:15:21 andvar Exp $
 .\"
 .nr _0 \n(.c
 .\" Copyright (c) 1988, 1993
@@ -611,7 +611,7 @@
 .if \\n(.$>1 \
 .      nr $m \\$2
 .if \\n(.$>0 \
-.      nr $s \\$1n             \" param 1: column seperation
+.      nr $s \\$1n             \" param 1: column separation
 .nr $l (\\n(.l-((\\n($m-1)*\\n($s))/\\n($m
 .xl \\n($lu
 .mk _k
diff -r 34e6b7e47890 -r 2138e7eab475 sys/arch/luna68k/luna68k/disksubr.c
--- a/sys/arch/luna68k/luna68k/disksubr.c       Sat Apr 16 18:13:54 2022 +0000
+++ b/sys/arch/luna68k/luna68k/disksubr.c       Sat Apr 16 18:15:20 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: disksubr.c,v 1.32 2019/04/03 22:10:50 christos Exp $ */
+/* $NetBSD: disksubr.c,v 1.33 2022/04/16 18:15:21 andvar Exp $ */
 
 /*
  * Copyright (c) 1982, 1986, 1988 Regents of the University of California.
@@ -103,7 +103,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.32 2019/04/03 22:10:50 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.33 2022/04/16 18:15:21 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -146,8 +146,8 @@
  * Mach writedisklabel logic seems to fail when no BSD label is found.
  *
  * Kernel handles disklabel in this way;
- *     - searchs BSD label at offset 64
- *     - if not found, searchs UniOS/ISI label at the end of block
+ *     - searches BSD label at offset 64
+ *     - if not found, searches UniOS/ISI label at the end of block
  *     - kernel can distinguish whether it was SunOS label or UniOS/ISI
  *       label and understand both
  *     - kernel writes UniOS/ISI label combined with BSD label to update
diff -r 34e6b7e47890 -r 2138e7eab475 sys/arch/m68k/m68k/pmap_motorola.c
--- a/sys/arch/m68k/m68k/pmap_motorola.c        Sat Apr 16 18:13:54 2022 +0000
+++ b/sys/arch/m68k/m68k/pmap_motorola.c        Sat Apr 16 18:15:20 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap_motorola.c,v 1.75 2021/10/12 08:36:28 andvar Exp $        */
+/*     $NetBSD: pmap_motorola.c,v 1.76 2022/04/16 18:15:21 andvar Exp $        */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -119,7 +119,7 @@
 #include "opt_m68k_arch.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_motorola.c,v 1.75 2021/10/12 08:36:28 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_motorola.c,v 1.76 2022/04/16 18:15:21 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -276,7 +276,7 @@
 int            pv_nfree;
 
 #ifdef CACHE_HAVE_VAC
-u_int          pmap_aliasmask; /* seperation at which VA aliasing ok */
+u_int          pmap_aliasmask; /* separation at which VA aliasing ok */
 #endif
 #if defined(M68040) || defined(M68060)
 u_int          protostfree;    /* prototype (default) free ST map */
diff -r 34e6b7e47890 -r 2138e7eab475 sys/arch/sgimips/include/bus_defs.h
--- a/sys/arch/sgimips/include/bus_defs.h       Sat Apr 16 18:13:54 2022 +0000
+++ b/sys/arch/sgimips/include/bus_defs.h       Sat Apr 16 18:15:20 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus_defs.h,v 1.2 2015/02/18 16:47:58 macallan Exp $    */
+/*     $NetBSD: bus_defs.h,v 1.3 2022/04/16 18:15:21 andvar Exp $      */
 
 /*
  * Copyright (c) 1996, 1997, 1998, 2001 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
 
 /*
  * Values for sgimips bus space tag, not to be used directly by MI code.
- * XXX these need spacial handling 
+ * XXX these need special handling 
  */
 
 #include <mips/bus_space_defs.h>
diff -r 34e6b7e47890 -r 2138e7eab475 sys/arch/sparc/sparc/locore.s
--- a/sys/arch/sparc/sparc/locore.s     Sat Apr 16 18:13:54 2022 +0000
+++ b/sys/arch/sparc/sparc/locore.s     Sat Apr 16 18:15:20 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.s,v 1.281 2021/08/09 21:08:06 andvar Exp $      */
+/*     $NetBSD: locore.s,v 1.282 2022/04/16 18:15:21 andvar Exp $      */
 
 /*
  * Copyright (c) 1996 Paul Kranenburg
@@ -4225,7 +4225,7 @@
 
        /*
         * Ok, we have a non-Mbus TI Viking, a MicroSparc.
-        * In this scenerio, in order to play with the MMU
+        * In this scenario, in order to play with the MMU
         * passthrough safely, we need turn off traps, flip
         * the AC bit on in the mmu status register, do our
         * passthroughs, then restore the mmu reg and %psr
diff -r 34e6b7e47890 -r 2138e7eab475 sys/crypto/blowfish/bf_locl.h
--- a/sys/crypto/blowfish/bf_locl.h     Sat Apr 16 18:13:54 2022 +0000
+++ b/sys/crypto/blowfish/bf_locl.h     Sat Apr 16 18:15:20 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bf_locl.h,v 1.7 2021/10/15 22:32:28 andvar Exp $       */
+/*     $NetBSD: bf_locl.h,v 1.8 2022/04/16 18:15:21 andvar Exp $       */
 /*     $KAME: bf_locl.h,v 1.5 2000/08/31 06:03:48 itojun Exp $ */
 
 /* crypto/bf/bf_local.h */
@@ -211,7 +211,7 @@
                *(const BF_LONG *)((const unsigned char *)&(S[768])+((R<<BF_3)&BF_M)));
 #else
 
-/* This will always work, even on 64 bit machines and strangly enough,
+/* This will always work, even on 64 bit machines and strangely enough,
  * on the Alpha it is faster than the pointer versions (both 32 and 64
  * versions of BF_LONG) */
 
diff -r 34e6b7e47890 -r 2138e7eab475 sys/dev/ic/mfi.c
--- a/sys/dev/ic/mfi.c  Sat Apr 16 18:13:54 2022 +0000
+++ b/sys/dev/ic/mfi.c  Sat Apr 16 18:15:20 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mfi.c,v 1.67 2021/12/05 02:47:01 msaitoh Exp $ */



Home | Main Index | Thread Index | Old Index