Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/altq/libaltq fix various typos in comment, document...



details:   https://anonhg.NetBSD.org/src/rev/95ae4141fb08
branches:  trunk
changeset: 366389:95ae4141fb08
user:      andvar <andvar%NetBSD.org@localhost>
date:      Tue May 24 20:50:17 2022 +0000

description:
fix various typos in comment, documentation and log messages.

diffstat:

 common/lib/libc/gen/ptree.c               |  10 +++++-----
 common/lib/libc/gen/radixtree.c           |   8 ++++----
 lib/libc/stdlib/div.3                     |   4 ++--
 lib/libp2k/p2k.c                          |   4 ++--
 sbin/iscsid/iscsid_targets.c              |   4 ++--
 sbin/mount_nilfs/mount_nilfs.8            |   4 ++--
 share/man/man4/lagg.4                     |   8 ++++----
 sys/altq/altq_rmclass.h                   |   4 ++--
 sys/arch/amiga/dev/grf.c                  |   6 +++---
 sys/arch/amiga/dev/if_es.c                |   6 +++---
 sys/arch/arc/dev/pccons.c                 |   6 +++---
 sys/arch/evbarm/conf/GUMSTIX              |   4 ++--
 sys/arch/evbarm/ixm1200/ixm1200_start.S   |   6 +++---
 sys/arch/mips/ralink/ralink_eth.c         |   6 +++---
 sys/arch/powerpc/include/booke/e500reg.h  |   4 ++--
 sys/arch/sparc/dev/kbd_pckbport.c         |   6 +++---
 sys/arch/sparc64/dev/ebus_mainbus.c       |   6 +++---
 sys/dev/fdt/fdt_port.h                    |   4 ++--
 sys/dev/ic/mfi.c                          |   6 +++---
 sys/dev/ic/rtl8169.c                      |   6 +++---
 sys/dev/ic/smc91cxx.c                     |   6 +++---
 sys/dev/ic/wdc.c                          |   6 +++---
 sys/dev/ic/z8530reg.h                     |   4 ++--
 sys/dev/ir/irframe_tty.c                  |   6 +++---
 sys/dev/microcode/aic7xxx/aicasm.c        |  14 +++++++-------
 sys/dev/microcode/aic7xxx/aicasm_symbol.c |   6 +++---
 sys/dev/microcode/aic7xxx/aicasm_symbol.h |   4 ++--
 sys/dev/pci/if_sip.c                      |   8 ++++----
 sys/dev/usb/xhci.c                        |   6 +++---
 sys/kern/kern_event.c                     |   6 +++---
 sys/net/if_llatbl.c                       |   4 ++--
 sys/net/lagg/if_laggproto.h               |   4 ++--
 sys/netinet/ip_icmp.h                     |   4 ++--
 sys/netinet/sctp_indata.c                 |   6 +++---
 sys/netinet/sctp_pcb.c                    |   6 +++---
 sys/netinet/sctp_pcb.h                    |   4 ++--
 sys/netinet/tcp_input.c                   |   6 +++---
 sys/netipsec/ipsec_input.c                |   6 +++---
 sys/netipsec/key.c                        |   6 +++---
 tests/kernel/t_umount.sh                  |   4 ++--
 tests/lib/libc/locale/t_digittoint.c      |   6 +++---
 tests/lib/libc/locale/t_wctype.c          |   6 +++---
 tests/usr.bin/printf/printf.sh            |   4 ++--
 usr.bin/finger/util.c                     |   6 +++---
 usr.bin/m4/eval.c                         |   6 +++---
 usr.sbin/acpitools/acpidump/acpi.c        |   6 +++---
 usr.sbin/altq/libaltq/qop_hfsc.c          |   4 ++--
 47 files changed, 133 insertions(+), 133 deletions(-)

diffs (truncated from 1170 to 300 lines):

diff -r 7c5206e5d9a9 -r 95ae4141fb08 common/lib/libc/gen/ptree.c
--- a/common/lib/libc/gen/ptree.c       Tue May 24 20:08:38 2022 +0000
+++ b/common/lib/libc/gen/ptree.c       Tue May 24 20:50:17 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ptree.c,v 1.10 2012/10/06 22:15:09 matt Exp $  */
+/*     $NetBSD: ptree.c,v 1.11 2022/05/24 20:50:17 andvar Exp $        */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -40,7 +40,7 @@
 #include <sys/types.h>
 #include <sys/systm.h>
 #include <lib/libkern/libkern.h>
-__KERNEL_RCSID(0, "$NetBSD: ptree.c,v 1.10 2012/10/06 22:15:09 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ptree.c,v 1.11 2022/05/24 20:50:17 andvar Exp $");
 #else
 #include <stddef.h>
 #include <stdint.h>
@@ -53,7 +53,7 @@
 #else
 #define        KASSERT(e)      do { } while (/*CONSTCOND*/ 0)
 #endif
-__RCSID("$NetBSD: ptree.c,v 1.10 2012/10/06 22:15:09 matt Exp $");
+__RCSID("$NetBSD: ptree.c,v 1.11 2022/05/24 20:50:17 andvar Exp $");
 #endif /* _KERNEL || _STANDALONE */
 
 #ifdef _LIBC
@@ -582,7 +582,7 @@
                KASSERT(id.id_bitoff >= branch_bitoff);
 
                /*
-                * Decend the tree one level.
+                * Descend the tree one level.
                 */
                id.id_parent = ptn;
                id.id_parent_slot = ptree_testnode(pt, target, id.id_parent);
@@ -1011,7 +1011,7 @@
                /*
                 * Now we are the normal removal case.  Since after the
                 * target's leaf identity is removed from the its parent,
-                * that parent will only have one decendent.  So we can
+                * that parent will only have one descendant.  So we can
                 * just as easily replace the node that has the parent's
                 * branch identity with the surviving node.  This freeing
                 * parent from its branching duties which means it can
diff -r 7c5206e5d9a9 -r 95ae4141fb08 common/lib/libc/gen/radixtree.c
--- a/common/lib/libc/gen/radixtree.c   Tue May 24 20:08:38 2022 +0000
+++ b/common/lib/libc/gen/radixtree.c   Tue May 24 20:50:17 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: radixtree.c,v 1.27 2020/05/14 08:34:19 msaitoh Exp $   */
+/*     $NetBSD: radixtree.c,v 1.28 2022/05/24 20:50:17 andvar Exp $    */
 
 /*-
  * Copyright (c)2011,2012,2013 YAMAMOTO Takashi,
@@ -112,7 +112,7 @@
 #include <sys/cdefs.h>
 
 #if defined(_KERNEL) || defined(_STANDALONE)
-__KERNEL_RCSID(0, "$NetBSD: radixtree.c,v 1.27 2020/05/14 08:34:19 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radixtree.c,v 1.28 2022/05/24 20:50:17 andvar Exp $");
 #include <sys/param.h>
 #include <sys/errno.h>
 #include <sys/pool.h>
@@ -122,7 +122,7 @@
 #include <lib/libsa/stand.h>
 #endif /* defined(_STANDALONE) */
 #else /* defined(_KERNEL) || defined(_STANDALONE) */
-__RCSID("$NetBSD: radixtree.c,v 1.27 2020/05/14 08:34:19 msaitoh Exp $");
+__RCSID("$NetBSD: radixtree.c,v 1.28 2022/05/24 20:50:17 andvar Exp $");
 #include <assert.h>
 #include <errno.h>
 #include <stdbool.h>
@@ -911,7 +911,7 @@
 descend:
                /*
                 * following the left-most (or right-most in the case of
-                * reverse scan) child node, decend until reaching the leaf or
+                * reverse scan) child node, descend until reaching the leaf or
                 * an non-matching entry.
                 */
                while (entry_match_p(*vpp, tagmask) && lastidx < t->t_height) {
diff -r 7c5206e5d9a9 -r 95ae4141fb08 lib/libc/stdlib/div.3
--- a/lib/libc/stdlib/div.3     Tue May 24 20:08:38 2022 +0000
+++ b/lib/libc/stdlib/div.3     Tue May 24 20:50:17 2022 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: div.3,v 1.15 2016/12/17 06:17:16 abhinav Exp $
+.\"    $NetBSD: div.3,v 1.16 2022/05/24 20:50:17 andvar Exp $
 .\"
 .\" Copyright (c) 1990, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -56,7 +56,7 @@
 .Sh DESCRIPTION
 These functions compute the value of
 .Fa num / denom
-and return the quotient and remainder in a specific divison structure.
+and return the quotient and remainder in a specific division structure.
 The functions differ only with respect to the type of the return value and
 the parameters.
 .Pp
diff -r 7c5206e5d9a9 -r 95ae4141fb08 lib/libp2k/p2k.c
--- a/lib/libp2k/p2k.c  Tue May 24 20:08:38 2022 +0000
+++ b/lib/libp2k/p2k.c  Tue May 24 20:50:17 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: p2k.c,v 1.74 2022/04/19 20:32:17 rillig Exp $  */
+/*     $NetBSD: p2k.c,v 1.75 2022/05/24 20:50:17 andvar Exp $  */
 
 /*
  * Copyright (c) 2007, 2008, 2009  Antti Kantee.  All Rights Reserved.
@@ -361,7 +361,7 @@
        }
 
        /*
-        * Explicitely tell that our cookies can be treated as
+        * Explicitly tell that our cookies can be treated as
         * puffs_node, since we never let libpuffs know by 
         * calling  call puffs_pn_new()
         */
diff -r 7c5206e5d9a9 -r 95ae4141fb08 sbin/iscsid/iscsid_targets.c
--- a/sbin/iscsid/iscsid_targets.c      Tue May 24 20:08:38 2022 +0000
+++ b/sbin/iscsid/iscsid_targets.c      Tue May 24 20:50:17 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iscsid_targets.c,v 1.6 2016/05/29 13:35:45 mlelstv Exp $       */
+/*     $NetBSD: iscsid_targets.c,v 1.7 2022/05/24 20:50:17 andvar Exp $        */
 
 /*-
  * Copyright (c) 2005,2006,2011 The NetBSD Foundation, Inc.
@@ -973,7 +973,7 @@
        case TARGET_LIST:
                /*
                 * Refreshing for a specific target makes no sense if it's
-                * static. Maybe implement it for dynamically dicovered
+                * static. Maybe implement it for dynamically discovered
                 * targets? But then it's best done through the discovering
                 * instance, or we'll refresh much more than just the given
                 * target. And refreshing the whole list is iffy as well. So
diff -r 7c5206e5d9a9 -r 95ae4141fb08 sbin/mount_nilfs/mount_nilfs.8
--- a/sbin/mount_nilfs/mount_nilfs.8    Tue May 24 20:08:38 2022 +0000
+++ b/sbin/mount_nilfs/mount_nilfs.8    Tue May 24 20:50:17 2022 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: mount_nilfs.8,v 1.5 2019/10/16 21:52:22 maya Exp $
+.\" $NetBSD: mount_nilfs.8,v 1.6 2022/05/24 20:50:17 andvar Exp $
 .\"
 .\" Copyright (c) 2008, 2009 Reinoud Zandijk
 .\" All rights reserved.
@@ -76,7 +76,7 @@
 .Xr umount 8 ,
 .Xr vnconfig 8
 .Sh HISTORY
-NILFS is a file system developped by NTT and released in 2005 for
+NILFS is a file system developed by NTT and released in 2005 for
 Linux.
 Version 2 is available since 2009.
 This cleanroom implementation was written by
diff -r 7c5206e5d9a9 -r 95ae4141fb08 share/man/man4/lagg.4
--- a/share/man/man4/lagg.4     Tue May 24 20:08:38 2022 +0000
+++ b/share/man/man4/lagg.4     Tue May 24 20:50:17 2022 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: lagg.4,v 1.3 2021/06/29 10:26:00 wiz Exp $
+.\"    $NetBSD: lagg.4,v 1.4 2022/05/24 20:50:18 andvar Exp $
 .\"
 .\" Copyright (c) 2005, 2006 Reyk Floeter <reyk%openbsd.org@localhost>
 .\"
@@ -119,9 +119,9 @@
 .It Ic lacp
 Supports the IEEE 802.1AX (formerly 802.3ad) Link Aggregation Control Protocol
 (LACP) and the Marker Protocol.
-LACP will nagotiate a set of aggregable links wit the peer in to a Link
+LACP will negotiate a set of aggregable links wit the peer in to a Link
 Aggregated Group.
-The LAG is composed of ports of the diffrent speed, set to full-duplex operation,
+The LAG is composed of ports of the different speed, set to full-duplex operation,
 if
 .Ic lagglacp Nm multi-speed
 option is configured.
@@ -143,7 +143,7 @@
 .Pp
 Each
 .Nm
-interface is created at runtime using interface cloing.
+interface is created at runtime using interface cloning.
 This is
 most easily done with the
 .Xr ifconfig 8
diff -r 7c5206e5d9a9 -r 95ae4141fb08 sys/altq/altq_rmclass.h
--- a/sys/altq/altq_rmclass.h   Tue May 24 20:08:38 2022 +0000
+++ b/sys/altq/altq_rmclass.h   Tue May 24 20:50:17 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: altq_rmclass.h,v 1.12 2021/07/21 06:47:33 ozaki-r Exp $        */
+/*     $NetBSD: altq_rmclass.h,v 1.13 2022/05/24 20:50:18 andvar Exp $ */
 /*     $KAME: altq_rmclass.h,v 1.10 2003/08/20 23:30:23 itojun Exp $   */
 
 /*
@@ -168,7 +168,7 @@
  */
 struct rm_ifdat {
        int             queued_;        /* # pkts queued downstream */
-       int             efficient_;     /* Link Efficency bit */
+       int             efficient_;     /* Link Efficiency bit */
        int             wrr_;           /* Enable Weighted Round-Robin */
        uint64_t        ps_per_byte_;   /* Link byte speed. */
        int             maxqueued_;     /* Max packets to queue */
diff -r 7c5206e5d9a9 -r 95ae4141fb08 sys/arch/amiga/dev/grf.c
--- a/sys/arch/amiga/dev/grf.c  Tue May 24 20:08:38 2022 +0000
+++ b/sys/arch/amiga/dev/grf.c  Tue May 24 20:50:17 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: grf.c,v 1.67 2021/08/07 16:18:41 thorpej Exp $ */
+/*     $NetBSD: grf.c,v 1.68 2022/05/24 20:50:18 andvar Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: grf.c,v 1.67 2021/08/07 16:18:41 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: grf.c,v 1.68 2022/05/24 20:50:18 andvar Exp $");
 
 /*
  * Graphics display driver for the Amiga
@@ -163,7 +163,7 @@
 /*
  * Attach.. plug pointer in and print some info.
  * Then try and attach a wsdisplay or ite to us.
- * Note: self is NULL durring console init.
+ * Note: self is NULL during console init.
  */
 void
 grfattach(device_t parent, device_t self, void *aux)
diff -r 7c5206e5d9a9 -r 95ae4141fb08 sys/arch/amiga/dev/if_es.c
--- a/sys/arch/amiga/dev/if_es.c        Tue May 24 20:08:38 2022 +0000
+++ b/sys/arch/amiga/dev/if_es.c        Tue May 24 20:50:17 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_es.c,v 1.65 2020/01/29 05:23:16 thorpej Exp $ */
+/*     $NetBSD: if_es.c,v 1.66 2022/05/24 20:50:18 andvar Exp $ */
 
 /*
  * Copyright (c) 1995 Michael L. Hitch
@@ -33,7 +33,7 @@
 #include "opt_ns.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_es.c,v 1.65 2020/01/29 05:23:16 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_es.c,v 1.66 2022/05/24 20:50:18 andvar Exp $");
 
 
 #include <sys/param.h>
@@ -764,7 +764,7 @@
 #ifdef ESDEBUG
        if (sc->sc_smcbusy++) {
                printf("%s: esstart re-entered\n", device_xname(sc->sc_dev));
-               panic("esstart re-entred");
+               panic("esstart re-entered");
        }
        while ((smc->b2.bsr & BSR_MASK) != BSR_BANK2) {
                printf("%s: esstart BSR not 2: %04x\n", device_xname(sc->sc_dev),
diff -r 7c5206e5d9a9 -r 95ae4141fb08 sys/arch/arc/dev/pccons.c
--- a/sys/arch/arc/dev/pccons.c Tue May 24 20:08:38 2022 +0000
+++ b/sys/arch/arc/dev/pccons.c Tue May 24 20:50:17 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pccons.c,v 1.62 2014/10/18 08:33:24 snj Exp $  */
+/*     $NetBSD: pccons.c,v 1.63 2022/05/24 20:50:18 andvar Exp $       */
 /*     $OpenBSD: pccons.c,v 1.22 1999/01/30 22:39:37 imp Exp $ */
 /*     NetBSD: pccons.c,v 1.89 1995/05/04 19:35:20 cgd Exp     */
 
@@ -80,7 +80,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pccons.c,v 1.62 2014/10/18 08:33:24 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pccons.c,v 1.63 2022/05/24 20:50:18 andvar Exp $");
 
 #include "opt_ddb.h"
 
@@ -557,7 +557,7 @@
         * is set to table 1; in fact, it would appear that some keyboards just
         * ignore the command altogether.  So by default, we use the AT scan
         * codes and have the 8042 translate them.  Unfortunately, this is
-        * known to not work on some PS/2 machines.  We try desparately to deal
+        * known to not work on some PS/2 machines.  We try desperately to deal
         * with this by checking the (lack of a) translate bit in the 8042 and
         * attempting to set the keyboard to XT mode.  If this all fails, well,
         * tough luck.
diff -r 7c5206e5d9a9 -r 95ae4141fb08 sys/arch/evbarm/conf/GUMSTIX
--- a/sys/arch/evbarm/conf/GUMSTIX      Tue May 24 20:08:38 2022 +0000
+++ b/sys/arch/evbarm/conf/GUMSTIX      Tue May 24 20:50:17 2022 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: GUMSTIX,v 1.108 2021/01/20 01:20:26 nia Exp $
+#      $NetBSD: GUMSTIX,v 1.109 2022/05/24 20:50:18 andvar Exp $
 #
 #      GUMSTIX -- Gumstix. Inc. gumstix platforms kernel
 #
@@ -206,7 +206,7 @@
 options        GXIO_BLUETOOTH_ON_HWUART        # Bluetooth module on HWUART
 #options       GXIO_DEFAULT_EXPANSION="\"netCF\""
 
-# gumstix expantion boards
+# gumstix expansion boards
 
 # SMC 91C111
 sm0    at gxio? addr 0x04000300 gpirq ?



Home | Main Index | Thread Index | Old Index