s/begining/beginning/ in comments and messages.

This commit is contained in:
andvar 2022-01-24 09:14:36 +00:00
parent 7e83b6cd26
commit 492c086f0a
16 changed files with 49 additions and 49 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: mt.c,v 1.48 2018/09/01 06:56:23 mlelstv Exp $ */
/* $NetBSD: mt.c,v 1.49 2022/01/24 09:14:36 andvar Exp $ */
/*
* Copyright (c) 1980, 1993
@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\
#if 0
static char sccsid[] = "@(#)mt.c 8.2 (Berkeley) 6/6/93";
#else
__RCSID("$NetBSD: mt.c,v 1.48 2018/09/01 06:56:23 mlelstv Exp $");
__RCSID("$NetBSD: mt.c,v 1.49 2022/01/24 09:14:36 andvar Exp $");
#endif
#endif /* not lint */
@ -175,7 +175,7 @@ main(int argc, char *argv[])
/* If mtget.mt_fileno was implemented, We could
compute the minimal seek needed to position
the tape. Until then, rewind and seek from
begining-of-tape */
beginning-of-tape */
mt_com.mt_op = MTREW;
mt_com.mt_count = 1;

View File

@ -1,4 +1,4 @@
/* $NetBSD: res_comp.c,v 1.13 2015/02/24 17:56:20 christos Exp $ */
/* $NetBSD: res_comp.c,v 1.14 2022/01/24 09:14:36 andvar Exp $ */
/*
* Copyright (c) 1985, 1993
@ -71,7 +71,7 @@
static const char sccsid[] = "@(#)res_comp.c 8.1 (Berkeley) 6/4/93";
static const char rcsid[] = "Id: res_comp.c,v 1.5 2005/07/28 06:51:50 marka Exp";
#else
__RCSID("$NetBSD: res_comp.c,v 1.13 2015/02/24 17:56:20 christos Exp $");
__RCSID("$NetBSD: res_comp.c,v 1.14 2022/01/24 09:14:36 andvar Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@ -105,7 +105,7 @@ __weak_alias(res_dnok,__res_dnok)
/*%
* Expand compressed domain name 'src' to full domain name.
*
* \li 'msg' is a pointer to the begining of the message,
* \li 'msg' is a pointer to the beginning of the message,
* \li 'eom' points to the first location after the message,
* \li 'dst' is a pointer to a buffer of size 'dstsiz' for the result.
* \li Return size of compressed name or -1 if there was an error.

View File

@ -1,4 +1,4 @@
/* $NetBSD: clnt_dg.c,v 1.31 2021/12/05 08:03:06 msaitoh Exp $ */
/* $NetBSD: clnt_dg.c,v 1.32 2022/01/24 09:14:36 andvar Exp $ */
/*
* Copyright (c) 2010, Oracle America, Inc.
@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)clnt_dg.c 1.19 89/03/16 Copyr 1988 Sun Micro";
#else
__RCSID("$NetBSD: clnt_dg.c,v 1.31 2021/12/05 08:03:06 msaitoh Exp $");
__RCSID("$NetBSD: clnt_dg.c,v 1.32 2022/01/24 09:14:36 andvar Exp $");
#endif
#endif
@ -652,7 +652,7 @@ clnt_dg_control(CLIENT *cl, u_int request, char *info)
/*
* This RELIES on the information that, in the call body,
* the version number field is the fifth field from the
* begining of the RPC header. MUST be changed if the
* beginning of the RPC header. MUST be changed if the
* call_struct is changed
*/
*(u_int32_t *)(void *)info =
@ -669,7 +669,7 @@ clnt_dg_control(CLIENT *cl, u_int request, char *info)
/*
* This RELIES on the information that, in the call body,
* the program number field is the fourth field from the
* begining of the RPC header. MUST be changed if the
* beginning of the RPC header. MUST be changed if the
* call_struct is changed
*/
*(u_int32_t *)(void *)info =

View File

@ -1,4 +1,4 @@
/* $NetBSD: clnt_vc.c,v 1.27 2021/08/21 23:00:30 andvar Exp $ */
/* $NetBSD: clnt_vc.c,v 1.28 2022/01/24 09:14:36 andvar Exp $ */
/*
* Copyright (c) 2010, Oracle America, Inc.
@ -38,7 +38,7 @@ static char *sccsid = "@(#)clnt_tcp.c 1.37 87/10/05 Copyr 1984 Sun Micro";
static char *sccsid = "@(#)clnt_tcp.c 2.2 88/08/01 4.0 RPCSRC";
static char sccsid[] = "@(#)clnt_vc.c 1.19 89/03/16 Copyr 1988 Sun Micro";
#else
__RCSID("$NetBSD: clnt_vc.c,v 1.27 2021/08/21 23:00:30 andvar Exp $");
__RCSID("$NetBSD: clnt_vc.c,v 1.28 2022/01/24 09:14:36 andvar Exp $");
#endif
#endif
@ -616,7 +616,7 @@ clnt_vc_control(
/*
* This RELIES on the information that, in the call body,
* the version number field is the fifth field from the
* begining of the RPC header. MUST be changed if the
* beginning of the RPC header. MUST be changed if the
* call_struct is changed
*/
ntohlp(info, ct->ct_u.ct_mcallc + 4 * BYTES_PER_XDR_UNIT);
@ -630,7 +630,7 @@ clnt_vc_control(
/*
* This RELIES on the information that, in the call body,
* the program number field is the fourth field from the
* begining of the RPC header. MUST be changed if the
* beginning of the RPC header. MUST be changed if the
* call_struct is changed
*/
ntohlp(info, ct->ct_u.ct_mcallc + 3 * BYTES_PER_XDR_UNIT);

View File

@ -1,4 +1,4 @@
/* $NetBSD: dst_api.c,v 1.7 2021/12/31 20:22:48 andvar Exp $ */
/* $NetBSD: dst_api.c,v 1.8 2022/01/24 09:14:37 andvar Exp $ */
/*
* Portions Copyright (c) 1995-1998 by Trusted Information Systems, Inc.
@ -40,7 +40,7 @@
#if 0
static const char rcsid[] = "Header: /proj/cvs/prod/libbind/dst/dst_api.c,v 1.17 2007/09/24 17:18:25 each Exp ";
#else
__RCSID("$NetBSD: dst_api.c,v 1.7 2021/12/31 20:22:48 andvar Exp $");
__RCSID("$NetBSD: dst_api.c,v 1.8 2022/01/24 09:14:37 andvar Exp $");
#endif
@ -680,7 +680,7 @@ dst_dnskey_to_key(const char *in_name, const u_char *rdata, const int len)
start += 2;
}
/*
* now point to the begining of the data representing the encoding
* now point to the beginning of the data representing the encoding
* of the key
*/
if (key_st->dk_func && key_st->dk_func->from_dns_key) {

View File

@ -1,4 +1,4 @@
/* $NetBSD: scsi_sense.c,v 1.9 2011/06/22 05:18:03 mrg Exp $ */
/* $NetBSD: scsi_sense.c,v 1.10 2022/01/24 09:14:37 andvar Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -39,7 +39,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: scsi_sense.c,v 1.9 2011/06/22 05:18:03 mrg Exp $");
__RCSID("$NetBSD: scsi_sense.c,v 1.10 2022/01/24 09:14:37 andvar Exp $");
#endif
@ -212,7 +212,7 @@ static const struct {
{ 0x3B, 0x07, "Failed To Sense Bottom-Of-Form" },
{ 0x3B, 0x08, "Reposition Error" },
{ 0x3B, 0x09, "Read Past End Of Medium" },
{ 0x3B, 0x0A, "Read Past Begining Of Medium" },
{ 0x3B, 0x0A, "Read Past Beginning Of Medium" },
{ 0x3B, 0x0B, "Position Past End Of Medium" },
{ 0x3B, 0x0C, "Position Past Beginning Of Medium" },
{ 0x3B, 0x0D, "Medium Destination Element Full" },

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_enet.c,v 1.34 2021/12/31 14:25:22 riastradh Exp $ */
/* $NetBSD: if_enet.c,v 1.35 2022/01/24 09:14:37 andvar Exp $ */
/*
* Copyright (c) 2014 Ryo Shimizu <ryo@nerv.org>
@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_enet.c,v 1.34 2021/12/31 14:25:22 riastradh Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_enet.c,v 1.35 2022/01/24 09:14:37 andvar Exp $");
#include "vlan.h"
@ -1537,7 +1537,7 @@ enet_encap_mbufalign(struct mbuf **mp)
if (chiplen &&
(M_TRAILINGSPACE(mt) < chiplen)) {
/*
* move data to the begining of
* move data to the beginning of
* m_dat[] (aligned) to en-
* large trailingspace
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: plumiobus.c,v 1.18 2021/08/07 16:18:54 thorpej Exp $ */
/* $NetBSD: plumiobus.c,v 1.19 2022/01/24 09:14:37 andvar Exp $ */
/*-
* Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: plumiobus.c,v 1.18 2021/08/07 16:18:54 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: plumiobus.c,v 1.19 2022/01/24 09:14:37 andvar Exp $");
#define PLUMIOBUSDEBUG
@ -236,7 +236,7 @@ plumiobus_dump(struct plumiobus_softc *sc)
reg = PLUM_IOBUS_IOXCCNT_MASK &
plum_conf_read(regt, regh, PLUM_IOBUS_IOXCCNT_REG);
printf(" # of wait to become from the access begining: %d clock\n",
printf(" # of wait to become from the access beginning: %d clock\n",
reg + 1);
reg = plum_conf_read(regt, regh, PLUM_IOBUS_IOXACNT_REG);
printf(" # of wait in access clock: ");

View File

@ -1,4 +1,4 @@
/* $NetBSD: rf_dagdegrd.c,v 1.32 2021/07/23 00:54:45 oster Exp $ */
/* $NetBSD: rf_dagdegrd.c,v 1.33 2022/01/24 09:14:37 andvar Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: rf_dagdegrd.c,v 1.32 2021/07/23 00:54:45 oster Exp $");
__KERNEL_RCSID(0, "$NetBSD: rf_dagdegrd.c,v 1.33 2022/01/24 09:14:37 andvar Exp $");
#include <dev/raidframe/raidframevar.h>
@ -798,7 +798,7 @@ rf_DD_GenerateFailedAccessASMs(RF_Raid_t *raidPtr, RF_AccessStripeMap_t *asmap,
count++;
break;
case 2: /* whole stripe */
if (suoff) /* leak at begining */
if (suoff) /* leak at beginning */
count++;
if (suend < numDataCol) /* leak at end */
count++;
@ -882,7 +882,7 @@ rf_DD_GenerateFailedAccessASMs(RF_Raid_t *raidPtr, RF_AccessStripeMap_t *asmap,
if (suoff > fone_start) {
RF_ASSERT(suend >= fone_end);
/* The data read starts after the mapped
* access, snip off the begining */
* access, snip off the beginning */
pda_p->numSector = suoff - fone_start;
pda_p->raidAddress = sosAddr + (i * secPerSU) + fone_start;
(raidPtr->Layout.map->MapSector) (raidPtr, pda_p->raidAddress, &(pda_p->col), &(pda_p->startSector), 0);
@ -925,7 +925,7 @@ rf_DD_GenerateFailedAccessASMs(RF_Raid_t *raidPtr, RF_AccessStripeMap_t *asmap,
RF_ASSERT(suend >= fone_end);
/* The data read starts after the
* mapped access, snip off the
* begining */
* beginning */
pda_p->numSector = suoff - fone_start;
pda_p->raidAddress = sosAddr + (i * secPerSU) + fone_start;
(raidPtr->Layout.map->MapSector) (raidPtr, pda_p->raidAddress, &(pda_p->col), &(pda_p->startSector), 0);
@ -950,7 +950,7 @@ rf_DD_GenerateFailedAccessASMs(RF_Raid_t *raidPtr, RF_AccessStripeMap_t *asmap,
RF_ASSERT(suend >= ftwo_end);
/* The data read starts after the
* mapped access, snip off the
* begining */
* beginning */
pda_p->numSector = suoff - ftwo_start;
pda_p->raidAddress = sosAddr + (i * secPerSU) + ftwo_start;
(raidPtr->Layout.map->MapSector) (raidPtr, pda_p->raidAddress, &(pda_p->col), &(pda_p->startSector), 0);

View File

@ -1,4 +1,4 @@
/* $NetBSD: login_pam.c,v 1.27 2021/09/10 21:52:17 rillig Exp $ */
/* $NetBSD: login_pam.c,v 1.28 2022/01/24 09:14:37 andvar Exp $ */
/*-
* Copyright (c) 1980, 1987, 1988, 1991, 1993, 1994
@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1987, 1988, 1991, 1993, 1994\
#if 0
static char sccsid[] = "@(#)login.c 8.4 (Berkeley) 4/2/94";
#endif
__RCSID("$NetBSD: login_pam.c,v 1.27 2021/09/10 21:52:17 rillig Exp $");
__RCSID("$NetBSD: login_pam.c,v 1.28 2022/01/24 09:14:37 andvar Exp $");
#endif /* not lint */
/*
@ -495,7 +495,7 @@ skip_auth:
/*
* Fork because we need to call pam_closesession as root.
* Make sure signals cannot kill the parent.
* This has been handled in the begining of main.
* This has been handled in the beginning of main.
*/
switch(pid = fork()) {

View File

@ -1,4 +1,4 @@
/* $NetBSD: tip.h,v 1.35 2021/09/10 21:52:18 rillig Exp $ */
/* $NetBSD: tip.h,v 1.36 2022/01/24 09:14:37 andvar Exp $ */
/*
* Copyright (c) 1989, 1993
@ -163,7 +163,7 @@ typedef
/*
* Escape command table definitions --
* lookup in this table is performed when ``escapec'' is recognized
* at the begining of a line (as defined by the eolmarks variable).
* at the beginning of a line (as defined by the eolmarks variable).
*/
typedef

View File

@ -1,4 +1,4 @@
/* $NetBSD: extern.h,v 1.7 2016/09/03 02:24:04 sevan Exp $ */
/* $NetBSD: extern.h,v 1.8 2022/01/24 09:14:37 andvar Exp $ */
/*
* Copyright (c) 1980, 1993
@ -37,7 +37,7 @@ extern bool x_escaped; /* if last character was an escape */
extern char *x_start; /* start of the current string */
extern char *l_acmbeg; /* string introducing a comment */
extern char *l_acmend; /* string ending a comment */
extern char *l_blkbeg; /* string begining of a block */
extern char *l_blkbeg; /* string beginning of a block */
extern char *l_blkend; /* string ending a block */
extern char *l_chrbeg; /* delimiter for character constant */
extern char *l_chrend; /* delimiter for character constant */

View File

@ -1,4 +1,4 @@
/* $NetBSD: vfontedpr.c,v 1.18 2019/02/03 03:19:30 mrg Exp $ */
/* $NetBSD: vfontedpr.c,v 1.19 2022/01/24 09:14:37 andvar Exp $ */
/*
* Copyright (c) 1980, 1993
@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\
#if 0
static char sccsid[] = "@(#)vfontedpr.c 8.1 (Berkeley) 6/6/93";
#endif
__RCSID("$NetBSD: vfontedpr.c,v 1.18 2019/02/03 03:19:30 mrg Exp $");
__RCSID("$NetBSD: vfontedpr.c,v 1.19 2022/01/24 09:14:37 andvar Exp $");
#endif /* not lint */
#include <sys/types.h>
@ -112,7 +112,7 @@ static char pstack[PSMAX][PNAMELEN+1]; /* the procedure name stack */
char *l_acmbeg; /* string introducing a comment */
char *l_acmend; /* string ending a comment */
char *l_blkbeg; /* string begining of a block */
char *l_blkbeg; /* string beginning of a block */
char *l_blkend; /* string ending a block */
char *l_chrbeg; /* delimiter for character constant */
char *l_chrend; /* delimiter for character constant */

View File

@ -1,4 +1,4 @@
/* $NetBSD: vax.c,v 1.19 2019/05/07 04:35:31 thorpej Exp $ */
/* $NetBSD: vax.c,v 1.20 2022/01/24 09:14:38 andvar Exp $ */
/*-
* Copyright (c) 1999, 2002 The NetBSD Foundation, Inc.
@ -68,7 +68,7 @@
#include <sys/cdefs.h>
#if !defined(__lint)
__RCSID("$NetBSD: vax.c,v 1.19 2019/05/07 04:35:31 thorpej Exp $");
__RCSID("$NetBSD: vax.c,v 1.20 2022/01/24 09:14:38 andvar Exp $");
#endif /* !__lint */
#include <sys/param.h>
@ -223,7 +223,7 @@ vax_setboot(ib_params *params)
oldbb + VAX_LABELOFFSET,
offsetof(struct vax_boot_block,bb_magic1) - VAX_LABELOFFSET);
/* point to bootblock at begining of bootstrap */
/* point to bootblock at beginning of bootstrap */
bb = (struct vax_boot_block*)bootstrapbuf;
/* fill in the updated boot block fields */

View File

@ -1,4 +1,4 @@
/* $NetBSD: uscsi_sense.c,v 1.1 2008/05/14 16:49:48 reinoud Exp $ */
/* $NetBSD: uscsi_sense.c,v 1.2 2022/01/24 09:14:38 andvar Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -342,7 +342,7 @@ static const struct {
{ 0x3B, 0x07, "Failed To Sense Bottom-Of-Form" },
{ 0x3B, 0x08, "Reposition Error" },
{ 0x3B, 0x09, "Read Past End Of Medium" },
{ 0x3B, 0x0A, "Read Past Begining Of Medium" },
{ 0x3B, 0x0A, "Read Past Beginning Of Medium" },
{ 0x3B, 0x0B, "Position Past End Of Medium" },
{ 0x3B, 0x0C, "Position Past Beginning Of Medium" },
{ 0x3B, 0x0D, "Medium Destination Element Full" },

View File

@ -1,4 +1,4 @@
/* $NetBSD: mbr.c,v 1.40 2021/12/05 07:06:17 msaitoh Exp $ */
/* $NetBSD: mbr.c,v 1.41 2022/01/24 09:14:38 andvar Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -1086,7 +1086,7 @@ mbr_change_disk_geom(struct disk_partitions *arg, int ncyl, int nhead,
/*
* If ptn_base is a power of 2, use it.
* Also use it if the first partition
* already is close to the begining
* already is close to the beginning
* of the disk and we can't enforce
* better alignment.
*/