summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandvar <andvar@NetBSD.org>2022-08-07 11:06:18 +0000
committerandvar <andvar@NetBSD.org>2022-08-07 11:06:18 +0000
commita4f95a9c3db799b8a11dd5b922a217fa3f6d5b3c (patch)
tree3f5bf3a4e85533198becae6775237f2bbae26d29
parent5e6b415fa3a3e4cafc7e5fea05ccf59a10201f29 (diff)
fix various typos in comments, documentation and messages.
mainly s/paramater/parameter/ and s/reduntant/redundant/.
-rw-r--r--bin/ksh/ksh.Man4
-rw-r--r--games/fortune/strfile/strfile.c6
-rw-r--r--sbin/newfs_udf/udf_core.h6
-rw-r--r--sbin/pppoectl/pppoectl.c6
-rw-r--r--sys/arch/bebox/stand/boot/fd.c4
-rw-r--r--sys/dev/nand/nand.h4
-rw-r--r--sys/fs/udf/udf.h4
-rw-r--r--sys/sys/wait.h4
-rw-r--r--usr.bin/audio/ctl/audioctl.16
9 files changed, 22 insertions, 22 deletions
diff --git a/bin/ksh/ksh.Man b/bin/ksh/ksh.Man
index 693a8a947d3..8ef5110e9a1 100644
--- a/bin/ksh/ksh.Man
+++ b/bin/ksh/ksh.Man
@@ -1,5 +1,5 @@
'\" t
-.\" $NetBSD: ksh.Man,v 1.27 2021/10/30 21:08:58 andvar Exp $
+.\" $NetBSD: ksh.Man,v 1.28 2022/08/07 11:06:18 andvar Exp $
.\"{{{}}}
.\"{{{ Notes about man page
.\" - use the pseudo-macros .sh( and .sh) to begin and end sh-specific
@@ -3004,7 +3004,7 @@ If the entire remaining command
or file name is unique a space is printed after its completion, unless
it is a directory name in which case \fB/\fP is appended.
If there is no command or file name with the current partial word as its
-prefix, a bell character is output (usually causing a audio beep).
+prefix, a bell character is output (usually causing an audio beep).
.\"}}}
.\"{{{ complete-command ^X^[
.IP "\fBcomplete-command ^X^[\fP"
diff --git a/games/fortune/strfile/strfile.c b/games/fortune/strfile/strfile.c
index ae4038efc64..110ede41211 100644
--- a/games/fortune/strfile/strfile.c
+++ b/games/fortune/strfile/strfile.c
@@ -1,4 +1,4 @@
-/* $NetBSD: strfile.c,v 1.43 2021/05/02 12:50:44 rillig Exp $ */
+/* $NetBSD: strfile.c,v 1.44 2022/08/07 11:06:18 andvar Exp $ */
/*-
* Copyright (c) 1989, 1993
@@ -47,7 +47,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\
#if 0
static char sccsid[] = "@(#)strfile.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: strfile.c,v 1.43 2021/05/02 12:50:44 rillig Exp $");
+__RCSID("$NetBSD: strfile.c,v 1.44 2022/08/07 11:06:18 andvar Exp $");
#endif
#endif /* not lint */
#endif /* __NetBSD__ */
@@ -457,7 +457,7 @@ randomize(void)
/*
* fwrite_be_offt:
- * Write out the off paramater as a 64 bit big endian number
+ * Write out the off parameter as a 64 bit big endian number
*/
static void
diff --git a/sbin/newfs_udf/udf_core.h b/sbin/newfs_udf/udf_core.h
index b203903340d..339486c47ee 100644
--- a/sbin/newfs_udf/udf_core.h
+++ b/sbin/newfs_udf/udf_core.h
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_core.h,v 1.2 2022/04/09 09:58:11 riastradh Exp $ */
+/* $NetBSD: udf_core.h,v 1.3 2022/08/07 11:06:18 andvar Exp $ */
/*
* Copyright (c) 2006, 2008, 2021, 2022 Reinoud Zandijk
@@ -164,7 +164,7 @@ struct udf_create_context {
int serialnum; /* format serialno */
int gmtoff; /* in minutes */
- int meta_perc; /* format paramter */
+ int meta_perc; /* format parameter */
int check_surface; /* for spareables */
int create_new_session; /* for non empty recordables */
@@ -192,7 +192,7 @@ struct udf_create_context {
struct pri_vol_desc *primary_vol; /* identification */
struct logvol_desc *logical_vol; /* main mapping v->p */
struct unalloc_sp_desc *unallocated; /* free UDF space */
- struct impvol_desc *implementation; /* likely reduntant */
+ struct impvol_desc *implementation; /* likely redundant */
struct logvol_int_desc *logvol_integrity; /* current integrity */
struct part_desc *partitions[UDF_PARTITIONS]; /* partitions */
diff --git a/sbin/pppoectl/pppoectl.c b/sbin/pppoectl/pppoectl.c
index f2406858546..f8eed9ebb9d 100644
--- a/sbin/pppoectl/pppoectl.c
+++ b/sbin/pppoectl/pppoectl.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pppoectl.c,v 1.30 2021/05/14 09:08:59 yamaguchi Exp $ */
+/* $NetBSD: pppoectl.c,v 1.31 2022/08/07 11:06:18 andvar Exp $ */
/*
* Copyright (c) 1997 Joerg Wunsch
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: pppoectl.c,v 1.30 2021/05/14 09:08:59 yamaguchi Exp $");
+__RCSID("$NetBSD: pppoectl.c,v 1.31 2022/08/07 11:06:18 andvar Exp $");
#endif
@@ -521,7 +521,7 @@ usage(void)
" [callin] [always] [{no}rechallenge]\n"
" [query-dns=3] [{no}ipcp] [{no}ipv6cp]\n"
" to set authentication names, passwords\n"
- " and (optional) paramaters\n"
+ " and (optional) parameters\n"
" %s [-v] ifname lcp-timeout=ms|idle-timeout=s|\n"
" max-noreceive=s|max-alive-missed=cnt|\n"
" max-auth-failure=count|clear-auth-failure\n"
diff --git a/sys/arch/bebox/stand/boot/fd.c b/sys/arch/bebox/stand/boot/fd.c
index 7c20c47f145..342f66d9873 100644
--- a/sys/arch/bebox/stand/boot/fd.c
+++ b/sys/arch/bebox/stand/boot/fd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: fd.c,v 1.11 2014/12/12 15:57:30 phx Exp $ */
+/* $NetBSD: fd.c,v 1.12 2022/08/07 11:06:18 andvar Exp $ */
/*-
* Copyright (C) 1997-1998 Kazuki Sakamoto (sakamoto@NetBSD.org)
@@ -93,7 +93,7 @@ int FDC_PORT[] = { /* fdc base I/O port */
*---------------------------------------------------------------------------*/
struct fdd_type {
int seccount; /* sector per track */
- int secsize; /* byte per sector (uPD765 paramater) */
+ int secsize; /* byte per sector (uPD765 parameter) */
int datalen; /* data length */
int gap; /* gap */
int gaplen; /* gap length */
diff --git a/sys/dev/nand/nand.h b/sys/dev/nand/nand.h
index 0116555bf69..9a6b00b79fe 100644
--- a/sys/dev/nand/nand.h
+++ b/sys/dev/nand/nand.h
@@ -1,4 +1,4 @@
-/* $NetBSD: nand.h,v 1.20 2020/07/06 10:22:07 rin Exp $ */
+/* $NetBSD: nand.h,v 1.21 2022/08/07 11:06:19 andvar Exp $ */
/*-
* Copyright (c) 2010 Department of Software Engineering,
@@ -101,7 +101,7 @@ struct nand_ecc {
size_t necc_offset; /* offset of ecc data in oob */
size_t necc_size; /* size of ecc data in oob */
size_t necc_block_size; /* block size used in ecc calc */
- size_t necc_code_size; /* reduntant bytes per block */
+ size_t necc_code_size; /* redundant bytes per block */
int necc_steps; /* pagesize / code size */
int necc_type; /* type of the ecc engine */
};
diff --git a/sys/fs/udf/udf.h b/sys/fs/udf/udf.h
index 93806158a09..5b9773dd9e1 100644
--- a/sys/fs/udf/udf.h
+++ b/sys/fs/udf/udf.h
@@ -1,4 +1,4 @@
-/* $NetBSD: udf.h,v 1.53 2022/04/16 18:15:22 andvar Exp $ */
+/* $NetBSD: udf.h,v 1.54 2022/08/07 11:06:19 andvar Exp $ */
/*
* Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -276,7 +276,7 @@ struct udf_mount {
struct pri_vol_desc *primary_vol; /* identification */
struct logvol_desc *logical_vol; /* main mapping v->p */
struct unalloc_sp_desc *unallocated; /* free UDF space */
- struct impvol_desc *implementation; /* likely reduntant */
+ struct impvol_desc *implementation; /* likely redundant */
struct logvol_int_desc *logvol_integrity; /* current integrity */
struct part_desc *partitions[UDF_PARTITIONS]; /* partitions */
/* logvol_info is derived; points *into* other structures */
diff --git a/sys/sys/wait.h b/sys/sys/wait.h
index dd7a323e6b3..8647bc1c7dd 100644
--- a/sys/sys/wait.h
+++ b/sys/sys/wait.h
@@ -1,4 +1,4 @@
-/* $NetBSD: wait.h,v 1.37 2021/12/08 20:50:03 andvar Exp $ */
+/* $NetBSD: wait.h,v 1.38 2022/08/07 11:06:19 andvar Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993, 1994
@@ -101,7 +101,7 @@
* (changing their status to have been already waited for).
*/
#define WNOHANG 0x00000001 /* don't hang in wait */
-#define WSTOPPED 0x00000002 /* include stopped/untraceed children */
+#define WSTOPPED 0x00000002 /* include stopped/untraced children */
#define WUNTRACED WSTOPPED /* the original name for WSTOPPED */
#define WCONTINUED 0x00000010 /* include continued processes */
#define WEXITED 0x00000020 /* Wait for exited processes. */
diff --git a/usr.bin/audio/ctl/audioctl.1 b/usr.bin/audio/ctl/audioctl.1
index e6aa032f368..0f1d5512ad9 100644
--- a/usr.bin/audio/ctl/audioctl.1
+++ b/usr.bin/audio/ctl/audioctl.1
@@ -1,4 +1,4 @@
-.\" $NetBSD: audioctl.1,v 1.24 2021/03/21 10:50:08 nia Exp $
+.\" $NetBSD: audioctl.1,v 1.25 2022/08/07 11:06:19 andvar Exp $
.\"
.\" Copyright (c) 1997, 1999 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -49,8 +49,8 @@
.Sh DESCRIPTION
The
.Nm
-command displays or sets the paramaters that determine the playback and
-recording format for software using a audio device.
+command displays or sets the parameters that determine the playback and
+recording format for software using an audio device.
It is most useful when the full
.Xr audio 4
API is not available, e.g. when playing or recording raw audio data from a