Module Name:    src
Committed By:   andvar
Date:           Mon Oct 31 21:22:06 UTC 2022

Modified Files:
        src/bin/ksh: path.c
        src/sbin/route: route_rumpops.c
        src/sys/arch/arm/xscale: pxa2x0_apm.c pxa2x0_intr.c
        src/sys/dev/usb: if_mue.c
        src/sys/fs/udf: udf_subr.c
        src/usr.bin/rump_dhcpclient: configure.c

Log Message:
fix various typos in comments and one output message.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/bin/ksh/path.c
cvs rdiff -u -r1.3 -r1.4 src/sbin/route/route_rumpops.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/xscale/pxa2x0_apm.c
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/arm/xscale/pxa2x0_intr.c
cvs rdiff -u -r1.82 -r1.83 src/sys/dev/usb/if_mue.c
cvs rdiff -u -r1.171 -r1.172 src/sys/fs/udf/udf_subr.c
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/rump_dhcpclient/configure.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/bin/ksh/path.c
diff -u src/bin/ksh/path.c:1.13 src/bin/ksh/path.c:1.14
--- src/bin/ksh/path.c:1.13	Fri Jun 30 03:56:12 2017
+++ src/bin/ksh/path.c	Mon Oct 31 21:22:05 2022
@@ -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 @@ main(argc, argv)
 			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);
 	}
 }

Index: src/sbin/route/route_rumpops.c
diff -u src/sbin/route/route_rumpops.c:1.3 src/sbin/route/route_rumpops.c:1.4
--- src/sbin/route/route_rumpops.c:1.3	Fri Apr  3 16:20:52 2020
+++ src/sbin/route/route_rumpops.c	Mon Oct 31 21:22:05 2022
@@ -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 @@ const struct prog_ops prog_ops = {
 
 	/*
 	 * The following are only indirected through ops because
-	 * santizers get confused otherwise.
+	 * sanitizers get confused otherwise.
 	 */
 	.op_sysctlbyname =	sysctlbyname,
 

Index: src/sys/arch/arm/xscale/pxa2x0_apm.c
diff -u src/sys/arch/arm/xscale/pxa2x0_apm.c:1.8 src/sys/arch/arm/xscale/pxa2x0_apm.c:1.9
--- src/sys/arch/arm/xscale/pxa2x0_apm.c:1.8	Sat Feb 12 15:51:28 2022
+++ src/sys/arch/arm/xscale/pxa2x0_apm.c	Mon Oct 31 21:22:05 2022
@@ -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 @@ struct {
 	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 }},

Index: src/sys/arch/arm/xscale/pxa2x0_intr.c
diff -u src/sys/arch/arm/xscale/pxa2x0_intr.c:1.24 src/sys/arch/arm/xscale/pxa2x0_intr.c:1.25
--- src/sys/arch/arm/xscale/pxa2x0_intr.c:1.24	Tue Sep 27 06:36:43 2022
+++ src/sys/arch/arm/xscale/pxa2x0_intr.c	Mon Oct 31 21:22:05 2022
@@ -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 @@ pxa2x0_irq_handler(void *arg)
 	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])

Index: src/sys/dev/usb/if_mue.c
diff -u src/sys/dev/usb/if_mue.c:1.82 src/sys/dev/usb/if_mue.c:1.83
--- src/sys/dev/usb/if_mue.c:1.82	Sat Aug 20 14:08:59 2022
+++ src/sys/dev/usb/if_mue.c	Mon Oct 31 21:22:06 2022
@@ -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 @@ mue_get_macaddr(struct usbnet *un, prop_
 
 	/*
 	 * 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");

Index: src/sys/fs/udf/udf_subr.c
diff -u src/sys/fs/udf/udf_subr.c:1.171 src/sys/fs/udf/udf_subr.c:1.172
--- src/sys/fs/udf/udf_subr.c:1.171	Sat May 28 21:14:57 2022
+++ src/sys/fs/udf/udf_subr.c	Mon Oct 31 21:22:06 2022
@@ -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 @@ udf_loadvnode(struct mount *mp, struct v
 	/*
 	 * 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

Index: src/usr.bin/rump_dhcpclient/configure.c
diff -u src/usr.bin/rump_dhcpclient/configure.c:1.1 src/usr.bin/rump_dhcpclient/configure.c:1.2
--- src/usr.bin/rump_dhcpclient/configure.c:1.1	Thu Jan 20 18:47:20 2011
+++ src/usr.bin/rump_dhcpclient/configure.c	Mon Oct 31 21:22:06 2022
@@ -252,7 +252,7 @@ get_routes(const struct interface *iface
 }
 
 /* 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)

Reply via email to