Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/a78524897786
branches:  trunk
changeset: 366467:a78524897786
user:      andvar <andvar%NetBSD.org@localhost>
date:      Sat May 28 10:36:21 2022 +0000

description:
fix various typos, mainly in comments.

diffstat:

 bin/pax/buf_subs.c                |  8 ++++----
 sys/arch/amiga/dev/ite.c          |  6 +++---
 sys/arch/atari/dev/ite.c          |  6 +++---
 sys/arch/hpcarm/dev/sed_saip.c    |  6 +++---
 sys/arch/hpcarm/dev/wzero3_lcd.c  |  6 +++---
 sys/arch/hpcmips/dev/ite8181.c    |  6 +++---
 sys/arch/hpcmips/dev/mq200.c      |  6 +++---
 sys/arch/m68k/060sp/ReadMe.NetBSD |  6 +++---
 sys/arch/riscv/riscv/db_disasm.c  |  6 +++---
 sys/arch/usermode/usermode/trap.c |  6 +++---
 sys/arch/x68k/dev/ite.c           |  6 +++---
 sys/arch/zaurus/dev/w100lcd.c     |  6 +++---
 sys/arch/zaurus/dev/zlcd.c        |  6 +++---
 sys/dev/hpc/bivideo.c             |  6 +++---
 sys/dev/i2c/sht3xreg.h            |  4 ++--
 sys/dev/pci/ahd_pci.c             |  6 +++---
 sys/dev/pci/if_casreg.h           |  4 ++--
 sys/dev/tc/zs_ioasic.c            |  6 +++---
 sys/netinet/sctp_output.c         |  6 +++---
 sys/netinet6/raw_ip6.c            |  6 +++---
 sys/sys/power.h                   |  4 ++--
 usr.bin/mail/mime_detach.h        |  4 ++--
 usr.sbin/envstat/envstat.c        |  8 ++++----
 usr.sbin/fwctl/fwmpegts.c         |  6 +++---
 usr.sbin/sysinst/bsddisklabel.c   |  6 +++---
 25 files changed, 73 insertions(+), 73 deletions(-)

diffs (truncated from 657 to 300 lines):

diff -r f6ba53b1fdfb -r a78524897786 bin/pax/buf_subs.c
--- a/bin/pax/buf_subs.c        Sat May 28 09:41:51 2022 +0000
+++ b/bin/pax/buf_subs.c        Sat May 28 10:36:21 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: buf_subs.c,v 1.29 2018/03/19 03:11:39 msaitoh Exp $    */
+/*     $NetBSD: buf_subs.c,v 1.30 2022/05/28 10:36:21 andvar Exp $     */
 
 /*-
  * Copyright (c) 1992 Keith Muller.
@@ -42,7 +42,7 @@
 #if 0
 static char sccsid[] = "@(#)buf_subs.c 8.2 (Berkeley) 4/18/94";
 #else
-__RCSID("$NetBSD: buf_subs.c,v 1.29 2018/03/19 03:11:39 msaitoh Exp $");
+__RCSID("$NetBSD: buf_subs.c,v 1.30 2022/05/28 10:36:21 andvar Exp $");
 #endif
 #endif /* not lint */
 
@@ -206,7 +206,7 @@
  *     on disk files, this is trivial. However, many devices are really picky
  *     about the conditions under which they will allow a write to occur.
  *     Often devices restrict the conditions where writes can be made,
- *     so it may not be feasable to append archives stored on all types of
+ *     so it may not be feasible to append archives stored on all types of
  *     devices.
  * Return:
  *     0 for success, -1 for failure
@@ -462,7 +462,7 @@
  * wr_fin()
  *     flush out any data (and pad if required) the last block. We always pad
  *     with zero (even though we do not have to). Padding with 0 makes it a
- *     lot easier to recover if the archive is damaged. zero paddding SHOULD
+ *     lot easier to recover if the archive is damaged. zero padding SHOULD
  *     BE a requirement....
  */
 
diff -r f6ba53b1fdfb -r a78524897786 sys/arch/amiga/dev/ite.c
--- a/sys/arch/amiga/dev/ite.c  Sat May 28 09:41:51 2022 +0000
+++ b/sys/arch/amiga/dev/ite.c  Sat May 28 10:36:21 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ite.c,v 1.99 2018/09/03 16:29:22 riastradh Exp $ */
+/*     $NetBSD: ite.c,v 1.100 2022/05/28 10:36:22 andvar Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -46,7 +46,7 @@
 #include "opt_ddb.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ite.c,v 1.99 2018/09/03 16:29:22 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ite.c,v 1.100 2022/05/28 10:36:22 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -325,7 +325,7 @@
 
 /*
  * ite_cnfinish() is called in ite_init() when the device is
- * being probed in the normal fasion, thus we can finish setting
+ * being probed in the normal fashion, thus we can finish setting
  * up this ite now that the system is more functional.
  */
 void
diff -r f6ba53b1fdfb -r a78524897786 sys/arch/atari/dev/ite.c
--- a/sys/arch/atari/dev/ite.c  Sat May 28 09:41:51 2022 +0000
+++ b/sys/arch/atari/dev/ite.c  Sat May 28 10:36:21 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ite.c,v 1.80 2021/01/03 17:42:10 thorpej Exp $ */
+/*     $NetBSD: ite.c,v 1.81 2022/05/28 10:36:22 andvar Exp $  */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -44,7 +44,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ite.c,v 1.80 2021/01/03 17:42:10 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ite.c,v 1.81 2022/05/28 10:36:22 andvar Exp $");
 
 #include "opt_ddb.h"
 
@@ -297,7 +297,7 @@
 
 /*
  * ite_cnfinish() is called in ite_init() when the device is
- * being probed in the normal fasion, thus we can finish setting
+ * being probed in the normal fashion, thus we can finish setting
  * up this ite now that the system is more functional.
  */
 void
diff -r f6ba53b1fdfb -r a78524897786 sys/arch/hpcarm/dev/sed_saip.c
--- a/sys/arch/hpcarm/dev/sed_saip.c    Sat May 28 09:41:51 2022 +0000
+++ b/sys/arch/hpcarm/dev/sed_saip.c    Sat May 28 10:36:21 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sed_saip.c,v 1.28 2021/08/07 16:18:53 thorpej Exp $    */
+/*     $NetBSD: sed_saip.c,v 1.29 2022/05/28 10:36:22 andvar Exp $     */
 
 /*-
  * Copyright (c) 1999-2001
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sed_saip.c,v 1.28 2021/08/07 16:18:53 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sed_saip.c,v 1.29 2022/05/28 10:36:22 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -545,7 +545,7 @@
        case HPCFBIO_GOP:
        case HPCFBIO_SOP:
                /*
-                * curently not implemented...
+                * currently not implemented...
                 */
                return EINVAL;
        }
diff -r f6ba53b1fdfb -r a78524897786 sys/arch/hpcarm/dev/wzero3_lcd.c
--- a/sys/arch/hpcarm/dev/wzero3_lcd.c  Sat May 28 09:41:51 2022 +0000
+++ b/sys/arch/hpcarm/dev/wzero3_lcd.c  Sat May 28 10:36:21 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wzero3_lcd.c,v 1.7 2021/08/07 16:18:53 thorpej Exp $   */
+/*     $NetBSD: wzero3_lcd.c,v 1.8 2022/05/28 10:36:22 andvar Exp $    */
 
 /*-
  * Copyright (C) 2008, 2009 NONAKA Kimihiro <nonaka%netbsd.org@localhost>
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wzero3_lcd.c,v 1.7 2021/08/07 16:18:53 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wzero3_lcd.c,v 1.8 2022/05/28 10:36:22 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -417,7 +417,7 @@
 
        case HPCFBIO_GOP:
        case HPCFBIO_SOP:
-               /* curently not implemented...  */
+               /* currently not implemented...  */
                break;
        }
 
diff -r f6ba53b1fdfb -r a78524897786 sys/arch/hpcmips/dev/ite8181.c
--- a/sys/arch/hpcmips/dev/ite8181.c    Sat May 28 09:41:51 2022 +0000
+++ b/sys/arch/hpcmips/dev/ite8181.c    Sat May 28 10:36:21 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ite8181.c,v 1.30 2021/08/07 16:18:54 thorpej Exp $     */
+/*     $NetBSD: ite8181.c,v 1.31 2022/05/28 10:36:22 andvar Exp $      */
 
 /*-
  * Copyright (c) 2000,2001 SATO Kazumi
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ite8181.c,v 1.30 2021/08/07 16:18:54 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ite8181.c,v 1.31 2022/05/28 10:36:22 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -875,7 +875,7 @@
        case HPCFBIO_GOP:
        case HPCFBIO_SOP:
                /*
-                * curently not implemented...
+                * currently not implemented...
                 */
                return (EINVAL);
        }
diff -r f6ba53b1fdfb -r a78524897786 sys/arch/hpcmips/dev/mq200.c
--- a/sys/arch/hpcmips/dev/mq200.c      Sat May 28 09:41:51 2022 +0000
+++ b/sys/arch/hpcmips/dev/mq200.c      Sat May 28 10:36:21 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mq200.c,v 1.34 2021/08/07 16:18:54 thorpej Exp $       */
+/*     $NetBSD: mq200.c,v 1.35 2022/05/28 10:36:22 andvar Exp $        */
 
 /*-
  * Copyright (c) 2000, 2001 TAKEMURA Shin
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mq200.c,v 1.34 2021/08/07 16:18:54 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mq200.c,v 1.35 2022/05/28 10:36:22 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -696,7 +696,7 @@
        case HPCFBIO_GOP:
        case HPCFBIO_SOP:
                /*
-                * curently not implemented...
+                * currrently not implemented...
                 */
                return (EINVAL);
        }
diff -r f6ba53b1fdfb -r a78524897786 sys/arch/m68k/060sp/ReadMe.NetBSD
--- a/sys/arch/m68k/060sp/ReadMe.NetBSD Sat May 28 09:41:51 2022 +0000
+++ b/sys/arch/m68k/060sp/ReadMe.NetBSD Sat May 28 10:36:21 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: ReadMe.NetBSD,v 1.6 2008/05/03 23:57:21 martin Exp $
+$NetBSD: ReadMe.NetBSD,v 1.7 2022/05/28 10:36:22 andvar Exp $
 
 Copyright (c) 1996 The NetBSD Foundation, Inc.
 All rights reserved.
@@ -53,7 +53,7 @@
 through an RTE as in the example file
 
 Other changes are only in the method this was integrated into the
-Amiga vs. X68k port, which is machine dependend anyway.
+Amiga vs. X68k port, which is machine dependent anyway.
 
 Thanks for the initial effort!
 
@@ -73,7 +73,7 @@
 errata, changes, files, readme: by Motorola.
 
 
-I choose .S as the file suffix which is feeded to our assembler
+I choose .S as the file suffix which is fed to our assembler
 directly or indirectly.
 
 We use:                To create: 
diff -r f6ba53b1fdfb -r a78524897786 sys/arch/riscv/riscv/db_disasm.c
--- a/sys/arch/riscv/riscv/db_disasm.c  Sat May 28 09:41:51 2022 +0000
+++ b/sys/arch/riscv/riscv/db_disasm.c  Sat May 28 10:36:21 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_disasm.c,v 1.8 2021/05/23 23:22:55 dholland Exp $   */
+/*     $NetBSD: db_disasm.c,v 1.9 2022/05/28 10:36:22 andvar Exp $     */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 
-__RCSID("$NetBSD: db_disasm.c,v 1.8 2021/05/23 23:22:55 dholland Exp $");
+__RCSID("$NetBSD: db_disasm.c,v 1.9 2022/05/28 10:36:22 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1203,7 +1203,7 @@
                } else if (info->printflags & CSRIIMM) {
                        /*
                         * CSR instruction with immediate; the CSR
-                        * number is in the immediate fiel and the RS1
+                        * number is in the immediate field and the RS1
                         * field contains the immediate. Bleck.
                         */
                        imm = INSN_IMM_I(insn);
diff -r f6ba53b1fdfb -r a78524897786 sys/arch/usermode/usermode/trap.c
--- a/sys/arch/usermode/usermode/trap.c Sat May 28 09:41:51 2022 +0000
+++ b/sys/arch/usermode/usermode/trap.c Sat May 28 10:36:21 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.72 2019/11/29 18:27:33 ad Exp $ */
+/* $NetBSD: trap.c,v 1.73 2022/05/28 10:36:22 andvar Exp $ */
 
 /*-
  * Copyright (c) 2011 Reinoud Zandijk <reinoud%netbsd.org@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.72 2019/11/29 18:27:33 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.73 2022/05/28 10:36:22 andvar Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -115,7 +115,7 @@
         * Set up the alternative signal stack. This prevents signals to be
         * pushed on the NetBSD/usermode userland's stack with all desastrous
         * effects. Especially ld.so and friends have such tiny stacks that
-        * its not feasable.
+        * its not feasible.
         */
        sigstk.ss_sp    = sig_stack;
        sigstk.ss_size  = SIGSTKSZ;
diff -r f6ba53b1fdfb -r a78524897786 sys/arch/x68k/dev/ite.c
--- a/sys/arch/x68k/dev/ite.c   Sat May 28 09:41:51 2022 +0000
+++ b/sys/arch/x68k/dev/ite.c   Sat May 28 10:36:21 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ite.c,v 1.67 2022/05/26 15:05:11 tsutsui Exp $ */
+/*     $NetBSD: ite.c,v 1.68 2022/05/28 10:36:22 andvar Exp $  */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -45,7 +45,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ite.c,v 1.67 2022/05/26 15:05:11 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ite.c,v 1.68 2022/05/28 10:36:22 andvar Exp $");
 
 #include "ite.h"
 #if NITE > 0
@@ -2367,7 +2367,7 @@
 
 /*



Home | Main Index | Thread Index | Old Index