fix misplaced or missing "e" in words with "ment" ending (argument, implement,

increment, decrement, alignment), in comments, documentation, log messages.
This commit is contained in:
andvar 2024-02-08 20:51:24 +00:00
parent 9296a8c8d9
commit d378954346
12 changed files with 29 additions and 29 deletions

View File

@ -29,7 +29,7 @@
#include <machine/asm.h> #include <machine/asm.h>
RCSID("$NetBSD: strcpy_arm.S,v 1.6 2017/01/14 03:35:21 christos Exp $") RCSID("$NetBSD: strcpy_arm.S,v 1.7 2024/02/08 20:51:24 andvar Exp $")
#ifdef STRLCPY #ifdef STRLCPY
#ifdef _LIBC #ifdef _LIBC
@ -248,9 +248,9 @@ ENTRY(FUNCNAME)
*/ */
mov r3, #24 /* assume NUL is in byte 3 */ mov r3, #24 /* assume NUL is in byte 3 */
tst r5, #BYTE1 /* did we find a NUL in byte 1? */ tst r5, #BYTE1 /* did we find a NUL in byte 1? */
subeq r3, r3, #8 /* yes, decremnt byte position */ subeq r3, r3, #8 /* yes, decrement byte position */
tstne r5, #BYTE2 /* no, did we find a NUL in byte 2? */ tstne r5, #BYTE2 /* no, did we find a NUL in byte 2? */
subeq r3, r3, #8 /* yes, decremnt byte position */ subeq r3, r3, #8 /* yes, decrement byte position */
tstne r5, #BYTE3 /* no, did we find a NUL in byte 3? */ tstne r5, #BYTE3 /* no, did we find a NUL in byte 3? */
bne .Lincongruent_mainloop_load /* no, no NUL encountered! */ bne .Lincongruent_mainloop_load /* no, no NUL encountered! */
#endif #endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: blkdiscard.c,v 1.3 2024/01/25 02:42:17 mrg Exp $ */ /* $NetBSD: blkdiscard.c,v 1.4 2024/02/08 20:51:24 andvar Exp $ */
/* /*
* Copyright (c) 2019, 2020, 2022, 2024 Matthew R. Green * Copyright (c) 2019, 2020, 2022, 2024 Matthew R. Green
@ -155,7 +155,7 @@ main(int argc, char *argv[])
argv += optind; argv += optind;
if (secure) if (secure)
usage("blkdiscard: secure erase not yet implemnted\n"); usage("blkdiscard: secure erase not yet implemented\n");
if (zeroout) { if (zeroout) {
zeros = calloc(1, max_per_call); zeros = calloc(1, max_per_call);
if (!zeros) if (!zeros)

View File

@ -1,4 +1,4 @@
.\" $Id: 0.t,v 1.1 2001/07/04 05:29:25 itojun Exp $ .\" $Id: 0.t,v 1.2 2024/02/08 20:51:24 andvar Exp $
.\" .\"
.EQ .EQ
delim $$ delim $$
@ -7,7 +7,7 @@ delim $$
.TL .TL
Mbuf issues in 4.4BSD IPv6/IPsec support Mbuf issues in 4.4BSD IPv6/IPsec support
.br .br
\(em experiences from KAME IPv6/IPsec implemntation \(em \(em experiences from KAME IPv6/IPsec implementation \(em
.AU .AU
Jun-ichiro itojun Hagino Jun-ichiro itojun Hagino
.AI .AI

View File

@ -1,4 +1,4 @@
/* $NetBSD: psl.h,v 1.22 2021/03/06 08:08:19 rin Exp $ */ /* $NetBSD: psl.h,v 1.23 2024/02/08 20:51:24 andvar Exp $ */
/* /*
* Copyright (C) 1995, 1996 Wolfgang Solfrank. * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@ -74,7 +74,7 @@
#define PSL_601_MASK ~(PSL_VEC|PSL_POW|PSL_ILE|PSL_BE|PSL_RI|PSL_LE) #define PSL_601_MASK ~(PSL_VEC|PSL_POW|PSL_ILE|PSL_BE|PSL_RI|PSL_LE)
/* The IBM 970 series does not implemnt LE mode */ /* The IBM 970 series does not implement LE mode */
#define PSL_970_MASK ~(PSL_ILE|PSL_LE) #define PSL_970_MASK ~(PSL_ILE|PSL_LE)
/* /*

View File

@ -1,4 +1,4 @@
/* $NetBSD: mvxpbm.c,v 1.3 2021/12/05 03:04:41 msaitoh Exp $ */ /* $NetBSD: mvxpbm.c,v 1.4 2024/02/08 20:51:24 andvar Exp $ */
/* /*
* Copyright (c) 2015 Internet Initiative Japan Inc. * Copyright (c) 2015 Internet Initiative Japan Inc.
* All rights reserved. * All rights reserved.
@ -25,7 +25,7 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mvxpbm.c,v 1.3 2021/12/05 03:04:41 msaitoh Exp $"); __KERNEL_RCSID(0, "$NetBSD: mvxpbm.c,v 1.4 2024/02/08 20:51:24 andvar Exp $");
#include "opt_multiprocessor.h" #include "opt_multiprocessor.h"
@ -186,7 +186,7 @@ mvxpbm_alloc_buffer(struct mvxpbm_softc *sc)
/* /*
* adjust bm_chunk_size, bm_chunk_header_size, bm_slotsize * adjust bm_chunk_size, bm_chunk_header_size, bm_slotsize
* to satisfy alignemnt restrictions. * to satisfy alignment restrictions.
* *
* <---------------- bm_slotsize [oct.] ------------------> * <---------------- bm_slotsize [oct.] ------------------>
* <--- bm_chunk_size[oct.] ----> * <--- bm_chunk_size[oct.] ---->

View File

@ -1,4 +1,4 @@
/* $NetBSD: cs4280.c,v 1.76 2023/12/20 05:08:34 thorpej Exp $ */ /* $NetBSD: cs4280.c,v 1.77 2024/02/08 20:51:24 andvar Exp $ */
/* /*
* Copyright (c) 1999, 2000 Tatoku Ogaito. All rights reserved. * Copyright (c) 1999, 2000 Tatoku Ogaito. All rights reserved.
@ -52,7 +52,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: cs4280.c,v 1.76 2023/12/20 05:08:34 thorpej Exp $"); __KERNEL_RCSID(0, "$NetBSD: cs4280.c,v 1.77 2024/02/08 20:51:24 andvar Exp $");
#include "midi.h" #include "midi.h"
@ -1083,7 +1083,7 @@ cs4280_set_dac_rate(struct cs428x_softc *sc, int rate)
* playback rate may range from 8000Hz to 48000Hz * playback rate may range from 8000Hz to 48000Hz
* *
* play_phase_increment = floor(rate*65536*1024/48000) * play_phase_increment = floor(rate*65536*1024/48000)
* px = round(rate*65536*1024 - play_phase_incremnt*48000) * px = round(rate*65536*1024 - play_phase_increment*48000)
* py=floor(px/200) * py=floor(px/200)
* play_sample_rate_correction = px - 200*py * play_sample_rate_correction = px - 200*py
* *

View File

@ -1,4 +1,4 @@
/* $NetBSD: cs4280reg.h,v 1.8 2019/05/08 13:40:18 isaki Exp $ */ /* $NetBSD: cs4280reg.h,v 1.9 2024/02/08 20:51:24 andvar Exp $ */
/* /*
* Copyright (c) 1999, 2000 Tatoku Ogaito. All rights reserved. * Copyright (c) 1999, 2000 Tatoku Ogaito. All rights reserved.
@ -192,7 +192,7 @@
#define CCI_MASK 0xffff0000 #define CCI_MASK 0xffff0000
#define CS4280_CD 0x02e0 /* Capture Delay */ #define CS4280_CD 0x02e0 /* Capture Delay */
#define CD_MASK 0xfffc000 #define CD_MASK 0xfffc000
#define CS4280_CPI 0x02f4 /* Capture Phase Incremnt */ #define CS4280_CPI 0x02f4 /* Capture Phase Increment */
#define CS4280_CGL 0x0134 /* Capture Group Length */ #define CS4280_CGL 0x0134 /* Capture Group Length */
#define CGL_MASK 0x0000ffff #define CGL_MASK 0x0000ffff
#define CS4280_CNT 0x0340 /* Capture Number of Triplets */ #define CS4280_CNT 0x0340 /* Capture Number of Triplets */

View File

@ -1,4 +1,4 @@
/* $NetBSD: nfs_clrpcops.c,v 1.2 2016/12/13 22:17:33 pgoyette Exp $ */ /* $NetBSD: nfs_clrpcops.c,v 1.3 2024/02/08 20:51:25 andvar Exp $ */
/*- /*-
* Copyright (c) 1989, 1993 * Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved. * The Regents of the University of California. All rights reserved.
@ -34,7 +34,7 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
/* __FBSDID("FreeBSD: head/sys/fs/nfsclient/nfs_clrpcops.c 298788 2016-04-29 16:07:25Z pfg "); */ /* __FBSDID("FreeBSD: head/sys/fs/nfsclient/nfs_clrpcops.c 298788 2016-04-29 16:07:25Z pfg "); */
__RCSID("$NetBSD: nfs_clrpcops.c,v 1.2 2016/12/13 22:17:33 pgoyette Exp $"); __RCSID("$NetBSD: nfs_clrpcops.c,v 1.3 2024/02/08 20:51:25 andvar Exp $");
/* /*
* Rpc op calls, generally called from the vnode op calls or through the * Rpc op calls, generally called from the vnode op calls or through the
@ -1022,7 +1022,7 @@ nfsrpc_getattr(vnode_t vp, struct ucred *cred, NFSPROC_T *p,
} }
/* /*
* nfs getattr call with non-vnode arguemnts. * nfs getattr call with non-vnode arguments.
*/ */
APPLESTATIC int APPLESTATIC int
nfsrpc_getattrnovp(struct nfsmount *nmp, u_int8_t *fhp, int fhlen, int syscred, nfsrpc_getattrnovp(struct nfsmount *nmp, u_int8_t *fhp, int fhlen, int syscred,

View File

@ -1,4 +1,4 @@
/* $NetBSD: parse_v2.c,v 1.6 2021/10/12 19:08:04 christos Exp $ */ /* $NetBSD: parse_v2.c,v 1.7 2024/02/08 20:51:25 andvar Exp $ */
/*- /*-
* Copyright (c) 2021 The NetBSD Foundation, Inc. * Copyright (c) 2021 The NetBSD Foundation, Inc.
@ -30,7 +30,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__RCSID("$NetBSD: parse_v2.c,v 1.6 2021/10/12 19:08:04 christos Exp $"); __RCSID("$NetBSD: parse_v2.c,v 1.7 2024/02/08 20:51:25 andvar Exp $");
#include <ctype.h> #include <ctype.h>
#include <errno.h> #include <errno.h>
@ -134,7 +134,7 @@ static struct key_handler {
#define WAIT_WRN "Option 'wait' for internal service '%s' was inferred" #define WAIT_WRN "Option 'wait' for internal service '%s' was inferred"
/* Too Few Arguemnts (values) */ /* Too Few Arguments (values) */
#define TFA(key) ERR("Option '%s' has too few arguments", (key)) #define TFA(key) ERR("Option '%s' has too few arguments", (key))
/* Too Many Arguments (values) */ /* Too Many Arguments (values) */

View File

@ -1,4 +1,4 @@
/* $NetBSD: disklabel.c,v 1.51 2023/01/06 15:05:52 martin Exp $ */ /* $NetBSD: disklabel.c,v 1.52 2024/02/08 20:51:24 andvar Exp $ */
/* /*
* Copyright 2018 The NetBSD Foundation, Inc. * Copyright 2018 The NetBSD Foundation, Inc.
@ -79,7 +79,7 @@ disklabel_init_default_alignment(struct disklabel_disk_partitions *parts,
if (MD_DISKLABEL_SET_ALIGN_PRE(parts->ptn_alignment, track)) if (MD_DISKLABEL_SET_ALIGN_PRE(parts->ptn_alignment, track))
return; return;
#endif #endif
/* Use 1MB alignemnt for large (>128GB) disks */ /* Use 1MB alignment for large (>128GB) disks */
if (parts->dp.disk_size > HUGE_DISK_SIZE) { if (parts->dp.disk_size > HUGE_DISK_SIZE) {
parts->ptn_alignment = 2048; parts->ptn_alignment = 2048;
} else if (parts->dp.disk_size > TINY_DISK_SIZE || } else if (parts->dp.disk_size > TINY_DISK_SIZE ||

View File

@ -1,4 +1,4 @@
/* $NetBSD: gpt.c,v 1.30 2022/12/15 14:54:27 martin Exp $ */ /* $NetBSD: gpt.c,v 1.31 2024/02/08 20:51:24 andvar Exp $ */
/* /*
* Copyright 2018 The NetBSD Foundation, Inc. * Copyright 2018 The NetBSD Foundation, Inc.
@ -1015,7 +1015,7 @@ gpt_get_part_alignment(const struct disk_partitions *parts)
if (parts->disk_size < 0) if (parts->disk_size < 0)
return 1; return 1;
/* Use 1MB offset/alignemnt for large (>128GB) disks */ /* Use 1MB offset/alignment for large (>128GB) disks */
if (parts->disk_size > HUGE_DISK_SIZE) if (parts->disk_size > HUGE_DISK_SIZE)
return 2048; return 2048;
else if (parts->disk_size > TINY_DISK_SIZE) else if (parts->disk_size > TINY_DISK_SIZE)

View File

@ -1,4 +1,4 @@
/* $NetBSD: mbr.c,v 1.46 2022/07/10 12:49:05 martin Exp $ */ /* $NetBSD: mbr.c,v 1.47 2024/02/08 20:51:24 andvar Exp $ */
/* /*
* Copyright 1997 Piermont Information Systems Inc. * Copyright 1997 Piermont Information Systems Inc.
@ -891,7 +891,7 @@ mbr_init_default_alignments(struct mbr_disk_partitions *parts, uint track)
parts->ptn_0_offset = parts->geo_sec; parts->ptn_0_offset = parts->geo_sec;
/* Use 1MB offset/alignemnt for large (>128GB) disks */ /* Use 1MB offset/alignment for large (>128GB) disks */
if (parts->dp.disk_size > HUGE_DISK_SIZE) { if (parts->dp.disk_size > HUGE_DISK_SIZE) {
parts->ptn_alignment = 2048; parts->ptn_alignment = 2048;
} else if (parts->dp.disk_size > TINY_DISK_SIZE) { } else if (parts->dp.disk_size > TINY_DISK_SIZE) {