From 492c086f0af68dad916940c3174e962380fdd377 Mon Sep 17 00:00:00 2001 From: andvar Date: Mon, 24 Jan 2022 09:14:36 +0000 Subject: [PATCH] s/begining/beginning/ in comments and messages. --- bin/mt/mt.c | 6 +++--- lib/libc/resolv/res_comp.c | 6 +++--- lib/libc/rpc/clnt_dg.c | 8 ++++---- lib/libc/rpc/clnt_vc.c | 8 ++++---- lib/libresolv/dst_api.c | 6 +++--- sbin/scsictl/scsi_sense.c | 6 +++--- sys/arch/arm/imx/if_enet.c | 6 +++--- sys/arch/hpcmips/dev/plumiobus.c | 6 +++--- sys/dev/raidframe/rf_dagdegrd.c | 12 ++++++------ usr.bin/login/login_pam.c | 6 +++--- usr.bin/tip/tip.h | 4 ++-- usr.bin/vgrind/extern.h | 4 ++-- usr.bin/vgrind/vfontedpr.c | 6 +++--- usr.sbin/installboot/arch/vax.c | 6 +++--- usr.sbin/mmcformat/uscsi_sense.c | 4 ++-- usr.sbin/sysinst/mbr.c | 4 ++-- 16 files changed, 49 insertions(+), 49 deletions(-) diff --git a/bin/mt/mt.c b/bin/mt/mt.c index 6e693d0f2bbf..75a4d9b6e67f 100644 --- a/bin/mt/mt.c +++ b/bin/mt/mt.c @@ -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; diff --git a/lib/libc/resolv/res_comp.c b/lib/libc/resolv/res_comp.c index 642b6bc6632d..5024ed0622bf 100644 --- a/lib/libc/resolv/res_comp.c +++ b/lib/libc/resolv/res_comp.c @@ -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. diff --git a/lib/libc/rpc/clnt_dg.c b/lib/libc/rpc/clnt_dg.c index 917bcca3b812..0a8b7b345e79 100644 --- a/lib/libc/rpc/clnt_dg.c +++ b/lib/libc/rpc/clnt_dg.c @@ -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 = diff --git a/lib/libc/rpc/clnt_vc.c b/lib/libc/rpc/clnt_vc.c index c4b7adf1680b..69dbfdbbca16 100644 --- a/lib/libc/rpc/clnt_vc.c +++ b/lib/libc/rpc/clnt_vc.c @@ -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); diff --git a/lib/libresolv/dst_api.c b/lib/libresolv/dst_api.c index 652b9eb390cd..19ed6bc9ae55 100644 --- a/lib/libresolv/dst_api.c +++ b/lib/libresolv/dst_api.c @@ -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) { diff --git a/sbin/scsictl/scsi_sense.c b/sbin/scsictl/scsi_sense.c index 3ad4c6264ef7..b66753f094c3 100644 --- a/sbin/scsictl/scsi_sense.c +++ b/sbin/scsictl/scsi_sense.c @@ -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 #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" }, diff --git a/sys/arch/arm/imx/if_enet.c b/sys/arch/arm/imx/if_enet.c index b6a537c2c350..507ad214fd07 100644 --- a/sys/arch/arm/imx/if_enet.c +++ b/sys/arch/arm/imx/if_enet.c @@ -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 @@ -31,7 +31,7 @@ */ #include -__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 */ diff --git a/sys/arch/hpcmips/dev/plumiobus.c b/sys/arch/hpcmips/dev/plumiobus.c index 39a2f458a55b..d45eed11cf1b 100644 --- a/sys/arch/hpcmips/dev/plumiobus.c +++ b/sys/arch/hpcmips/dev/plumiobus.c @@ -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 -__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: "); diff --git a/sys/dev/raidframe/rf_dagdegrd.c b/sys/dev/raidframe/rf_dagdegrd.c index 194b3a65f99b..8ad3744469a5 100644 --- a/sys/dev/raidframe/rf_dagdegrd.c +++ b/sys/dev/raidframe/rf_dagdegrd.c @@ -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 -__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 @@ -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); diff --git a/usr.bin/login/login_pam.c b/usr.bin/login/login_pam.c index e05856895577..7617219f96b0 100644 --- a/usr.bin/login/login_pam.c +++ b/usr.bin/login/login_pam.c @@ -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()) { diff --git a/usr.bin/tip/tip.h b/usr.bin/tip/tip.h index 038467099343..a19b52ec898d 100644 --- a/usr.bin/tip/tip.h +++ b/usr.bin/tip/tip.h @@ -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 diff --git a/usr.bin/vgrind/extern.h b/usr.bin/vgrind/extern.h index d16c3192500b..10bca1858294 100644 --- a/usr.bin/vgrind/extern.h +++ b/usr.bin/vgrind/extern.h @@ -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 */ diff --git a/usr.bin/vgrind/vfontedpr.c b/usr.bin/vgrind/vfontedpr.c index 851b14089f9d..897c6d82fe21 100644 --- a/usr.bin/vgrind/vfontedpr.c +++ b/usr.bin/vgrind/vfontedpr.c @@ -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 @@ -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 */ diff --git a/usr.sbin/installboot/arch/vax.c b/usr.sbin/installboot/arch/vax.c index 21070859a8fc..6ff93a352b1b 100644 --- a/usr.sbin/installboot/arch/vax.c +++ b/usr.sbin/installboot/arch/vax.c @@ -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 #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 @@ -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 */ diff --git a/usr.sbin/mmcformat/uscsi_sense.c b/usr.sbin/mmcformat/uscsi_sense.c index 82899fb5ec61..d9e6c8e8aef4 100644 --- a/usr.sbin/mmcformat/uscsi_sense.c +++ b/usr.sbin/mmcformat/uscsi_sense.c @@ -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" }, diff --git a/usr.sbin/sysinst/mbr.c b/usr.sbin/sysinst/mbr.c index 40cd38945839..8a7692b4c2fe 100644 --- a/usr.sbin/sysinst/mbr.c +++ b/usr.sbin/sysinst/mbr.c @@ -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. */