Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/lockstat fix various typos in comments.



details:   https://anonhg.NetBSD.org/src/rev/a12696061b66
branches:  trunk
changeset: 1027594:a12696061b66
user:      andvar <andvar%NetBSD.org@localhost>
date:      Sun Dec 12 22:20:52 2021 +0000

description:
fix various typos in comments.

diffstat:

 common/lib/libc/stdlib/random.c        |   6 +++---
 games/backgammon/common_source/back.h  |   4 ++--
 sys/arch/prep/conf/INSTALL             |   4 ++--
 sys/arch/prep/conf/INSTALL_SMALL       |   4 ++--
 sys/dev/acpi/wmi/wmi_acpi.c            |   6 +++---
 sys/dev/qbus/qd.c                      |  18 +++++++++---------
 usr.sbin/bootp/bootptest/print-bootp.c |   4 ++--
 usr.sbin/btdevctl/sdp.c                |   6 +++---
 usr.sbin/lockstat/main.c               |   6 +++---
 9 files changed, 29 insertions(+), 29 deletions(-)

diffs (257 lines):

diff -r d5019306ed7e -r a12696061b66 common/lib/libc/stdlib/random.c
--- a/common/lib/libc/stdlib/random.c   Sun Dec 12 22:16:48 2021 +0000
+++ b/common/lib/libc/stdlib/random.c   Sun Dec 12 22:20:52 2021 +0000
@@ -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 @@
  * 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
diff -r d5019306ed7e -r a12696061b66 games/backgammon/common_source/back.h
--- a/games/backgammon/common_source/back.h     Sun Dec 12 22:16:48 2021 +0000
+++ b/games/backgammon/common_source/back.h     Sun Dec 12 22:20:52 2021 +0000
@@ -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 @@
  *     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.
  *
  */
diff -r d5019306ed7e -r a12696061b66 sys/arch/prep/conf/INSTALL
--- a/sys/arch/prep/conf/INSTALL        Sun Dec 12 22:16:48 2021 +0000
+++ b/sys/arch/prep/conf/INSTALL        Sun Dec 12 22:20:52 2021 +0000
@@ -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 @@
 # 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
diff -r d5019306ed7e -r a12696061b66 sys/arch/prep/conf/INSTALL_SMALL
--- a/sys/arch/prep/conf/INSTALL_SMALL  Sun Dec 12 22:16:48 2021 +0000
+++ b/sys/arch/prep/conf/INSTALL_SMALL  Sun Dec 12 22:20:52 2021 +0000
@@ -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 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
diff -r d5019306ed7e -r a12696061b66 sys/dev/acpi/wmi/wmi_acpi.c
--- a/sys/dev/acpi/wmi/wmi_acpi.c       Sun Dec 12 22:16:48 2021 +0000
+++ b/sys/dev/acpi/wmi/wmi_acpi.c       Sun Dec 12 22:20:52 2021 +0000
@@ -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 <jruohonen%iki.fi@localhost>
@@ -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 @@
 
 /*
  * 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
  *
diff -r d5019306ed7e -r a12696061b66 sys/dev/qbus/qd.c
--- a/sys/dev/qbus/qd.c Sun Dec 12 22:16:48 2021 +0000
+++ b/sys/dev/qbus/qd.c Sun Dec 12 22:20:52 2021 +0000
@@ -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 @@
 
 /*
  * 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 @@
 /*
  * 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 @@
 
                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 @@
        * (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 @@
 
                                /*
                                * 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 @@
 
                /*
                * 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:
 
diff -r d5019306ed7e -r a12696061b66 usr.sbin/bootp/bootptest/print-bootp.c
--- a/usr.sbin/bootp/bootptest/print-bootp.c    Sun Dec 12 22:16:48 2021 +0000
+++ b/usr.sbin/bootp/bootptest/print-bootp.c    Sun Dec 12 22:20:52 2021 +0000
@@ -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 <gwr%mc.com@localhost> New data-driven option print routine. */
 #endif
 
@@ -185,7 +185,7 @@
 
 /*
  * 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
diff -r d5019306ed7e -r a12696061b66 usr.sbin/btdevctl/sdp.c
--- a/usr.sbin/btdevctl/sdp.c   Sun Dec 12 22:16:48 2021 +0000
+++ b/usr.sbin/btdevctl/sdp.c   Sun Dec 12 22:20:52 2021 +0000
@@ -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 @@
 /*
  * 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
diff -r d5019306ed7e -r a12696061b66 usr.sbin/lockstat/main.c
--- a/usr.sbin/lockstat/main.c  Sun Dec 12 22:16:48 2021 +0000
+++ b/usr.sbin/lockstat/main.c  Sun Dec 12 22:20:52 2021 +0000
@@ -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 @@
                        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);



Home | Main Index | Thread Index | Old Index