Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/ndp fix few more typos in comments, messages and do...



details:   https://anonhg.NetBSD.org/src/rev/e7bed3088369
branches:  trunk
changeset: 1023630:e7bed3088369
user:      andvar <andvar%NetBSD.org@localhost>
date:      Sun Sep 19 11:37:00 2021 +0000

description:
fix few more typos in comments, messages and documentation.

diffstat:

 sys/arch/evbppc/dht/machdep.c |  6 +++---
 sys/dev/pci/if_iwn.c          |  8 ++++----
 usr.bin/sort/init.c           |  6 +++---
 usr.sbin/ndp/ndp.8            |  4 ++--
 4 files changed, 12 insertions(+), 12 deletions(-)

diffs (107 lines):

diff -r aec5232afa17 -r e7bed3088369 sys/arch/evbppc/dht/machdep.c
--- a/sys/arch/evbppc/dht/machdep.c     Sun Sep 19 10:46:17 2021 +0000
+++ b/sys/arch/evbppc/dht/machdep.c     Sun Sep 19 11:37:00 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.2 2021/08/03 09:25:43 rin Exp $  */
+/*     $NetBSD: machdep.c,v 1.3 2021/09/19 11:37:00 andvar Exp $       */
 
 /*
  * Taken from src/sys/arch/evbppc/walnut/machdep.c:
@@ -72,7 +72,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.2 2021/08/03 09:25:43 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.3 2021/09/19 11:37:00 andvar Exp $");
 
 #include "opt_ddb.h"
 #include "opt_pci.h"
@@ -301,7 +301,7 @@
        if (bus != 0) {
                /*
                 * XXX
-                * See coment above.
+                * See comment above.
                 */
                dev = PARENT_DEV(swiz, dev);
                goto out;
diff -r aec5232afa17 -r e7bed3088369 sys/dev/pci/if_iwn.c
--- a/sys/dev/pci/if_iwn.c      Sun Sep 19 10:46:17 2021 +0000
+++ b/sys/dev/pci/if_iwn.c      Sun Sep 19 11:37:00 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_iwn.c,v 1.96 2021/06/16 00:21:18 riastradh Exp $    */
+/*     $NetBSD: if_iwn.c,v 1.97 2021/09/19 11:37:01 andvar Exp $       */
 /*     $OpenBSD: if_iwn.c,v 1.135 2014/09/10 07:22:09 dcoppa Exp $     */
 
 /*-
@@ -22,7 +22,7 @@
  * adapters.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_iwn.c,v 1.96 2021/06/16 00:21:18 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_iwn.c,v 1.97 2021/09/19 11:37:01 andvar Exp $");
 
 #define IWN_USE_RBUF   /* Use local storage for RX */
 #undef IWN_HWCRYPTO    /* XXX does not even compile yet */
@@ -4477,14 +4477,14 @@
        btprot.type = 1;
        error = iwn_cmd(sc, IWN_CMD_BT_COEX_PROT, &btprot, sizeof btprot, 1);
        if (error != 0) {
-               aprint_error_dev(sc->sc_dev, "could not open BT protcol\n");
+               aprint_error_dev(sc->sc_dev, "could not open BT protocol\n");
                return error;
        }
 
        btprot.open = 0;
        error = iwn_cmd(sc, IWN_CMD_BT_COEX_PROT, &btprot, sizeof btprot, 1);
        if (error != 0) {
-               aprint_error_dev(sc->sc_dev, "could not close BT protcol\n");
+               aprint_error_dev(sc->sc_dev, "could not close BT protocol\n");
                return error;
        }
        return 0;
diff -r aec5232afa17 -r e7bed3088369 usr.bin/sort/init.c
--- a/usr.bin/sort/init.c       Sun Sep 19 10:46:17 2021 +0000
+++ b/usr.bin/sort/init.c       Sun Sep 19 11:37:00 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: init.c,v 1.29 2013/10/18 20:47:06 christos Exp $       */
+/*     $NetBSD: init.c,v 1.30 2021/09/19 11:37:01 andvar Exp $ */
 
 /*-
  * Copyright (c) 2000-2003 The NetBSD Foundation, Inc.
@@ -63,7 +63,7 @@
 
 #include "sort.h"
 
-__RCSID("$NetBSD: init.c,v 1.29 2013/10/18 20:47:06 christos Exp $");
+__RCSID("$NetBSD: init.c,v 1.30 2021/09/19 11:37:01 andvar Exp $");
 
 #include <ctype.h>
 #include <string.h>
@@ -402,7 +402,7 @@
  * Numeric sorts don't need any tables, they are reversed by negation.
  *
  * Global reverse sorts are done by writing the sorted keys in reverse
- * order - the sort itself is stil forwards.
+ * order - the sort itself is still forwards.
  * This means that weights are only ever used when generating keys, any
  * sort of the original data bytes is always forwards and unweighted.
  *
diff -r aec5232afa17 -r e7bed3088369 usr.sbin/ndp/ndp.8
--- a/usr.sbin/ndp/ndp.8        Sun Sep 19 10:46:17 2021 +0000
+++ b/usr.sbin/ndp/ndp.8        Sun Sep 19 11:37:00 2021 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: ndp.8,v 1.32 2020/09/15 10:11:35 roy Exp $
+.\"    $NetBSD: ndp.8,v 1.33 2021/09/19 11:37:01 andvar Exp $
 .\"    $KAME: ndp.8,v 1.33 2005/10/19 14:57:42 suz Exp $
 .\"
 .\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -187,7 +187,7 @@
 .Nm
 command, it is not generally advisable to modify this flag manually.
 .It Ic basereachable=(number)
-Specify the BaseReachbleTimer on the interface in millisecond.
+Specify the BaseReachableTimer on the interface in millisecond.
 .It Ic retrans=(number)
 Specify the RetransTimer on the interface in millisecond.
 .It Ic curhlim=(number)



Home | Main Index | Thread Index | Old Index