Source-Changes-HG archive

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

[src/trunk]: src fix various typos in comments and one output message.



details:   https://anonhg.NetBSD.org/src/rev/59ac29c7e16f
branches:  trunk
changeset: 372222:59ac29c7e16f
user:      andvar <andvar%NetBSD.org@localhost>
date:      Mon Oct 31 21:22:05 2022 +0000

description:
fix various typos in comments and one output message.

diffstat:

 bin/ksh/path.c                      |  6 +++---
 sbin/route/route_rumpops.c          |  6 +++---
 sys/arch/arm/xscale/pxa2x0_apm.c    |  4 ++--
 sys/arch/arm/xscale/pxa2x0_intr.c   |  6 +++---
 sys/dev/usb/if_mue.c                |  6 +++---
 sys/fs/udf/udf_subr.c               |  6 +++---
 usr.bin/rump_dhcpclient/configure.c |  2 +-
 7 files changed, 18 insertions(+), 18 deletions(-)

diffs (161 lines):

diff -r 1040a7d2f5b1 -r 59ac29c7e16f bin/ksh/path.c
--- a/bin/ksh/path.c    Mon Oct 31 20:35:02 2022 +0000
+++ b/bin/ksh/path.c    Mon Oct 31 21:22:05 2022 +0000
@@ -1,8 +1,8 @@
-/*     $NetBSD: path.c,v 1.13 2017/06/30 03:56:12 kamil Exp $  */
+/*     $NetBSD: path.c,v 1.14 2022/10/31 21:22:05 andvar Exp $ */
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: path.c,v 1.13 2017/06/30 03:56:12 kamil Exp $");
+__RCSID("$NetBSD: path.c,v 1.14 2022/10/31 21:22:05 andvar Exp $");
 #endif
 
 #include <sys/stat.h>
@@ -296,7 +296,7 @@
                        rv = make_path(pwd, file, &cp, result, sizeof(result));
                        printf("make_path returns (%d), \"%s\" ", rv, result);
                        simplify_path(result);
-                       printf("(simpifies to \"%s\")\n", result);
+                       printf("(simplifies to \"%s\")\n", result);
                } while (cp);
        }
 }
diff -r 1040a7d2f5b1 -r 59ac29c7e16f sbin/route/route_rumpops.c
--- a/sbin/route/route_rumpops.c        Mon Oct 31 20:35:02 2022 +0000
+++ b/sbin/route/route_rumpops.c        Mon Oct 31 21:22:05 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: route_rumpops.c,v 1.3 2020/04/03 16:20:52 martin Exp $ */
+/*     $NetBSD: route_rumpops.c,v 1.4 2022/10/31 21:22:05 andvar Exp $ */
 
 /*
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: route_rumpops.c,v 1.3 2020/04/03 16:20:52 martin Exp $");
+__RCSID("$NetBSD: route_rumpops.c,v 1.4 2022/10/31 21:22:05 andvar Exp $");
 #endif /* !lint */
 
 #include <sys/types.h>
@@ -60,7 +60,7 @@
 
        /*
         * The following are only indirected through ops because
-        * santizers get confused otherwise.
+        * sanitizers get confused otherwise.
         */
        .op_sysctlbyname =      sysctlbyname,
 
diff -r 1040a7d2f5b1 -r 59ac29c7e16f sys/arch/arm/xscale/pxa2x0_apm.c
--- a/sys/arch/arm/xscale/pxa2x0_apm.c  Mon Oct 31 20:35:02 2022 +0000
+++ b/sys/arch/arm/xscale/pxa2x0_apm.c  Mon Oct 31 21:22:05 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pxa2x0_apm.c,v 1.8 2022/02/12 15:51:28 thorpej Exp $   */
+/*     $NetBSD: pxa2x0_apm.c,v 1.9 2022/10/31 21:22:05 andvar Exp $    */
 /*     $OpenBSD: pxa2x0_apm.c,v 1.28 2007/03/29 18:42:38 uwe Exp $     */
 
 /*-
@@ -1398,7 +1398,7 @@
        int maxspeed;
        int numspeeds;
        int hz [6];
-       int rate [6]; /* could this be simplfied by not having 100% in table? */
+       int rate [6]; /* could this be simplified by not having 100% in table? */
 }
        speedtables[] = {
                { 91, 1, { 91 }, { 100 }},
diff -r 1040a7d2f5b1 -r 59ac29c7e16f sys/arch/arm/xscale/pxa2x0_intr.c
--- a/sys/arch/arm/xscale/pxa2x0_intr.c Mon Oct 31 20:35:02 2022 +0000
+++ b/sys/arch/arm/xscale/pxa2x0_intr.c Mon Oct 31 21:22:05 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pxa2x0_intr.c,v 1.24 2022/09/27 06:36:43 skrll Exp $   */
+/*     $NetBSD: pxa2x0_intr.c,v 1.25 2022/10/31 21:22:05 andvar Exp $  */
 
 /*
  * Copyright (c) 2002  Genetec Corporation.  All rights reserved.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pxa2x0_intr.c,v 1.24 2022/09/27 06:36:43 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pxa2x0_intr.c,v 1.25 2022/10/31 21:22:05 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -162,7 +162,7 @@
        irqbits = read_icu(SAIPIC_IP);
 
        while ((irqno = find_first_bit(irqbits)) >= 0) {
-               /* XXX: Shuould we handle IRQs in priority order? */
+               /* XXX: Should we handle IRQs in priority order? */
 
                /* raise spl to stop interrupts of lower priorities */
                if (saved_spl_level < extirq_level[irqno])
diff -r 1040a7d2f5b1 -r 59ac29c7e16f sys/dev/usb/if_mue.c
--- a/sys/dev/usb/if_mue.c      Mon Oct 31 20:35:02 2022 +0000
+++ b/sys/dev/usb/if_mue.c      Mon Oct 31 21:22:05 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_mue.c,v 1.82 2022/08/20 14:08:59 riastradh Exp $    */
+/*     $NetBSD: if_mue.c,v 1.83 2022/10/31 21:22:06 andvar Exp $       */
 /*     $OpenBSD: if_mue.c,v 1.3 2018/08/04 16:42:46 jsg Exp $  */
 
 /*
@@ -20,7 +20,7 @@
 /* Driver for Microchip LAN7500/LAN7800 chipsets. */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_mue.c,v 1.82 2022/08/20 14:08:59 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_mue.c,v 1.83 2022/10/31 21:22:06 andvar Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -732,7 +732,7 @@
 
        /*
         * Other MD methods. This should be tried only if other methods fail.
-        * Otherwise, MAC address for internal device can be assinged to
+        * Otherwise, MAC address for internal device can be assigned to
         * external devices on Raspberry Pi, for example.
         */
        eaprop = prop_dictionary_get(dict, "mac-address");
diff -r 1040a7d2f5b1 -r 59ac29c7e16f sys/fs/udf/udf_subr.c
--- a/sys/fs/udf/udf_subr.c     Mon Oct 31 20:35:02 2022 +0000
+++ b/sys/fs/udf/udf_subr.c     Mon Oct 31 21:22:05 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_subr.c,v 1.171 2022/05/28 21:14:57 andvar Exp $ */
+/* $NetBSD: udf_subr.c,v 1.172 2022/10/31 21:22:06 andvar Exp $ */
 
 /*
  * Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -29,7 +29,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.171 2022/05/28 21:14:57 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.172 2022/10/31 21:22:06 andvar Exp $");
 #endif /* not lint */
 
 
@@ -5520,7 +5520,7 @@
        /*
         * Remember where to record an updated version of the descriptor. If
         * there is a sequence of indirect entries, icb_loc will have been
-        * updated. Its the write disipline to allocate new space and to make
+        * updated. It's the write discipline to allocate new space and to make
         * sure the chain is maintained.
         *
         * `needs_indirect' flags if the next location is to be filled with
diff -r 1040a7d2f5b1 -r 59ac29c7e16f usr.bin/rump_dhcpclient/configure.c
--- a/usr.bin/rump_dhcpclient/configure.c       Mon Oct 31 20:35:02 2022 +0000
+++ b/usr.bin/rump_dhcpclient/configure.c       Mon Oct 31 21:22:05 2022 +0000
@@ -252,7 +252,7 @@
 }
 
 /* Some DHCP servers add set host routes by setting the gateway
- * to the assinged IP address. This differs from our notion of a host route
+ * to the assigned IP address. This differs from our notion of a host route
  * where the gateway is the destination address, so we fix it. */
 static struct rt *
 massage_host_routes(struct rt *rt, const struct interface *iface)



Home | Main Index | Thread Index | Old Index