Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/fstyp fix various typos, mainly in comments.



details:   https://anonhg.NetBSD.org/src/rev/10091384ca0b
branches:  trunk
changeset: 364666:10091384ca0b
user:      andvar <andvar%NetBSD.org@localhost>
date:      Mon Apr 04 19:33:44 2022 +0000

description:
fix various typos, mainly in comments.

diffstat:

 games/backgammon/backgammon/main.c       |  6 +++---
 lib/libm/arch/i387/s_ceil.S              |  4 ++--
 lib/libm/arch/i387/s_ceilf.S             |  4 ++--
 lib/libm/arch/i387/s_floor.S             |  4 ++--
 lib/libm/arch/i387/s_floorf.S            |  4 ++--
 lib/libm/arch/vax/n_scalbn.S             |  4 ++--
 sbin/ifconfig/media.c                    |  4 ++--
 sbin/swapctl/swapctl.c                   |  6 +++---
 sys/arch/acorn32/doc/history             |  4 ++--
 sys/arch/acorn32/podulebus/icside.c      |  6 +++---
 sys/arch/acorn32/podulebus/simide.c      |  6 +++---
 sys/arch/amiga/stand/loadbsd/README      |  4 ++--
 sys/arch/arm/marvell/armadaxpreg.h       |  2 +-
 sys/arch/sandpoint/stand/altboot/version |  2 +-
 sys/arch/x86/include/intr.h              |  4 ++--
 sys/dev/ic/mpt_mpilib.h                  |  4 ++--
 sys/dev/marvell/if_mvxpe.c               |  6 +++---
 sys/dev/marvell/if_mvxpevar.h            |  4 ++--
 sys/dev/qbus/if_dmc.c                    |  6 +++---
 sys/fs/adosfs/advnops.c                  |  6 +++---
 sys/kern/vfs_wapbl.c                     |  6 +++---
 tests/lib/libc/sys/t_getitimer.c         |  6 +++---
 tests/lib/libcurses/t_curses.sh          |  2 +-
 usr.bin/config/config.samples.5          |  4 ++--
 usr.bin/error/pi.c                       |  8 ++++----
 usr.sbin/fstyp/hammer2_disk.h            |  6 +++---
 26 files changed, 61 insertions(+), 61 deletions(-)

diffs (truncated from 575 to 300 lines):

diff -r 016ebe43fc1d -r 10091384ca0b games/backgammon/backgammon/main.c
--- a/games/backgammon/backgammon/main.c        Mon Apr 04 09:59:41 2022 +0000
+++ b/games/backgammon/backgammon/main.c        Mon Apr 04 19:33:44 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.34 2021/05/02 12:50:43 rillig Exp $ */
+/*     $NetBSD: main.c,v 1.35 2022/04/04 19:33:44 andvar Exp $ */
 
 /*
  * Copyright (c) 1980, 1993
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)main.c     8.1 (Berkeley) 5/31/93";
 #else
-__RCSID("$NetBSD: main.c,v 1.34 2021/05/02 12:50:43 rillig Exp $");
+__RCSID("$NetBSD: main.c,v 1.35 2022/04/04 19:33:44 andvar Exp $");
 #endif
 #endif                         /* not lint */
 
@@ -311,7 +311,7 @@
                /* move as long as it's someone's turn */
                while (cturn == 1 || cturn == -1) {
 
-                       /* board maintainence */
+                       /* board maintenance */
                        if (tflag)
                                refresh();      /* fix board */
                        else
diff -r 016ebe43fc1d -r 10091384ca0b lib/libm/arch/i387/s_ceil.S
--- a/lib/libm/arch/i387/s_ceil.S       Mon Apr 04 09:59:41 2022 +0000
+++ b/lib/libm/arch/i387/s_ceil.S       Mon Apr 04 19:33:44 2022 +0000
@@ -7,7 +7,7 @@
 
 #include "abi.h"
 
-RCSID("$NetBSD: s_ceil.S,v 1.8 2011/06/18 21:24:51 joerg Exp $")
+RCSID("$NetBSD: s_ceil.S,v 1.9 2022/04/04 19:33:44 andvar Exp $")
 
 ENTRY(ceil)
 #ifdef __i386__
@@ -20,7 +20,7 @@
        orw     $0x0800,%dx             /* round towards +oo */
        andw    $0xfbff,%dx
        movw    %dx,-8(%ebp)
-       fldcw   -8(%ebp)                /* load modfied control word */
+       fldcw   -8(%ebp)                /* load modified control word */
 
        fldl    8(%ebp)                 /* round */
        frndint
diff -r 016ebe43fc1d -r 10091384ca0b lib/libm/arch/i387/s_ceilf.S
--- a/lib/libm/arch/i387/s_ceilf.S      Mon Apr 04 09:59:41 2022 +0000
+++ b/lib/libm/arch/i387/s_ceilf.S      Mon Apr 04 19:33:44 2022 +0000
@@ -5,7 +5,7 @@
 
 #include <machine/asm.h>
 
-RCSID("$NetBSD: s_ceilf.S,v 1.9 2011/06/18 21:24:51 joerg Exp $")
+RCSID("$NetBSD: s_ceilf.S,v 1.10 2022/04/04 19:33:44 andvar Exp $")
 
 ENTRY(ceilf)
 #ifdef __i386__
@@ -18,7 +18,7 @@
        orw     $0x0800,%dx             /* round towards +oo */
        andw    $0xfbff,%dx
        movw    %dx,-8(%ebp)
-       fldcw   -8(%ebp)                /* load modfied control word */
+       fldcw   -8(%ebp)                /* load modified control word */
 
        flds    8(%ebp)                 /* round */
        frndint
diff -r 016ebe43fc1d -r 10091384ca0b lib/libm/arch/i387/s_floor.S
--- a/lib/libm/arch/i387/s_floor.S      Mon Apr 04 09:59:41 2022 +0000
+++ b/lib/libm/arch/i387/s_floor.S      Mon Apr 04 19:33:44 2022 +0000
@@ -5,7 +5,7 @@
 
 #include <machine/asm.h>
 
-RCSID("$NetBSD: s_floor.S,v 1.9 2011/06/18 21:24:51 joerg Exp $")
+RCSID("$NetBSD: s_floor.S,v 1.10 2022/04/04 19:33:44 andvar Exp $")
 
 ENTRY(floor)
 #ifdef __i386__
@@ -18,7 +18,7 @@
        orw     $0x0400,%dx             /* round towards -oo */
        andw    $0xf7ff,%dx
        movw    %dx,-8(%ebp)
-       fldcw   -8(%ebp)                /* load modfied control word */
+       fldcw   -8(%ebp)                /* load modified control word */
 
        fldl    8(%ebp)                 /* round */
        frndint
diff -r 016ebe43fc1d -r 10091384ca0b lib/libm/arch/i387/s_floorf.S
--- a/lib/libm/arch/i387/s_floorf.S     Mon Apr 04 09:59:41 2022 +0000
+++ b/lib/libm/arch/i387/s_floorf.S     Mon Apr 04 19:33:44 2022 +0000
@@ -5,7 +5,7 @@
 
 #include <machine/asm.h>
 
-RCSID("$NetBSD: s_floorf.S,v 1.8 2011/06/18 21:24:51 joerg Exp $")
+RCSID("$NetBSD: s_floorf.S,v 1.9 2022/04/04 19:33:44 andvar Exp $")
 
 ENTRY(floorf)
 #ifdef __i386__
@@ -18,7 +18,7 @@
        orw     $0x0400,%dx             /* round towards -oo */
        andw    $0xf7ff,%dx
        movw    %dx,-8(%ebp)
-       fldcw   -8(%ebp)                /* load modfied control word */
+       fldcw   -8(%ebp)                /* load modified control word */
 
        flds    8(%ebp)                 /* round */
        frndint
diff -r 016ebe43fc1d -r 10091384ca0b lib/libm/arch/vax/n_scalbn.S
--- a/lib/libm/arch/vax/n_scalbn.S      Mon Apr 04 09:59:41 2022 +0000
+++ b/lib/libm/arch/vax/n_scalbn.S      Mon Apr 04 19:33:44 2022 +0000
@@ -30,7 +30,7 @@
 #include <machine/asm.h>
 #include <sys/errno.h>
 
-RCSID("$NetBSD: n_scalbn.S,v 1.5 2014/02/03 21:22:21 martin Exp $")
+RCSID("$NetBSD: n_scalbn.S,v 1.6 2022/04/04 19:33:44 andvar Exp $")
 
 WEAK_ALIAS(scalbn,_scalbn)
 WEAK_ALIAS(scalbnl,_scalbnl)
@@ -73,7 +73,7 @@
 
 underflow:
        clrq    %r0                     /* return 0.0 */
-       jr      copysign                /* or mabye -0.0 */
+       jr      copysign                /* or maybe -0.0 */
 overflow:
        pushl   $ERANGE                 /* overflow */
        calls   $1, _C_LABEL(infnan)    /* possibly signal */
diff -r 016ebe43fc1d -r 10091384ca0b sbin/ifconfig/media.c
--- a/sbin/ifconfig/media.c     Mon Apr 04 09:59:41 2022 +0000
+++ b/sbin/ifconfig/media.c     Mon Apr 04 19:33:44 2022 +0000
@@ -1,6 +1,6 @@
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: media.c,v 1.13 2020/10/14 13:37:14 roy Exp $");
+__RCSID("$NetBSD: media.c,v 1.14 2022/04/04 19:33:44 andvar Exp $");
 #endif /* not lint */
 
 #include <assert.h>
@@ -38,7 +38,7 @@
 /*
  * Media stuff.  Whenever a media command is first performed, the
  * currently select media is grabbed for this interface.  If `media'
- * is given, the current media word is modifed.  `mediaopt' commands
+ * is given, the current media word is modified.  `mediaopt' commands
  * only modify the set and clear words.  They then operate on the
  * current media word later.
  */
diff -r 016ebe43fc1d -r 10091384ca0b sbin/swapctl/swapctl.c
--- a/sbin/swapctl/swapctl.c    Mon Apr 04 09:59:41 2022 +0000
+++ b/sbin/swapctl/swapctl.c    Mon Apr 04 19:33:44 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: swapctl.c,v 1.40 2015/10/11 23:58:16 mrg Exp $ */
+/*     $NetBSD: swapctl.c,v 1.41 2022/04/04 19:33:44 andvar Exp $      */
 
 /*
  * Copyright (c) 1996, 1997, 1999, 2015 Matthew R. Green
@@ -64,7 +64,7 @@
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: swapctl.c,v 1.40 2015/10/11 23:58:16 mrg Exp $");
+__RCSID("$NetBSD: swapctl.c,v 1.41 2022/04/04 19:33:44 andvar Exp $");
 #endif
 
 
@@ -299,7 +299,7 @@
        if ((command == CMD_c) && pflag == 0)
                usage();
 
-       /* -f and -o are mutualy exclusive */
+       /* -f and -o are mutually exclusive */
        if (fflag && oflag)
                usage();
                
diff -r 016ebe43fc1d -r 10091384ca0b sys/arch/acorn32/doc/history
--- a/sys/arch/acorn32/doc/history      Mon Apr 04 09:59:41 2022 +0000
+++ b/sys/arch/acorn32/doc/history      Mon Apr 04 19:33:44 2022 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: history,v 1.8 2022/02/06 20:20:19 andvar Exp $
+#      $NetBSD: history,v 1.9 2022/04/04 19:33:44 andvar Exp $
 ---------------------------------------------------------------------------
 This document is more included as a historical reference and nostalgia :)
 rather than a still worked on list.
@@ -272,7 +272,7 @@
 24/12/95
        - removed redundant physconinit() call in initarm().
        - updated comments in machdep.c
-       - added support for mulitple swap devices to be specified at boot
+       - added support for multiple swap devices to be specified at boot
          time
        - changed debugging output in userret()
        - added extra debugging
diff -r 016ebe43fc1d -r 10091384ca0b sys/arch/acorn32/podulebus/icside.c
--- a/sys/arch/acorn32/podulebus/icside.c       Mon Apr 04 09:59:41 2022 +0000
+++ b/sys/arch/acorn32/podulebus/icside.c       Mon Apr 04 19:33:44 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: icside.c,v 1.34 2017/10/20 07:06:06 jdolecek Exp $     */
+/*     $NetBSD: icside.c,v 1.35 2022/04/04 19:33:44 andvar Exp $       */
 
 /*
  * Copyright (c) 1997-1998 Mark Brinicombe
@@ -42,7 +42,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: icside.c,v 1.34 2017/10/20 07:06:06 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: icside.c,v 1.35 2022/04/04 19:33:44 andvar Exp $");
 
 #include <sys/systm.h>
 #include <sys/conf.h>
@@ -244,7 +244,7 @@
         * cookie.
         *
         * Also while we are at it replace the default
-        * read/write mulitple short functions with
+        * read/write multiple short functions with
         * optimised versions
         */
 
diff -r 016ebe43fc1d -r 10091384ca0b sys/arch/acorn32/podulebus/simide.c
--- a/sys/arch/acorn32/podulebus/simide.c       Mon Apr 04 09:59:41 2022 +0000
+++ b/sys/arch/acorn32/podulebus/simide.c       Mon Apr 04 19:33:44 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: simide.c,v 1.31 2017/10/20 07:06:06 jdolecek Exp $     */
+/*     $NetBSD: simide.c,v 1.32 2022/04/04 19:33:45 andvar Exp $       */
 
 /*
  * Copyright (c) 1997-1998 Mark Brinicombe
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: simide.c,v 1.31 2017/10/20 07:06:06 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: simide.c,v 1.32 2022/04/04 19:33:45 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -184,7 +184,7 @@
         * cookie.
         *
         * Also while we are at it replace the default
-        * read/write mulitple short functions with
+        * read/write multiple short functions with
         * optimised versions
         */
 
diff -r 016ebe43fc1d -r 10091384ca0b sys/arch/amiga/stand/loadbsd/README
--- a/sys/arch/amiga/stand/loadbsd/README       Mon Apr 04 09:59:41 2022 +0000
+++ b/sys/arch/amiga/stand/loadbsd/README       Mon Apr 04 19:33:44 2022 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: README,v 1.3 2015/11/11 16:08:52 phx Exp $
+#      $NetBSD: README,v 1.4 2022/04/04 19:33:45 andvar Exp $
 
 BUILD INSTRUCTIONS
 
@@ -37,7 +37,7 @@
       place these files in: <loadbsd directory>/include
 
 If all the mentioned files are placed at the correct place, loadfile_machdep.h
-must be modfied. The patch is included below. Another small patch to
+must be modified. The patch is included below. Another small patch to
 loadfile_aout.c must be applied to fix an incompatibility for LoadBSD.
 However, that patch breaks loadfile() for other architectures using a.out!
 Note: This patch is required to be able to suppress loaded symbols when
diff -r 016ebe43fc1d -r 10091384ca0b sys/arch/arm/marvell/armadaxpreg.h
--- a/sys/arch/arm/marvell/armadaxpreg.h        Mon Apr 04 09:59:41 2022 +0000
+++ b/sys/arch/arm/marvell/armadaxpreg.h        Mon Apr 04 19:33:44 2022 +0000
@@ -335,7 +335,7 @@
 #define ARMADAXP_L2_CFU                        0x228
 #define ARMADAXP_L2_SYNC               0x700
 #define ARMADAXP_L2_STATUS             0x704
-/* Cache maintance operations */
+/* Cache maintenance operations */
 #define ARMADAXP_L2_RANGE_BASE         0x720
 #define ARMADAXP_L2_INV_PHYS           0x770
 #define ARMADAXP_L2_INV_RANGE          0x774
diff -r 016ebe43fc1d -r 10091384ca0b sys/arch/sandpoint/stand/altboot/version
--- a/sys/arch/sandpoint/stand/altboot/version  Mon Apr 04 09:59:41 2022 +0000
+++ b/sys/arch/sandpoint/stand/altboot/version  Mon Apr 04 19:33:44 2022 +0000
@@ -2,7 +2,7 @@
 1.1:   PCI autoconf for multiple NIC device drivers
 1.2:   Synology-DS support, Marvell-Yukon driver, fixed aligned alloc
 1.3:   allow to have boot options, brdsetup.c cleanup to make brdtype
-       maintainance more confortable
+       maintenance more confortable
 1.4:   load kernels from local disk
 1.5:   altboot is the new name as this is capable of handling net & dsk.
 1.6:   build altboot.img to fake a Linux kernel module, supports bootargs
diff -r 016ebe43fc1d -r 10091384ca0b sys/arch/x86/include/intr.h
--- a/sys/arch/x86/include/intr.h       Mon Apr 04 09:59:41 2022 +0000
+++ b/sys/arch/x86/include/intr.h       Mon Apr 04 19:33:44 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.h,v 1.63 2022/03/12 15:50:44 riastradh Exp $      */
+/*     $NetBSD: intr.h,v 1.64 2022/04/04 19:33:45 andvar Exp $ */
 



Home | Main Index | Thread Index | Old Index