Source-Changes-HG archive

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

[src/trunk]: src fix various small typos, mainly in comments.



details:   https://anonhg.NetBSD.org/src/rev/28287326c849
branches:  trunk
changeset: 366308:28287326c849
user:      andvar <andvar%NetBSD.org@localhost>
date:      Sun May 22 11:27:33 2022 +0000

description:
fix various small typos, mainly in comments.

diffstat:

 distrib/sets/comments                         |   4 ++--
 etc/rc.subr                                   |   4 ++--
 games/trek/schedule.c                         |   6 +++---
 lib/libc/net/rcmd.c                           |   6 +++---
 sbin/newfs_udf/udf_core.c                     |   8 ++++----
 sbin/ping/ping.c                              |   6 +++---
 sys/arch/alpha/alpha/cpu.c                    |   6 +++---
 sys/arch/alpha/alpha/fp_complete.c            |   6 +++---
 sys/arch/alpha/pci/cia.c                      |   6 +++---
 sys/arch/amd64/include/reg.h                  |   4 ++--
 sys/arch/arm/xscale/ixp425_if_npe.c           |   6 +++---
 sys/arch/bebox/stand/boot/siop.c              |   4 ++--
 sys/arch/powerpc/booke/copyout.c              |   6 +++---
 sys/arch/prep/prep/autoconf.c                 |   6 +++---
 sys/arch/sparc/include/autoconf.h             |   4 ++--
 sys/arch/sparc64/sparc64/locore.s             |   4 ++--
 sys/arch/x86/x86/via_padlock.c                |   8 ++++----
 sys/compat/linux/common/linux_errno.h         |   4 ++--
 sys/compat/linux/common/linux_misc_notalpha.c |   6 +++---
 sys/dev/acpi/acpi_tz.c                        |   6 +++---
 sys/dev/i2c/sgp40.c                           |   6 +++---
 sys/dev/ic/aic79xx.c                          |   8 ++++----
 sys/dev/ic/lancereg.h                         |   4 ++--
 sys/dev/ic/siop_common.c                      |   6 +++---
 sys/dev/ieee1394/firewire.c                   |   6 +++---
 sys/dev/midi.c                                |   6 +++---
 sys/dev/pci/agp.c                             |   6 +++---
 sys/dev/pci/bktr/bktr_core.h                  |   4 ++--
 sys/dev/pcmcia/if_ray.c                       |   6 +++---
 sys/dev/pcmcia/if_rayreg.h                    |   4 ++--
 sys/dev/qbus/uda.c                            |   6 +++---
 sys/fs/udf/udf_allocation.c                   |   6 +++---
 sys/fs/v7fs/v7fs.h                            |   6 +++---
 sys/fs/v7fs/v7fs_vnops.c                      |   6 +++---
 sys/kern/kern_lwp.c                           |   6 +++---
 sys/kern/vfs_vnops.c                          |   6 +++---
 sys/net/if.c                                  |   6 +++---
 sys/netinet/dccp_tcplike.c                    |   6 +++---
 sys/ufs/ext2fs/ext2fs_vfsops.c                |   6 +++---
 sys/ufs/ffs/ffs_wapbl.c                       |   6 +++---
 tests/bin/sh/t_option.sh                      |   4 ++--
 usr.bin/tip/tip.h                             |   4 ++--
 usr.sbin/altq/libaltq/altq_qop.h              |   4 ++--
 usr.sbin/inetd/parse.c                        |   6 +++---
 usr.sbin/mmcformat/mmcformat.c                |  18 +++++++++---------
 usr.sbin/mmcformat/uscsi_subr.c               |   4 ++--
 usr.sbin/sysinst/bsddisklabel.c               |   4 ++--
 usr.sbin/sysinst/defs.h                       |   4 ++--
 usr.sbin/sysinst/partitions.h                 |   4 ++--
 49 files changed, 139 insertions(+), 139 deletions(-)

diffs (truncated from 1239 to 300 lines):

diff -r fc5232bd13f5 -r 28287326c849 distrib/sets/comments
--- a/distrib/sets/comments     Sun May 22 11:25:14 2022 +0000
+++ b/distrib/sets/comments     Sun May 22 11:27:33 2022 +0000
@@ -232,7 +232,7 @@
 comp-objc-lib static libraries and shared library links for the Objective C programming language
 comp-objc-piclib PIC libraries for Objective C language shared library generation
 comp-objc-proflib profiling libraries for the Objective C programming language
-comp-nis-include Headers for bulding NIS applications
+comp-nis-include Headers for building NIS applications
 comp-sys-catman formatted manual pages for kernel programming
 comp-sys-man manual pages source for kernel programming
 comp-sys-shlib shared library support for basic i386 math and utility libs
@@ -425,7 +425,7 @@
 man-timed-man manual pages source for the timed(8) network time daemon
 man-tn3270-catman formatted manual pages for utilities for connecting to IBM VM/CMS systems
 man-tn3270-man manual pages source for utilities for connecting to IBM VM/CMS systems
-man-tpm-catman formated manual pages for the Trusted Platform Module utilities
+man-tpm-catman formatted manual pages for the Trusted Platform Module utilities
 man-tpm-htmlman HTML documentation for the Trusted Platform Module utilities
 man-tpm-man documentation for the Trusted Platform Module utilities
 man-util-catman formatted manual pages for basic user utilities
diff -r fc5232bd13f5 -r 28287326c849 etc/rc.subr
--- a/etc/rc.subr       Sun May 22 11:25:14 2022 +0000
+++ b/etc/rc.subr       Sun May 22 11:27:33 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rc.subr,v 1.110 2022/02/06 16:23:12 alnsn Exp $
+# $NetBSD: rc.subr,v 1.111 2022/05/22 11:27:33 andvar Exp $
 #
 # Copyright (c) 1997-2011 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -1327,7 +1327,7 @@
 #      treatment.
 #
 #      The intent is that interactive commands can be run via
-#      no_rc_postprocess(), and their output will apear immediately
+#      no_rc_postprocess(), and their output will appear immediately
 #      on the console instead of being hidden or delayed by the
 #      post-processor.  An unfortunate consequence of the output
 #      bypassing the post-processor is that the output will not be
diff -r fc5232bd13f5 -r 28287326c849 games/trek/schedule.c
--- a/games/trek/schedule.c     Sun May 22 11:25:14 2022 +0000
+++ b/games/trek/schedule.c     Sun May 22 11:27:33 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: schedule.c,v 1.11 2009/05/24 22:55:03 dholland Exp $   */
+/*     $NetBSD: schedule.c,v 1.12 2022/05/22 11:27:33 andvar Exp $     */
 
 /*
  * Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)schedule.c 8.1 (Berkeley) 5/31/93";
 #else
-__RCSID("$NetBSD: schedule.c,v 1.11 2009/05/24 22:55:03 dholland Exp $");
+__RCSID("$NetBSD: schedule.c,v 1.12 2022/05/22 11:27:33 andvar Exp $");
 #endif
 #endif /* not lint */
 
@@ -137,7 +137,7 @@
 
 
 /*
-**  Abreviated schedule routine
+**  Abbreviated schedule routine
 **
 **     Parameters are the event index and a factor for the time
 **     figure.
diff -r fc5232bd13f5 -r 28287326c849 lib/libc/net/rcmd.c
--- a/lib/libc/net/rcmd.c       Sun May 22 11:25:14 2022 +0000
+++ b/lib/libc/net/rcmd.c       Sun May 22 11:27:33 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rcmd.c,v 1.71 2014/11/26 23:44:21 enami Exp $  */
+/*     $NetBSD: rcmd.c,v 1.72 2022/05/22 11:27:33 andvar Exp $ */
 
 /*
  * Copyright (c) 1983, 1993, 1994
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)rcmd.c     8.3 (Berkeley) 3/26/94";
 #else
-__RCSID("$NetBSD: rcmd.c,v 1.71 2014/11/26 23:44:21 enami Exp $");
+__RCSID("$NetBSD: rcmd.c,v 1.72 2022/05/22 11:27:33 andvar Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -1009,7 +1009,7 @@
        }
 
        /*
-        * either the DNS adminstrator has made a configuration
+        * either the DNS administrator has made a configuration
         * mistake, or someone has attempted to spoof us
         */
        syslog(LOG_NOTICE, "rcmd: address %s not listed for host %s",
diff -r fc5232bd13f5 -r 28287326c849 sbin/newfs_udf/udf_core.c
--- a/sbin/newfs_udf/udf_core.c Sun May 22 11:25:14 2022 +0000
+++ b/sbin/newfs_udf/udf_core.c Sun May 22 11:27:33 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_core.c,v 1.11 2022/05/15 20:37:50 andvar Exp $ */
+/* $NetBSD: udf_core.c,v 1.12 2022/05/22 11:27:33 andvar Exp $ */
 
 /*
  * Copyright (c) 2006, 2008, 2021, 2022 Reinoud Zandijk
@@ -30,7 +30,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: udf_core.c,v 1.11 2022/05/15 20:37:50 andvar Exp $");
+__RCSID("$NetBSD: udf_core.c,v 1.12 2022/05/22 11:27:33 andvar Exp $");
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -1682,7 +1682,7 @@
        free_sme = NULL;
        for (cnt = 0; cnt < layout.spareable_blocks; cnt++) {
                sme = &spt->entries[cnt];
-               /* if we are allready in it, bail out */
+               /* if we are already in it, bail out */
                if (udf_rw32(sme->org) == location)
                        return 0;
                if (udf_rw32(sme->org) == 0xffffffff) {
@@ -1934,7 +1934,7 @@
        }
 
        if (error) {
-               /* aparently too big */
+               /* apparently too big */
                free(pathbuf);
                return error;
        }
diff -r fc5232bd13f5 -r 28287326c849 sbin/ping/ping.c
--- a/sbin/ping/ping.c  Sun May 22 11:25:14 2022 +0000
+++ b/sbin/ping/ping.c  Sun May 22 11:27:33 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ping.c,v 1.119 2022/04/07 19:33:37 andvar Exp $        */
+/*     $NetBSD: ping.c,v 1.120 2022/05/22 11:27:33 andvar Exp $        */
 
 /*
  * Copyright (c) 1989, 1993
@@ -58,7 +58,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: ping.c,v 1.119 2022/04/07 19:33:37 andvar Exp $");
+__RCSID("$NetBSD: ping.c,v 1.120 2022/05/22 11:27:33 andvar Exp $");
 #endif
 
 #include <stdio.h>
@@ -1387,7 +1387,7 @@
  * Heavily buffered STDIO is used here, so that all the statistics
  * will be written with 1 sys-write call.  This is nice when more
  * than one copy of the program is running on a terminal;  it prevents
- * the statistics output from becomming intermingled.
+ * the statistics output from becoming intermingled.
  */
 static void
 summary(int header)
diff -r fc5232bd13f5 -r 28287326c849 sys/arch/alpha/alpha/cpu.c
--- a/sys/arch/alpha/alpha/cpu.c        Sun May 22 11:25:14 2022 +0000
+++ b/sys/arch/alpha/alpha/cpu.c        Sun May 22 11:27:33 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.106 2022/04/09 23:39:18 riastradh Exp $ */
+/* $NetBSD: cpu.c,v 1.107 2022/05/22 11:27:33 andvar Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999, 2000, 2001, 2020 The NetBSD Foundation, Inc.
@@ -59,7 +59,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.106 2022/04/09 23:39:18 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.107 2022/05/22 11:27:33 andvar Exp $");
 
 #include "opt_ddb.h"
 #include "opt_multiprocessor.h"
@@ -850,7 +850,7 @@
        /*
         * Invalidate the TLB and sync the I-stream before we
         * jump into the kernel proper.  We have to do this
-        * beacause we haven't been getting IPIs while we've
+        * because we haven't been getting IPIs while we've
         * been spinning.
         */
        ALPHA_TBIA();
diff -r fc5232bd13f5 -r 28287326c849 sys/arch/alpha/alpha/fp_complete.c
--- a/sys/arch/alpha/alpha/fp_complete.c        Sun May 22 11:25:14 2022 +0000
+++ b/sys/arch/alpha/alpha/fp_complete.c        Sun May 22 11:27:33 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fp_complete.c,v 1.29 2021/12/08 20:21:09 andvar Exp $ */
+/* $NetBSD: fp_complete.c,v 1.30 2022/05/22 11:27:33 andvar Exp $ */
 
 /*-
  * Copyright (c) 2001 Ross Harvey
@@ -37,7 +37,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: fp_complete.c,v 1.29 2021/12/08 20:21:09 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fp_complete.c,v 1.30 2022/05/22 11:27:33 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -703,7 +703,7 @@
 
        /*
         * Start out with the code mirroring the exception flags
-        * (FP_X_*).  Shift right 1 bit to discard SWC to achive
+        * (FP_X_*).  Shift right 1 bit to discard SWC to achieve
         * this.
         */
        *ucode = a0 >> 1;
diff -r fc5232bd13f5 -r 28287326c849 sys/arch/alpha/pci/cia.c
--- a/sys/arch/alpha/pci/cia.c  Sun May 22 11:25:14 2022 +0000
+++ b/sys/arch/alpha/pci/cia.c  Sun May 22 11:27:33 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cia.c,v 1.79 2021/08/07 16:18:41 thorpej Exp $ */
+/* $NetBSD: cia.c,v 1.80 2022/05/22 11:27:33 andvar Exp $ */
 
 /*-
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -61,7 +61,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: cia.c,v 1.79 2021/08/07 16:18:41 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cia.c,v 1.80 2022/05/22 11:27:33 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -179,7 +179,7 @@
        /*
         * Use BWX iff:
         *
-        *      - It hasn't been disbled by the user,
+        *      - It hasn't been disabled by the user,
         *      - it's enabled in CNFG,
         *      - we're implementation version ev5,
         *      - BWX is enabled in the CPU's capabilities mask
diff -r fc5232bd13f5 -r 28287326c849 sys/arch/amd64/include/reg.h
--- a/sys/arch/amd64/include/reg.h      Sun May 22 11:25:14 2022 +0000
+++ b/sys/arch/amd64/include/reg.h      Sun May 22 11:27:33 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: reg.h,v 1.10 2017/02/23 03:34:22 kamil Exp $   */
+/*     $NetBSD: reg.h,v 1.11 2022/05/22 11:27:33 andvar Exp $  */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -46,7 +46,7 @@
  * Registers accessible to ptrace(2) syscall for debugger use.
  * Same as mcontext.__gregs (except that is 'unsigned long').
  * NB this structure is no longer the same as 'struct trapframe',
- * athough the array indexes are defined in the same place.
+ * although the array indexes are defined in the same place.
  */
 struct reg {
        long    regs[_NGREG];
diff -r fc5232bd13f5 -r 28287326c849 sys/arch/arm/xscale/ixp425_if_npe.c
--- a/sys/arch/arm/xscale/ixp425_if_npe.c       Sun May 22 11:25:14 2022 +0000
+++ b/sys/arch/arm/xscale/ixp425_if_npe.c       Sun May 22 11:27:33 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ixp425_if_npe.c,v 1.50 2021/12/31 14:25:22 riastradh Exp $ */
+/*     $NetBSD: ixp425_if_npe.c,v 1.51 2022/05/22 11:27:34 andvar Exp $ */
 
 /*-
  * Copyright (c) 2006 Sam Leffler.  All rights reserved.
@@ -28,7 +28,7 @@
 #if 0
 __FBSDID("$FreeBSD: src/sys/arm/xscale/ixp425/if_npe.c,v 1.1 2006/11/19 23:55:23 sam Exp $");
 #endif
-__KERNEL_RCSID(0, "$NetBSD: ixp425_if_npe.c,v 1.50 2021/12/31 14:25:22 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixp425_if_npe.c,v 1.51 2022/05/22 11:27:34 andvar Exp $");
 
 /*
  * Intel XScale NPE Ethernet driver.
@@ -1445,7 +1445,7 @@
                            & (IFF_PROMISC | IFF_ALLMULTI);
                        if ((diff & (IFF_PROMISC | IFF_ALLMULTI)) != 0) {
                                /*
-                                * If the difference bettween last flag and
+                                * If the difference between last flag and
                                 * new flag only IFF_PROMISC or IFF_ALLMULTI,
                                 * set multicast filter only (don't reset to
                                 * prevent link down).
diff -r fc5232bd13f5 -r 28287326c849 sys/arch/bebox/stand/boot/siop.c
--- a/sys/arch/bebox/stand/boot/siop.c  Sun May 22 11:25:14 2022 +0000
+++ b/sys/arch/bebox/stand/boot/siop.c  Sun May 22 11:27:33 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: siop.c,v 1.8 2022/01/01 13:47:19 andvar Exp $  */
+/*     $NetBSD: siop.c,v 1.9 2022/05/22 11:27:34 andvar Exp $  */
 /*
  * Copyright (c) 2010 KIYOHARA Takashi
  * All rights reserved.
@@ -188,7 +188,7 @@
         */
 
        /*
-        * before doing that we decrease resid from the ammount of data which
+        * before doing that we decrease resid from the amount of data which
         * has been transferred.
         */
        siop_update_resid(adp, xfer, xs, offset);



Home | Main Index | Thread Index | Old Index