Skip to content

Commit

Permalink
fix various typos in comments, documentation and messages.
Browse files Browse the repository at this point in the history
mainly s/paramater/parameter/ and s/reduntant/redundant/.
  • Loading branch information
vezhlys committed Aug 7, 2022
1 parent b117086 commit 5a58ccf
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions 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
Expand Down Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions 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
Expand Down Expand Up @@ -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__ */
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions 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
Expand Down Expand Up @@ -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 */

Expand Down Expand Up @@ -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 */

Expand Down
6 changes: 3 additions & 3 deletions 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
Expand Down Expand Up @@ -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


Expand Down Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions 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)
Expand Down Expand Up @@ -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 */
Expand Down
4 changes: 2 additions & 2 deletions 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,
Expand Down Expand Up @@ -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 */
};
Expand Down
4 changes: 2 additions & 2 deletions 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
Expand Down Expand Up @@ -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 */
Expand Down
4 changes: 2 additions & 2 deletions 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
Expand Down Expand Up @@ -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. */
Expand Down
6 changes: 3 additions & 3 deletions 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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5a58ccf

Please sign in to comment.