Module Name:    src
Committed By:   andvar
Date:           Sun Dec 12 22:20:53 UTC 2021

Modified Files:
        src/common/lib/libc/stdlib: random.c
        src/games/backgammon/common_source: back.h
        src/sys/arch/prep/conf: INSTALL INSTALL_SMALL
        src/sys/dev/acpi/wmi: wmi_acpi.c
        src/sys/dev/qbus: qd.c
        src/usr.sbin/bootp/bootptest: print-bootp.c
        src/usr.sbin/btdevctl: sdp.c
        src/usr.sbin/lockstat: main.c

Log Message:
fix various typos in comments.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/common/lib/libc/stdlib/random.c
cvs rdiff -u -r1.22 -r1.23 src/games/backgammon/common_source/back.h
cvs rdiff -u -r1.64 -r1.65 src/sys/arch/prep/conf/INSTALL
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/prep/conf/INSTALL_SMALL
cvs rdiff -u -r1.19 -r1.20 src/sys/dev/acpi/wmi/wmi_acpi.c
cvs rdiff -u -r1.59 -r1.60 src/sys/dev/qbus/qd.c
cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/bootp/bootptest/print-bootp.c
cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/btdevctl/sdp.c
cvs rdiff -u -r1.20 -r1.21 src/usr.sbin/lockstat/main.c

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

Modified files:

Index: src/common/lib/libc/stdlib/random.c
diff -u src/common/lib/libc/stdlib/random.c:1.6 src/common/lib/libc/stdlib/random.c:1.7
--- src/common/lib/libc/stdlib/random.c:1.6	Sat Feb 22 14:47:29 2020
+++ src/common/lib/libc/stdlib/random.c	Sun Dec 12 22:20:52 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: random.c,v 1.6 2020/02/22 14:47:29 fox Exp $	*/
+/*	$NetBSD: random.c,v 1.7 2021/12/12 22:20:52 andvar Exp $	*/
 
 /*
  * Copyright (c) 1983, 1993
@@ -35,7 +35,7 @@
 #if 0
 static char sccsid[] = "@(#)random.c	8.2 (Berkeley) 5/19/95";
 #else
-__RCSID("$NetBSD: random.c,v 1.6 2020/02/22 14:47:29 fox Exp $");
+__RCSID("$NetBSD: random.c,v 1.7 2021/12/12 22:20:52 andvar Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -79,7 +79,7 @@ static long random_unlocked(void);
  * then initialized to contain information for random number generation with
  * that much state information.  Good sizes for the amount of state
  * information are 32, 64, 128, and 256 bytes.  The state can be switched by
- * calling the setstate() routine with the same array as was initiallized
+ * calling the setstate() routine with the same array as was initialized
  * with initstate().  By default, the package runs with 128 bytes of state
  * information and generates far better random numbers than a linear
  * congruential generator.  If the amount of state information is less than

Index: src/games/backgammon/common_source/back.h
diff -u src/games/backgammon/common_source/back.h:1.22 src/games/backgammon/common_source/back.h:1.23
--- src/games/backgammon/common_source/back.h:1.22	Sun Dec  6 11:41:47 2020
+++ src/games/backgammon/common_source/back.h	Sun Dec 12 22:20:52 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: back.h,v 1.22 2020/12/06 11:41:47 dholland Exp $	*/
+/*	$NetBSD: back.h,v 1.23 2021/12/12 22:20:52 andvar Exp $	*/
 
 /*
  * Copyright (c) 1980, 1993
@@ -71,7 +71,7 @@ struct move {
  *	Numeric values which are one color or the other use
  *	-1 for white, 1 for red.
  *	Hence, white will be negative values, red positive one.
- *	This makes a lot of sense since white is going in decending
+ *	This makes a lot of sense since white is going in descending
  *	order around the board, and red is ascending.
  *
  */

Index: src/sys/arch/prep/conf/INSTALL
diff -u src/sys/arch/prep/conf/INSTALL:1.64 src/sys/arch/prep/conf/INSTALL:1.65
--- src/sys/arch/prep/conf/INSTALL:1.64	Tue Sep 15 08:13:51 2020
+++ src/sys/arch/prep/conf/INSTALL	Sun Dec 12 22:20:52 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: INSTALL,v 1.64 2020/09/15 08:13:51 mrg Exp $
+#	$NetBSD: INSTALL,v 1.65 2021/12/12 22:20:52 andvar Exp $
 #
 #	INSTALL -- Installation kernel
 #
@@ -112,7 +112,7 @@ pcic0	at isa? port 0x3e0 iomem 0xd0000 i
 # ISA Plug-and-Play bus support
 #isapnp0 at isa?
 
-# PNP bus device for attaching objects descibed in the residual
+# PNP bus device for attaching objects described in the residual
 pnpbus0	at mainbus0
 
 # Console Devices

Index: src/sys/arch/prep/conf/INSTALL_SMALL
diff -u src/sys/arch/prep/conf/INSTALL_SMALL:1.19 src/sys/arch/prep/conf/INSTALL_SMALL:1.20
--- src/sys/arch/prep/conf/INSTALL_SMALL:1.19	Tue Sep 15 08:13:51 2020
+++ src/sys/arch/prep/conf/INSTALL_SMALL	Sun Dec 12 22:20:52 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: INSTALL_SMALL,v 1.19 2020/09/15 08:13:51 mrg Exp $
+#	$NetBSD: INSTALL_SMALL,v 1.20 2021/12/12 22:20:52 andvar Exp $
 #
 #	INSTALL -- Installation kernel
 #
@@ -115,7 +115,7 @@ isa*	at pceb?
 # ISA Plug-and-Play bus support
 #isapnp0 at isa?
 
-# PNP bus device for attaching objects descibed in the residual
+# PNP bus device for attaching objects described in the residual
 pnpbus0	at mainbus0
 
 # Console Devices

Index: src/sys/dev/acpi/wmi/wmi_acpi.c
diff -u src/sys/dev/acpi/wmi/wmi_acpi.c:1.19 src/sys/dev/acpi/wmi/wmi_acpi.c:1.20
--- src/sys/dev/acpi/wmi/wmi_acpi.c:1.19	Sat Aug  7 16:19:09 2021
+++ src/sys/dev/acpi/wmi/wmi_acpi.c	Sun Dec 12 22:20:52 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: wmi_acpi.c,v 1.19 2021/08/07 16:19:09 thorpej Exp $	*/
+/*	$NetBSD: wmi_acpi.c,v 1.20 2021/12/12 22:20:52 andvar Exp $	*/
 
 /*-
  * Copyright (c) 2009, 2010 Jukka Ruohonen <jruoho...@iki.fi>
@@ -27,7 +27,7 @@
  * SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wmi_acpi.c,v 1.19 2021/08/07 16:19:09 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wmi_acpi.c,v 1.20 2021/12/12 22:20:52 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -46,7 +46,7 @@ ACPI_MODULE_NAME            ("wmi_acpi")
 
 /*
  * This implements something called "Microsoft Windows Management
- * Instrumentation" (WMI). This subset of ACPI is desribed in:
+ * Instrumentation" (WMI). This subset of ACPI is described in:
  *
  * http://www.microsoft.com/whdc/system/pnppwr/wmi/wmi-acpi.mspx
  *

Index: src/sys/dev/qbus/qd.c
diff -u src/sys/dev/qbus/qd.c:1.59 src/sys/dev/qbus/qd.c:1.60
--- src/sys/dev/qbus/qd.c:1.59	Sun Sep 26 01:16:09 2021
+++ src/sys/dev/qbus/qd.c	Sun Dec 12 22:20:52 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: qd.c,v 1.59 2021/09/26 01:16:09 thorpej Exp $	*/
+/*	$NetBSD: qd.c,v 1.60 2021/12/12 22:20:52 andvar Exp $	*/
 
 /*-
  * Copyright (c) 1988 Regents of the University of California.
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: qd.c,v 1.59 2021/09/26 01:16:09 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: qd.c,v 1.60 2021/12/12 22:20:52 andvar Exp $");
 
 #include "opt_ddb.h"
 
@@ -145,7 +145,7 @@ struct	qd_softc {
 
 /*
  * reference to an array of "uba_device" structures built by the auto
- * configuration program.  The uba_device structure decribes the device
+ * configuration program.  The uba_device structure describes the device
  * sufficiently for the driver to talk to it.  The auto configuration code
  * fills in the uba_device structures (located in ioconf.c) from user
  * maintained info.
@@ -195,8 +195,8 @@ struct DMAreq_header *DMAheader[NQD];  /
 /*
  * The driver assists a client in scroll operations by loading dragon
  * registers from an interrupt service routine.	The loading is done using
- * parameters found in memory shrade between the driver and its client.
- * The scroll parameter structures are ALL loacted in the same memory page
+ * parameters found in memory shared between the driver and its client.
+ * The scroll parameter structures are ALL located in the same memory page
  * for reasons of memory economy.
  */
 char scroll_shared[2 * 512];	/* reserve space for scroll structs */
@@ -661,7 +661,7 @@ qd_match(device_t parent, cfdata_t match
 
 		if (!qd0cninited) {
 			/*
-			 * qd0 has not been initiallized as the console.
+			 * qd0 has not been initialized as the console.
 			 * We need to do some initialization now
 			 *
 			 * XXX
@@ -691,7 +691,7 @@ qd_match(device_t parent, cfdata_t match
 	* (ADDER) and xx8 (DUART).  Therefore, we take three
 	* vectors from the vector pool, and then continue
 	* to take them until we get a xx0 HEX vector.  The
-	* pool provides vectors in contiguous decending
+	* pool provides vectors in contiguous descending
 	* order.
 	*/
 
@@ -2816,7 +2816,7 @@ GET_TBUTTON:
 
 				/*
 				* Test for cntrl characters. If set, see if the character
-				* is elligible to become a control character. */
+				* is eligible to become a control character. */
 
 			default:
 
@@ -3167,7 +3167,7 @@ LOOP:
 
 		/*
 		* Test for cntrl characters. If set, see if the character
-		* is elligible to become a control character.
+		* is eligible to become a control character.
 		*/
 	default:
 

Index: src/usr.sbin/bootp/bootptest/print-bootp.c
diff -u src/usr.sbin/bootp/bootptest/print-bootp.c:1.11 src/usr.sbin/bootp/bootptest/print-bootp.c:1.12
--- src/usr.sbin/bootp/bootptest/print-bootp.c:1.11	Sat Oct 19 17:16:37 2013
+++ src/usr.sbin/bootp/bootptest/print-bootp.c	Sun Dec 12 22:20:52 2021
@@ -26,7 +26,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: print-bootp.c,v 1.11 2013/10/19 17:16:37 christos Exp $");
+__RCSID("$NetBSD: print-bootp.c,v 1.12 2021/12/12 22:20:52 andvar Exp $");
 /* 93/10/10 <g...@mc.com> New data-driven option print routine. */
 #endif
 
@@ -185,7 +185,7 @@ bootp_print(struct bootp *bp, int length
 
 /*
  * Option description data follows.
- * These are decribed in: RFC-1048, RFC-1395, RFC-1497, RFC-1533
+ * These are described in: RFC-1048, RFC-1395, RFC-1497, RFC-1533
  *
  * The first char of each option string encodes the data format:
  * ?: unknown

Index: src/usr.sbin/btdevctl/sdp.c
diff -u src/usr.sbin/btdevctl/sdp.c:1.11 src/usr.sbin/btdevctl/sdp.c:1.12
--- src/usr.sbin/btdevctl/sdp.c:1.11	Sun Jun  7 00:12:00 2020
+++ src/usr.sbin/btdevctl/sdp.c	Sun Dec 12 22:20:52 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: sdp.c,v 1.11 2020/06/07 00:12:00 thorpej Exp $	*/
+/*	$NetBSD: sdp.c,v 1.12 2021/12/12 22:20:52 andvar Exp $	*/
 
 /*-
  * Copyright (c) 2006 Itronix Inc.
@@ -56,7 +56,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: sdp.c,v 1.11 2020/06/07 00:12:00 thorpej Exp $");
+__RCSID("$NetBSD: sdp.c,v 1.12 2021/12/12 22:20:52 andvar Exp $");
 
 #include <sys/types.h>
 
@@ -466,7 +466,7 @@ parse_boolean(sdp_data_t *value)
 /*
  * The ProtocolDescriptorList attribute describes one or
  * more protocol stacks that may be used to gain access to
- * the service dscribed by the service record.
+ * the service described by the service record.
  *
  * If the ProtocolDescriptorList describes a single stack,
  * the attribute value takes the form of a data element

Index: src/usr.sbin/lockstat/main.c
diff -u src/usr.sbin/lockstat/main.c:1.20 src/usr.sbin/lockstat/main.c:1.21
--- src/usr.sbin/lockstat/main.c:1.20	Sat Apr  4 16:40:50 2020
+++ src/usr.sbin/lockstat/main.c	Sun Dec 12 22:20:53 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: main.c,v 1.20 2020/04/04 16:40:50 ad Exp $	*/
+/*	$NetBSD: main.c,v 1.21 2021/12/12 22:20:53 andvar Exp $	*/
 
 /*-
  * Copyright (c) 2006, 2007, 2009 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: main.c,v 1.20 2020/04/04 16:40:50 ad Exp $");
+__RCSID("$NetBSD: main.c,v 1.21 2021/12/12 22:20:53 andvar Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -631,7 +631,7 @@ makelists(int mask, int event)
 			continue;
 
 		/*
-		 * Look for a record descibing this lock, and allocate a
+		 * Look for a record describing this lock, and allocate a
 		 * new one if needed.
 		 */
 		bp = HASH(lb->lb_lock);

Reply via email to