fix various typos in comments.

This commit is contained in:
andvar 2021-12-12 22:20:52 +00:00
parent e67aefd60c
commit 1cb7819f04
9 changed files with 29 additions and 29 deletions

View File

@ -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

View File

@ -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.
*
*/

View File

@ -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 iosiz 0x10000
# 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

View File

@ -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

View File

@ -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>
@ -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
*

View File

@ -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]; /* DMA buffer header pntrs */
/*
* 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, void *aux)
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, void *aux)
* (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:

View File

@ -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> New data-driven option print routine. */
#endif
@ -185,7 +185,7 @@ bootp_print(struct bootp *bp, int length, u_short sport, u_short dport)
/*
* 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

View File

@ -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

View File

@ -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);