fix various typos, mainly in comments.

This commit is contained in:
andvar 2022-04-04 19:33:44 +00:00
parent 6c25ecc76a
commit e82c4d9bb4
26 changed files with 61 additions and 61 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: main.c,v 1.34 2021/05/02 12:50:43 rillig Exp $ */
/* $NetBSD: main.c,v 1.35 2022/04/04 19:33:44 andvar Exp $ */
/*
* Copyright (c) 1980, 1993
@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\
#if 0
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 5/31/93";
#else
__RCSID("$NetBSD: main.c,v 1.34 2021/05/02 12:50:43 rillig Exp $");
__RCSID("$NetBSD: main.c,v 1.35 2022/04/04 19:33:44 andvar Exp $");
#endif
#endif /* not lint */
@ -311,7 +311,7 @@ main(int argc __unused, char **argv)
/* move as long as it's someone's turn */
while (cturn == 1 || cturn == -1) {
/* board maintainence */
/* board maintenance */
if (tflag)
refresh(); /* fix board */
else

View File

@ -7,7 +7,7 @@
#include "abi.h"
RCSID("$NetBSD: s_ceil.S,v 1.8 2011/06/18 21:24:51 joerg Exp $")
RCSID("$NetBSD: s_ceil.S,v 1.9 2022/04/04 19:33:44 andvar Exp $")
ENTRY(ceil)
#ifdef __i386__
@ -20,7 +20,7 @@ ENTRY(ceil)
orw $0x0800,%dx /* round towards +oo */
andw $0xfbff,%dx
movw %dx,-8(%ebp)
fldcw -8(%ebp) /* load modfied control word */
fldcw -8(%ebp) /* load modified control word */
fldl 8(%ebp) /* round */
frndint

View File

@ -5,7 +5,7 @@
#include <machine/asm.h>
RCSID("$NetBSD: s_ceilf.S,v 1.9 2011/06/18 21:24:51 joerg Exp $")
RCSID("$NetBSD: s_ceilf.S,v 1.10 2022/04/04 19:33:44 andvar Exp $")
ENTRY(ceilf)
#ifdef __i386__
@ -18,7 +18,7 @@ ENTRY(ceilf)
orw $0x0800,%dx /* round towards +oo */
andw $0xfbff,%dx
movw %dx,-8(%ebp)
fldcw -8(%ebp) /* load modfied control word */
fldcw -8(%ebp) /* load modified control word */
flds 8(%ebp) /* round */
frndint

View File

@ -5,7 +5,7 @@
#include <machine/asm.h>
RCSID("$NetBSD: s_floor.S,v 1.9 2011/06/18 21:24:51 joerg Exp $")
RCSID("$NetBSD: s_floor.S,v 1.10 2022/04/04 19:33:44 andvar Exp $")
ENTRY(floor)
#ifdef __i386__
@ -18,7 +18,7 @@ ENTRY(floor)
orw $0x0400,%dx /* round towards -oo */
andw $0xf7ff,%dx
movw %dx,-8(%ebp)
fldcw -8(%ebp) /* load modfied control word */
fldcw -8(%ebp) /* load modified control word */
fldl 8(%ebp) /* round */
frndint

View File

@ -5,7 +5,7 @@
#include <machine/asm.h>
RCSID("$NetBSD: s_floorf.S,v 1.8 2011/06/18 21:24:51 joerg Exp $")
RCSID("$NetBSD: s_floorf.S,v 1.9 2022/04/04 19:33:44 andvar Exp $")
ENTRY(floorf)
#ifdef __i386__
@ -18,7 +18,7 @@ ENTRY(floorf)
orw $0x0400,%dx /* round towards -oo */
andw $0xf7ff,%dx
movw %dx,-8(%ebp)
fldcw -8(%ebp) /* load modfied control word */
fldcw -8(%ebp) /* load modified control word */
flds 8(%ebp) /* round */
frndint

View File

@ -30,7 +30,7 @@
#include <machine/asm.h>
#include <sys/errno.h>
RCSID("$NetBSD: n_scalbn.S,v 1.5 2014/02/03 21:22:21 martin Exp $")
RCSID("$NetBSD: n_scalbn.S,v 1.6 2022/04/04 19:33:44 andvar Exp $")
WEAK_ALIAS(scalbn,_scalbn)
WEAK_ALIAS(scalbnl,_scalbnl)
@ -73,7 +73,7 @@ ENTRY(_scalbn, 0)
underflow:
clrq %r0 /* return 0.0 */
jr copysign /* or mabye -0.0 */
jr copysign /* or maybe -0.0 */
overflow:
pushl $ERANGE /* overflow */
calls $1, _C_LABEL(infnan) /* possibly signal */

View File

@ -1,6 +1,6 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: media.c,v 1.13 2020/10/14 13:37:14 roy Exp $");
__RCSID("$NetBSD: media.c,v 1.14 2022/04/04 19:33:44 andvar Exp $");
#endif /* not lint */
#include <assert.h>
@ -38,7 +38,7 @@ static int unsetmediaopt(prop_dictionary_t, prop_dictionary_t);
/*
* Media stuff. Whenever a media command is first performed, the
* currently select media is grabbed for this interface. If `media'
* is given, the current media word is modifed. `mediaopt' commands
* is given, the current media word is modified. `mediaopt' commands
* only modify the set and clear words. They then operate on the
* current media word later.
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: swapctl.c,v 1.40 2015/10/11 23:58:16 mrg Exp $ */
/* $NetBSD: swapctl.c,v 1.41 2022/04/04 19:33:44 andvar Exp $ */
/*
* Copyright (c) 1996, 1997, 1999, 2015 Matthew R. Green
@ -64,7 +64,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: swapctl.c,v 1.40 2015/10/11 23:58:16 mrg Exp $");
__RCSID("$NetBSD: swapctl.c,v 1.41 2022/04/04 19:33:44 andvar Exp $");
#endif
@ -299,7 +299,7 @@ main(int argc, char *argv[])
if ((command == CMD_c) && pflag == 0)
usage();
/* -f and -o are mutualy exclusive */
/* -f and -o are mutually exclusive */
if (fflag && oflag)
usage();

View File

@ -1,4 +1,4 @@
# $NetBSD: history,v 1.8 2022/02/06 20:20:19 andvar Exp $
# $NetBSD: history,v 1.9 2022/04/04 19:33:44 andvar Exp $
---------------------------------------------------------------------------
This document is more included as a historical reference and nostalgia :)
rather than a still worked on list.
@ -272,7 +272,7 @@ rather than a still worked on list.
24/12/95
- removed redundant physconinit() call in initarm().
- updated comments in machdep.c
- added support for mulitple swap devices to be specified at boot
- added support for multiple swap devices to be specified at boot
time
- changed debugging output in userret()
- added extra debugging

View File

@ -1,4 +1,4 @@
/* $NetBSD: icside.c,v 1.34 2017/10/20 07:06:06 jdolecek Exp $ */
/* $NetBSD: icside.c,v 1.35 2022/04/04 19:33:44 andvar Exp $ */
/*
* Copyright (c) 1997-1998 Mark Brinicombe
@ -42,7 +42,7 @@
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: icside.c,v 1.34 2017/10/20 07:06:06 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: icside.c,v 1.35 2022/04/04 19:33:44 andvar Exp $");
#include <sys/systm.h>
#include <sys/conf.h>
@ -244,7 +244,7 @@ icside_attach(device_t parent, device_t self, void *aux)
* cookie.
*
* Also while we are at it replace the default
* read/write mulitple short functions with
* read/write multiple short functions with
* optimised versions
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: simide.c,v 1.31 2017/10/20 07:06:06 jdolecek Exp $ */
/* $NetBSD: simide.c,v 1.32 2022/04/04 19:33:45 andvar Exp $ */
/*
* Copyright (c) 1997-1998 Mark Brinicombe
@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: simide.c,v 1.31 2017/10/20 07:06:06 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: simide.c,v 1.32 2022/04/04 19:33:45 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -184,7 +184,7 @@ simide_attach(device_t parent, device_t self, void *aux)
* cookie.
*
* Also while we are at it replace the default
* read/write mulitple short functions with
* read/write multiple short functions with
* optimised versions
*/

View File

@ -1,4 +1,4 @@
# $NetBSD: README,v 1.3 2015/11/11 16:08:52 phx Exp $
# $NetBSD: README,v 1.4 2022/04/04 19:33:45 andvar Exp $
BUILD INSTRUCTIONS
@ -37,7 +37,7 @@ Required sources from NetBSD (either HEAD or from a release branch)
place these files in: <loadbsd directory>/include
If all the mentioned files are placed at the correct place, loadfile_machdep.h
must be modfied. The patch is included below. Another small patch to
must be modified. The patch is included below. Another small patch to
loadfile_aout.c must be applied to fix an incompatibility for LoadBSD.
However, that patch breaks loadfile() for other architectures using a.out!
Note: This patch is required to be able to suppress loaded symbols when

View File

@ -335,7 +335,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define ARMADAXP_L2_CFU 0x228
#define ARMADAXP_L2_SYNC 0x700
#define ARMADAXP_L2_STATUS 0x704
/* Cache maintance operations */
/* Cache maintenance operations */
#define ARMADAXP_L2_RANGE_BASE 0x720
#define ARMADAXP_L2_INV_PHYS 0x770
#define ARMADAXP_L2_INV_RANGE 0x774

View File

@ -2,7 +2,7 @@
1.1: PCI autoconf for multiple NIC device drivers
1.2: Synology-DS support, Marvell-Yukon driver, fixed aligned alloc
1.3: allow to have boot options, brdsetup.c cleanup to make brdtype
maintainance more confortable
maintenance more confortable
1.4: load kernels from local disk
1.5: altboot is the new name as this is capable of handling net & dsk.
1.6: build altboot.img to fake a Linux kernel module, supports bootargs

View File

@ -1,4 +1,4 @@
/* $NetBSD: intr.h,v 1.63 2022/03/12 15:50:44 riastradh Exp $ */
/* $NetBSD: intr.h,v 1.64 2022/04/04 19:33:45 andvar Exp $ */
/*-
* Copyright (c) 1998, 2001, 2006, 2007, 2008, 2019 The NetBSD Foundation, Inc.
@ -100,7 +100,7 @@ struct intrsource {
#endif
struct evcnt is_evcnt; /* interrupt counter per cpu */
/*
* is_mask_count requires special handling; it can only be modifed
* is_mask_count requires special handling; it can only be modified
* or examined on the CPU that owns the interrupt source, and such
* references need to be protected by disabling interrupts. This
* is because intr_mask() can be called from an interrupt handler.

View File

@ -1,4 +1,4 @@
/* $NetBSD: mpt_mpilib.h,v 1.4 2021/07/24 21:31:37 andvar Exp $ */
/* $NetBSD: mpt_mpilib.h,v 1.5 2022/04/04 19:33:45 andvar Exp $ */
/*
* Copyright (c) 2000, 2001 by LSI Logic Corporation
@ -2208,7 +2208,7 @@ typedef struct _CONFIG_PAGE_LAN_1
* 11-02-00 01.01.01 Original release for post 1.0 work
* 12-04-00 01.01.02 Added messages for Common Transport Send and
* Primitive Send.
* 01-09-01 01.01.03 Modifed some of the new flags to have an MPI prefix
* 01-09-01 01.01.03 Modified some of the new flags to have an MPI prefix
* and modified the FcPrimitiveSend flags.
* 01-25-01 01.01.04 Move InitiatorIndex in LinkServiceRsp reply to a larger
* field.

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_mvxpe.c,v 1.39 2022/02/16 22:00:56 andvar Exp $ */
/* $NetBSD: if_mvxpe.c,v 1.40 2022/04/04 19:33:45 andvar Exp $ */
/*
* Copyright (c) 2015 Internet Initiative Japan Inc.
* All rights reserved.
@ -25,7 +25,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_mvxpe.c,v 1.39 2022/02/16 22:00:56 andvar Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_mvxpe.c,v 1.40 2022/04/04 19:33:45 andvar Exp $");
#include "opt_multiprocessor.h"
@ -1448,7 +1448,7 @@ mvxpe_rxtxth_intr(void *arg)
DPRINTIFNET(ifp, 2, "PRXTXTIC: %#x\n", ic);
/* ack maintance interrupt first */
/* ack maintenance interrupt first */
if (ic & MVXPE_PRXTXTI_PTXERRORSUMMARY) {
DPRINTIFNET(ifp, 1, "PRXTXTIC: +PTXERRORSUMMARY\n");
MVXPE_EVCNT_INCR(&sc->sc_ev.ev_rxtxth_txerr);

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_mvxpevar.h,v 1.8 2022/03/13 17:50:55 andvar Exp $ */
/* $NetBSD: if_mvxpevar.h,v 1.9 2022/04/04 19:33:45 andvar Exp $ */
/*
* Copyright (c) 2015 Internet Initiative Japan Inc.
* All rights reserved.
@ -433,7 +433,7 @@ struct mvxpe_softc {
struct mvxpbm_softc *sc_bm;
/*
* Maintance clock
* Maintenance clock
*/
callout_t sc_tick_ch; /* tick callout */

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_dmc.c,v 1.28 2020/02/05 08:35:10 skrll Exp $ */
/* $NetBSD: if_dmc.c,v 1.29 2022/04/04 19:33:45 andvar Exp $ */
/*
* Copyright (c) 1982, 1986 Regents of the University of California.
* All rights reserved.
@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_dmc.c,v 1.28 2020/02/05 08:35:10 skrll Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_dmc.c,v 1.29 2022/04/04 19:33:45 andvar Exp $");
#undef DMCDEBUG /* for base table dump on fatal error */
@ -390,7 +390,7 @@ dmcinit(struct ifnet *ifp)
/* use DDCMP mode in full duplex */
dmcload(sc, DMC_CNTLI, 0, 0);
else if (ui->cf_flags == 1)
/* use MAINTENENCE mode */
/* use MAINTENANCE mode */
dmcload(sc, DMC_CNTLI, 0, DMC_MAINT );
else if (ui->cf_flags == 2)
/* use DDCMP half duplex as primary station */

View File

@ -1,4 +1,4 @@
/* $NetBSD: advnops.c,v 1.58 2022/03/27 17:10:55 christos Exp $ */
/* $NetBSD: advnops.c,v 1.59 2022/04/04 19:33:45 andvar Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: advnops.c,v 1.58 2022/03/27 17:10:55 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: advnops.c,v 1.59 2022/04/04 19:33:45 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -169,7 +169,7 @@ adosfs_getattr(void *v)
vap->va_nlink = 1 + (ap->linkto != 0);
/*
* round up to nearest blocks add number of file list
* blocks needed and mutiply by number of bytes per block.
* blocks needed and multiply by number of bytes per block.
*/
fblks = howmany(ap->fsize, amp->dbsize);
fblks += howmany(fblks, ANODENDATBLKENT(ap));

View File

@ -1,4 +1,4 @@
/* $NetBSD: vfs_wapbl.c,v 1.110 2022/03/12 15:32:32 riastradh Exp $ */
/* $NetBSD: vfs_wapbl.c,v 1.111 2022/04/04 19:33:46 andvar Exp $ */
/*-
* Copyright (c) 2003, 2008, 2009 The NetBSD Foundation, Inc.
@ -36,7 +36,7 @@
#define WAPBL_INTERNAL
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: vfs_wapbl.c,v 1.110 2022/03/12 15:32:32 riastradh Exp $");
__KERNEL_RCSID(0, "$NetBSD: vfs_wapbl.c,v 1.111 2022/04/04 19:33:46 andvar Exp $");
#include <sys/param.h>
#include <sys/bitops.h>
@ -571,7 +571,7 @@ wapbl_start(struct wapbl ** wlp, struct mount *mp, struct vnode *vp,
* PAGE_SIZE it is required to be a multiple of PAGE_SIZE
* (i.e. 1<<PAGE_SHIFT)
* - Since the log device has to be written in units of
* 1<<wl_log_dev_bshift it is required to be a mulitple of
* 1<<wl_log_dev_bshift it is required to be a multiple of
* 1<<wl_log_dev_bshift.
* - Since filesystem will provide data in units of 1<<wl_fs_dev_bshift,
* it is convenient to be a multiple of 1<<wl_fs_dev_bshift.

View File

@ -1,4 +1,4 @@
/* $NetBSD: t_getitimer.c,v 1.3 2019/07/13 12:44:02 gson Exp $ */
/* $NetBSD: t_getitimer.c,v 1.4 2022/04/04 19:33:46 andvar Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
__RCSID("$NetBSD: t_getitimer.c,v 1.3 2019/07/13 12:44:02 gson Exp $");
__RCSID("$NetBSD: t_getitimer.c,v 1.4 2022/04/04 19:33:46 andvar Exp $");
#include <sys/time.h>
@ -86,7 +86,7 @@ ATF_TC_BODY(getitimer_empty, tc)
return;
fail:
atf_tc_fail("getitimer(2) modfied the timer before it was armed");
atf_tc_fail("getitimer(2) modified the timer before it was armed");
}
ATF_TC(getitimer_err);

View File

@ -1619,7 +1619,7 @@ untouchwin_body()
atf_test_case wtouchln
wtouchln_head()
{
atf_set "descr" "Tests touching of mulitple lines in window"
atf_set "descr" "Tests touching of multiple lines in window"
}
wtouchln_body()
{

View File

@ -1,4 +1,4 @@
.\" $NetBSD: config.samples.5,v 1.7 2020/08/01 00:35:36 uwe Exp $
.\" $NetBSD: config.samples.5,v 1.8 2022/04/04 19:33:46 andvar Exp $
.\"
.\" Copyright (c) 2006 The NetBSD Foundation.
.\" All rights reserved.
@ -241,7 +241,7 @@ would be needed.
.Em Interface attributes
reflect the fact there is a standard way to attach a device to its parent, no
matter what the latter is precisely.
It also means lower maintainance of the kernel configuration files because
It also means lower maintenance of the kernel configuration files because
drivers for audio controllers are added more easily.
.Pp
Most attachments are done through

View File

@ -1,4 +1,4 @@
/* $NetBSD: pi.c,v 1.19 2016/06/30 15:34:30 dholland Exp $ */
/* $NetBSD: pi.c,v 1.20 2022/04/04 19:33:46 andvar Exp $ */
/*
* Copyright (c) 1980, 1993
@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)pi.c 8.1 (Berkeley) 6/6/93";
#endif
__RCSID("$NetBSD: pi.c,v 1.19 2016/06/30 15:34:30 dholland Exp $");
__RCSID("$NetBSD: pi.c,v 1.20 2022/04/04 19:33:46 andvar Exp $");
#endif /* not lint */
#include <stdio.h>
@ -160,7 +160,7 @@ static boolean structured, multiple;
static char *pi_Endmatched[] = {"End", "matched"};
static char *pi_Inserted[] = {"Inserted", "keyword", "end", "matching"};
static char *pi_multiple[] = {"Mutiply", "defined", "label", "in", "case,", "line"};
static char *pi_multiple[] = {"Multiply", "defined", "label", "in", "case,", "line"};
static char *pi_structured[] = {"is", "into", "a", "structured", "statement"};
static char *pi_und1[] = {"undefined", "on", "line"};
@ -173,7 +173,7 @@ DECL_STRINGS_2(static, pi_Endmatched, "End", "matched");
DECL_STRINGS_4(static, pi_Inserted, "Inserted", "keyword", "end", "matching");
DECL_STRINGS_6(static, pi_multiple,
"Mutiply", "defined", "label", "in", "case,", "line");
"Multiply", "defined", "label", "in", "case,", "line");
DECL_STRINGS_5(static, pi_structured,
"is", "into", "a", "structured", "statement");

View File

@ -1,4 +1,4 @@
/* $NetBSD: hammer2_disk.h,v 1.3 2021/01/10 12:38:40 tkusumi Exp $ */
/* $NetBSD: hammer2_disk.h,v 1.4 2022/04/04 19:33:46 andvar Exp $ */
/*
* Copyright (c) 2011-2019 The DragonFly Project. All rights reserved.
@ -35,7 +35,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: hammer2_disk.h,v 1.3 2021/01/10 12:38:40 tkusumi Exp $");
__KERNEL_RCSID(0, "$NetBSD: hammer2_disk.h,v 1.4 2022/04/04 19:33:46 andvar Exp $");
#ifndef _VFS_HAMMER2_DISK_H_
#define _VFS_HAMMER2_DISK_H_
@ -434,7 +434,7 @@ typedef uint64_t hammer2_key_t;
typedef uint32_t hammer2_crc32_t;
/*
* Miscellanious ranges (all are unsigned).
* Miscellaneous ranges (all are unsigned).
*/
#define HAMMER2_TID_MIN 1ULL
#define HAMMER2_TID_MAX 0xFFFFFFFFFFFFFFFFULL