Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src fix various typos in comments, documentation and messages.
details: https://anonhg.NetBSD.org/src/rev/d7938fbd2f2f
branches: trunk
changeset: 368836:d7938fbd2f2f
user: andvar <andvar%NetBSD.org@localhost>
date: Sun Aug 07 11:06:18 2022 +0000
description:
fix various typos in comments, documentation and messages.
mainly s/paramater/parameter/ and s/reduntant/redundant/.
diffstat:
bin/ksh/ksh.Man | 4 ++--
games/fortune/strfile/strfile.c | 6 +++---
sbin/newfs_udf/udf_core.h | 6 +++---
sbin/pppoectl/pppoectl.c | 6 +++---
sys/arch/bebox/stand/boot/fd.c | 4 ++--
sys/dev/nand/nand.h | 4 ++--
sys/fs/udf/udf.h | 4 ++--
sys/sys/wait.h | 4 ++--
usr.bin/audio/ctl/audioctl.1 | 6 +++---
9 files changed, 22 insertions(+), 22 deletions(-)
diffs (192 lines):
diff -r 22cc1113f326 -r d7938fbd2f2f bin/ksh/ksh.Man
--- a/bin/ksh/ksh.Man Sun Aug 07 10:12:19 2022 +0000
+++ b/bin/ksh/ksh.Man Sun Aug 07 11:06:18 2022 +0000
@@ -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 @@
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 -r 22cc1113f326 -r d7938fbd2f2f games/fortune/strfile/strfile.c
--- a/games/fortune/strfile/strfile.c Sun Aug 07 10:12:19 2022 +0000
+++ b/games/fortune/strfile/strfile.c Sun Aug 07 11:06:18 2022 +0000
@@ -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 @@
#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 @@
/*
* 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 -r 22cc1113f326 -r d7938fbd2f2f sbin/newfs_udf/udf_core.h
--- a/sbin/newfs_udf/udf_core.h Sun Aug 07 10:12:19 2022 +0000
+++ b/sbin/newfs_udf/udf_core.h Sun Aug 07 11:06:18 2022 +0000
@@ -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 @@
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 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 -r 22cc1113f326 -r d7938fbd2f2f sbin/pppoectl/pppoectl.c
--- a/sbin/pppoectl/pppoectl.c Sun Aug 07 10:12:19 2022 +0000
+++ b/sbin/pppoectl/pppoectl.c Sun Aug 07 11:06:18 2022 +0000
@@ -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 @@
" [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 -r 22cc1113f326 -r d7938fbd2f2f sys/arch/bebox/stand/boot/fd.c
--- a/sys/arch/bebox/stand/boot/fd.c Sun Aug 07 10:12:19 2022 +0000
+++ b/sys/arch/bebox/stand/boot/fd.c Sun Aug 07 11:06:18 2022 +0000
@@ -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@localhost)
@@ -93,7 +93,7 @@
*---------------------------------------------------------------------------*/
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 -r 22cc1113f326 -r d7938fbd2f2f sys/dev/nand/nand.h
--- a/sys/dev/nand/nand.h Sun Aug 07 10:12:19 2022 +0000
+++ b/sys/dev/nand/nand.h Sun Aug 07 11:06:18 2022 +0000
@@ -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 @@
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 -r 22cc1113f326 -r d7938fbd2f2f sys/fs/udf/udf.h
--- a/sys/fs/udf/udf.h Sun Aug 07 10:12:19 2022 +0000
+++ b/sys/fs/udf/udf.h Sun Aug 07 11:06:18 2022 +0000
@@ -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 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 -r 22cc1113f326 -r d7938fbd2f2f sys/sys/wait.h
--- a/sys/sys/wait.h Sun Aug 07 10:12:19 2022 +0000
+++ b/sys/sys/wait.h Sun Aug 07 11:06:18 2022 +0000
@@ -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 -r 22cc1113f326 -r d7938fbd2f2f usr.bin/audio/ctl/audioctl.1
--- a/usr.bin/audio/ctl/audioctl.1 Sun Aug 07 10:12:19 2022 +0000
+++ b/usr.bin/audio/ctl/audioctl.1 Sun Aug 07 11:06:18 2022 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index