Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/acpitools/acpidump fix various typos in comments, m...



details:   https://anonhg.NetBSD.org/src/rev/a44b18ec2648
branches:  trunk
changeset: 986312:a44b18ec2648
user:      andvar <andvar%NetBSD.org@localhost>
date:      Sun Sep 19 10:34:06 2021 +0000

description:
fix various typos in comments, messages and documentation.

diffstat:

 common/lib/libc/misc/ubsan.c              |  8 ++++----
 games/rogue/CHANGES                       |  6 +++---
 sbin/newfs_udf/newfs_udf.c                |  4 ++--
 sys/arch/acorn32/podulebus/if_ie.c        |  6 +++---
 sys/arch/alpha/alpha/pmap.c               |  6 +++---
 sys/arch/amiga/dev/view.c                 |  6 +++---
 sys/arch/amiga/dev/viewioctl.h            |  4 ++--
 sys/arch/amiga/dev/viewvar.h              |  4 ++--
 sys/arch/arc/arc/c_nec_pci.c              |  6 +++---
 sys/arch/arm/broadcom/bcm53xx_var.h       |  4 ++--
 sys/arch/arm/gemini/obio_wdc.c            |  6 +++---
 sys/arch/arm/iomd/vidc20config.c          |  6 +++---
 sys/arch/arm/samsung/exynos_soc.c         |  6 +++---
 sys/arch/arm/xscale/ixp425-fw.README      |  4 ++--
 sys/arch/arm/xscale/ixp425_if_npe.c       |  6 +++---
 sys/arch/atari/dev/view.c                 |  6 +++---
 sys/arch/atari/dev/viewioctl.h            |  4 ++--
 sys/arch/atari/dev/viewvar.h              |  4 ++--
 sys/arch/m68k/include/pmap_motorola.h     |  4 ++--
 sys/arch/mips/mips/locore_mips1.S         |  6 +++---
 sys/arch/powerpc/include/booke/etsecreg.h |  4 ++--
 sys/dev/ic/isp.c                          |  6 +++---
 sys/dev/microcode/aic7xxx/aic79xx.seq     |  4 ++--
 sys/dev/microcode/aic7xxx/aicasm_gram.y   |  4 ++--
 sys/dev/pci/ixgbe/ixgbe.h                 |  4 ++--
 sys/dev/scsipi/if_se.c                    |  6 +++---
 sys/net80211/ieee80211_node.c             |  6 +++---
 sys/netinet/sctp_input.c                  |  6 +++---
 sys/netinet/sctp_pcb.c                    |  6 +++---
 tests/fs/puffs/h_dtfs/dtfs_vfsops.c       |  4 ++--
 tests/kernel/t_kauth_pr_47598.c           |  4 ++--
 usr.sbin/acpitools/acpidump/acpi.c        |  6 +++---
 32 files changed, 83 insertions(+), 83 deletions(-)

diffs (truncated from 739 to 300 lines):

diff -r 94dc0e045c20 -r a44b18ec2648 common/lib/libc/misc/ubsan.c
--- a/common/lib/libc/misc/ubsan.c      Sun Sep 19 07:55:17 2021 +0000
+++ b/common/lib/libc/misc/ubsan.c      Sun Sep 19 10:34:06 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ubsan.c,v 1.10 2020/03/08 21:35:03 kamil Exp $ */
+/*     $NetBSD: ubsan.c,v 1.11 2021/09/19 10:34:06 andvar Exp $        */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -38,9 +38,9 @@
 
 #include <sys/cdefs.h>
 #if defined(_KERNEL)
-__KERNEL_RCSID(0, "$NetBSD: ubsan.c,v 1.10 2020/03/08 21:35:03 kamil Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ubsan.c,v 1.11 2021/09/19 10:34:06 andvar Exp $");
 #else
-__RCSID("$NetBSD: ubsan.c,v 1.10 2020/03/08 21:35:03 kamil Exp $");
+__RCSID("$NetBSD: ubsan.c,v 1.11 2021/09/19 10:34:06 andvar Exp $");
 #endif
 
 #if defined(_KERNEL)
@@ -744,7 +744,7 @@
        if (pData->mAssumptionLocation.mFilename != NULL) {
                DeserializeLocation(szAssumptionLocation, LOCATION_MAXLEN,
                    &pData->mAssumptionLocation);
-               Report(isFatal, "UBSan: Undefined Behavior in %s, alignment assumption of %#lx for pointer %#lx (offset %#lx), asumption made in %s\n",
+               Report(isFatal, "UBSan: Undefined Behavior in %s, alignment assumption of %#lx for pointer %#lx (offset %#lx), assumption made in %s\n",
                    szLocation, ulAlignment, ulRealPointer, ulOffset,
                    szAssumptionLocation);
        } else {
diff -r 94dc0e045c20 -r a44b18ec2648 games/rogue/CHANGES
--- a/games/rogue/CHANGES       Sun Sep 19 07:55:17 2021 +0000
+++ b/games/rogue/CHANGES       Sun Sep 19 10:34:06 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.3 2000/03/13 22:53:22 soren Exp $
+$NetBSD: CHANGES,v 1.4 2021/09/19 10:34:07 andvar Exp $
 
 From:    tektronix!zeus.TEK.COM!tims%ucbvax.Berkeley.EDU@localhost
 Date:    30 Nov 87 15:08:15 PST (Mon)
@@ -6,7 +6,7 @@
 Subject: Re: Public domain rogue
 Return-Path: tektronix!zeus.TEK.COM!tims%ucbvax.Berkeley.EDU@localhost
 
-Here is a list of discrepencies from the documentation you sent me:
+Here is a list of discrepancies from the documentation you sent me:
 
 The -d option not implemented.
 The -r option not implemented, use "rogue save_file" instead.
@@ -14,7 +14,7 @@
 The D command is not implemented.
 Only scrolls,potions,wands,and rings may be "call"ed something.
 The ^P command may be used to go 4 messages back, instead of just 1.
-The @ comand is not implemented.
+The @ command is not implemented.
 There are no dark rooms.
 ROGUEOPTS of flush,terse,seefloor,askme,inventory are ignored.
        'askquit' is added to prevent ^\ from terminating the game accidentally.
diff -r 94dc0e045c20 -r a44b18ec2648 sbin/newfs_udf/newfs_udf.c
--- a/sbin/newfs_udf/newfs_udf.c        Sun Sep 19 07:55:17 2021 +0000
+++ b/sbin/newfs_udf/newfs_udf.c        Sun Sep 19 10:34:06 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: newfs_udf.c,v 1.21 2021/08/20 20:25:26 andvar Exp $ */
+/* $NetBSD: newfs_udf.c,v 1.22 2021/09/19 10:34:07 andvar Exp $ */
 
 /*
  * Copyright (c) 2006, 2008, 2013 Reinoud Zandijk
@@ -759,7 +759,7 @@
                        emul_packetsize = MIN(emul_packetsize, 32);
                        break;
                case 't' :
-                       /* time zone overide */
+                       /* time zone override */
                        context.gmtoff = a_num(optarg, "gmtoff");
                        break;
                default  :
diff -r 94dc0e045c20 -r a44b18ec2648 sys/arch/acorn32/podulebus/if_ie.c
--- a/sys/arch/acorn32/podulebus/if_ie.c        Sun Sep 19 07:55:17 2021 +0000
+++ b/sys/arch/acorn32/podulebus/if_ie.c        Sun Sep 19 10:34:06 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ie.c,v 1.49 2021/07/24 22:30:59 andvar Exp $ */
+/* $NetBSD: if_ie.c,v 1.50 2021/09/19 10:34:07 andvar Exp $ */
 
 /*
  * Copyright (c) 1995 Melvin Tang-Richardson.
@@ -53,7 +53,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ie.c,v 1.49 2021/07/24 22:30:59 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ie.c,v 1.50 2021/09/19 10:34:07 andvar Exp $");
 
 #define IGNORE_ETHER1_IDROM_CHECKSUM
 
@@ -456,7 +456,7 @@
 
        /* "Hmm," said nuts, "what if the attach fails" */
 
-       /* Write some pretty things on the annoucement line */
+       /* Write some pretty things on the announcement line */
        printf ( ": %s using %dk card ram",
            ether_sprintf(hwaddr),
            ((NRXBUF*IE_RXBUF_SIZE)+(NTXBUF*IE_TXBUF_SIZE))/1024 );
diff -r 94dc0e045c20 -r a44b18ec2648 sys/arch/alpha/alpha/pmap.c
--- a/sys/arch/alpha/alpha/pmap.c       Sun Sep 19 07:55:17 2021 +0000
+++ b/sys/arch/alpha/alpha/pmap.c       Sun Sep 19 10:34:06 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.301 2021/08/13 20:19:45 andvar Exp $ */
+/* $NetBSD: pmap.c,v 1.302 2021/09/19 10:34:07 andvar Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999, 2000, 2001, 2007, 2008, 2020
@@ -135,7 +135,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.301 2021/08/13 20:19:45 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.302 2021/09/19 10:34:07 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -3759,7 +3759,7 @@
                            "0x%lx\n", pmap_pte_pa(l2pte));
 #endif
                /*
-                * You can pass NULL if you know the last refrence won't
+                * You can pass NULL if you know the last reference won't
                 * be dropped.
                 */
                KASSERT(tlbctx != NULL);
diff -r 94dc0e045c20 -r a44b18ec2648 sys/arch/amiga/dev/view.c
--- a/sys/arch/amiga/dev/view.c Sun Sep 19 07:55:17 2021 +0000
+++ b/sys/arch/amiga/dev/view.c Sun Sep 19 10:34:06 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: view.c,v 1.33 2015/11/12 12:19:49 phx Exp $ */
+/*     $NetBSD: view.c,v 1.34 2021/09/19 10:34:07 andvar Exp $ */
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -34,11 +34,11 @@
  * simply to map the semantics of a graphics dipslay to
  * the semantics of a character block device.  In other
  * words the graphics system as currently built does not like to be
- * refered to by open/close/ioctl.  This device serves as
+ * referred to by open/close/ioctl.  This device serves as
  * a interface to graphics. */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: view.c,v 1.33 2015/11/12 12:19:49 phx Exp $");
+__KERNEL_RCSID(0, "$NetBSD: view.c,v 1.34 2021/09/19 10:34:07 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
diff -r 94dc0e045c20 -r a44b18ec2648 sys/arch/amiga/dev/viewioctl.h
--- a/sys/arch/amiga/dev/viewioctl.h    Sun Sep 19 07:55:17 2021 +0000
+++ b/sys/arch/amiga/dev/viewioctl.h    Sun Sep 19 10:34:06 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: viewioctl.h,v 1.10 2015/09/07 03:49:45 dholland Exp $  */
+/*     $NetBSD: viewioctl.h,v 1.11 2021/09/19 10:34:07 andvar Exp $    */
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -35,7 +35,7 @@
  * simply to map the semantics of a graphics dipslay to
  * the semantics of a character block device.  In other
  * words the graphics system as currently built does not like to be
- * refered to by open/close/ioctl.  This device serves as
+ * referred to by open/close/ioctl.  This device serves as
  * a interface to graphics.
  */
 
diff -r 94dc0e045c20 -r a44b18ec2648 sys/arch/amiga/dev/viewvar.h
--- a/sys/arch/amiga/dev/viewvar.h      Sun Sep 19 07:55:17 2021 +0000
+++ b/sys/arch/amiga/dev/viewvar.h      Sun Sep 19 10:34:06 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: viewvar.h,v 1.4 2002/01/26 13:41:00 aymeric Exp $      */
+/*     $NetBSD: viewvar.h,v 1.5 2021/09/19 10:34:07 andvar Exp $       */
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -34,7 +34,7 @@
  * simply to map the semantics of a graphics dipslay to
  * the semantics of a character block device.  In other
  * words the graphics system as currently built does not like to be
- * refered to by open/close/ioctl.  This device serves as
+ * referred to by open/close/ioctl.  This device serves as
  * a interface to graphics. */
 
 struct view_softc {
diff -r 94dc0e045c20 -r a44b18ec2648 sys/arch/arc/arc/c_nec_pci.c
--- a/sys/arch/arc/arc/c_nec_pci.c      Sun Sep 19 07:55:17 2021 +0000
+++ b/sys/arch/arc/arc/c_nec_pci.c      Sun Sep 19 10:34:06 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: c_nec_pci.c,v 1.20 2012/10/13 17:58:53 jdc Exp $       */
+/*     $NetBSD: c_nec_pci.c,v 1.21 2021/09/19 10:34:07 andvar Exp $    */
 
 /*-
  * Copyright (C) 2000 Shuichiro URATA.  All rights reserved.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: c_nec_pci.c,v 1.20 2012/10/13 17:58:53 jdc Exp $");
+__KERNEL_RCSID(0, "$NetBSD: c_nec_pci.c,v 1.21 2021/09/19 10:34:07 andvar Exp $");
 
 #define __INTR_PRIVATE
 #include <sys/param.h>
@@ -222,7 +222,7 @@
         * If you met this symptom, please report it to
         * port-arc-maintainer%NetBSD.org@localhost.
         *
-        * kseg2iobufsize will be refered from pmap_bootstrap().
+        * kseg2iobufsize will be referred from pmap_bootstrap().
         */
        kseg2iobufsize = 0x02000000; /* 32MB: consumes 32KB for PTEs */
 
diff -r 94dc0e045c20 -r a44b18ec2648 sys/arch/arm/broadcom/bcm53xx_var.h
--- a/sys/arch/arm/broadcom/bcm53xx_var.h       Sun Sep 19 07:55:17 2021 +0000
+++ b/sys/arch/arm/broadcom/bcm53xx_var.h       Sun Sep 19 10:34:06 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bcm53xx_var.h,v 1.6 2013/10/28 22:51:16 matt Exp $     */
+/*     $NetBSD: bcm53xx_var.h,v 1.7 2021/09/19 10:34:08 andvar Exp $   */
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -70,7 +70,7 @@
        uint32_t clk_robo;      // GENPLL CH1
        uint32_t clk_usb2;      // GENPLL CH2
        uint32_t clk_iproc;     // GENPLL CH3
-       uint32_t clk_usb_ref;   // 1920MHz USB Refernce Clock
+       uint32_t clk_usb_ref;   // 1920MHz USB Reference Clock
 };
 
 /*
diff -r 94dc0e045c20 -r a44b18ec2648 sys/arch/arm/gemini/obio_wdc.c
--- a/sys/arch/arm/gemini/obio_wdc.c    Sun Sep 19 07:55:17 2021 +0000
+++ b/sys/arch/arm/gemini/obio_wdc.c    Sun Sep 19 10:34:06 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: obio_wdc.c,v 1.9 2019/06/03 06:04:20 msaitoh Exp $     */
+/*     $NetBSD: obio_wdc.c,v 1.10 2021/09/19 10:34:08 andvar Exp $     */
 
 /* adapted from iq31244/wdc_obio.c:
  *     NetBSD: wdc_obio.c,v 1.5 2008/04/28 20:23:16 martin Exp
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obio_wdc.c,v 1.9 2019/06/03 06:04:20 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obio_wdc.c,v 1.10 2021/09/19 10:34:08 andvar Exp $");
 
 #include "locators.h"
 
@@ -93,7 +93,7 @@
        /*
         * we treat the two channels of the Gemini MIDE controller
         * as separate wdc controllers, because they have
-        * independent interrupts.  'chan' here is an MIDE chanel,
+        * independent interrupts.  'chan' here is an MIDE channel,
         * (not to be confused with ATA channel).
         */
        switch (obio->obio_addr) {
diff -r 94dc0e045c20 -r a44b18ec2648 sys/arch/arm/iomd/vidc20config.c
--- a/sys/arch/arm/iomd/vidc20config.c  Sun Sep 19 07:55:17 2021 +0000
+++ b/sys/arch/arm/iomd/vidc20config.c  Sun Sep 19 10:34:06 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vidc20config.c,v 1.34 2014/10/25 10:58:12 skrll Exp $  */
+/*     $NetBSD: vidc20config.c,v 1.35 2021/09/19 10:34:08 andvar Exp $ */
 
 /*
  * Copyright (c) 2001 Reinoud Zandijk
@@ -48,7 +48,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: vidc20config.c,v 1.34 2014/10/25 10:58:12 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vidc20config.c,v 1.35 2021/09/19 10:34:08 andvar Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -371,7 +371,7 @@
 
 
 /* simple function to abstract vidc variables ; returns virt start address of screen */
-/* XXX asumption that video memory is mapped in twice */
+/* XXX assumption that video memory is mapped in twice */
 void *vidcvideo_hwscroll(int bytes)
 {
 
diff -r 94dc0e045c20 -r a44b18ec2648 sys/arch/arm/samsung/exynos_soc.c
--- a/sys/arch/arm/samsung/exynos_soc.c Sun Sep 19 07:55:17 2021 +0000
+++ b/sys/arch/arm/samsung/exynos_soc.c Sun Sep 19 10:34:06 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: exynos_soc.c,v 1.39 2018/10/31 08:41:47 skrll Exp $    */
+/*     $NetBSD: exynos_soc.c,v 1.40 2021/09/19 10:34:08 andvar Exp $   */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
 #include "opt_exynos.h"
 
 #include <sys/cdefs.h>



Home | Main Index | Thread Index | Old Index