Module Name: src Committed By: andvar Date: Sun Aug 7 11:06:19 UTC 2022
Modified Files: src/bin/ksh: ksh.Man src/games/fortune/strfile: strfile.c src/sbin/newfs_udf: udf_core.h src/sbin/pppoectl: pppoectl.c src/sys/arch/bebox/stand/boot: fd.c src/sys/dev/nand: nand.h src/sys/fs/udf: udf.h src/sys/sys: wait.h src/usr.bin/audio/ctl: audioctl.1 Log Message: fix various typos in comments, documentation and messages. mainly s/paramater/parameter/ and s/reduntant/redundant/. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/bin/ksh/ksh.Man cvs rdiff -u -r1.43 -r1.44 src/games/fortune/strfile/strfile.c cvs rdiff -u -r1.2 -r1.3 src/sbin/newfs_udf/udf_core.h cvs rdiff -u -r1.30 -r1.31 src/sbin/pppoectl/pppoectl.c cvs rdiff -u -r1.11 -r1.12 src/sys/arch/bebox/stand/boot/fd.c cvs rdiff -u -r1.20 -r1.21 src/sys/dev/nand/nand.h cvs rdiff -u -r1.53 -r1.54 src/sys/fs/udf/udf.h cvs rdiff -u -r1.37 -r1.38 src/sys/sys/wait.h cvs rdiff -u -r1.24 -r1.25 src/usr.bin/audio/ctl/audioctl.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/bin/ksh/ksh.Man diff -u src/bin/ksh/ksh.Man:1.27 src/bin/ksh/ksh.Man:1.28 --- src/bin/ksh/ksh.Man:1.27 Sat Oct 30 21:08:58 2021 +++ src/bin/ksh/ksh.Man Sun Aug 7 11:06:18 2022 @@ -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" Index: src/games/fortune/strfile/strfile.c diff -u src/games/fortune/strfile/strfile.c:1.43 src/games/fortune/strfile/strfile.c:1.44 --- src/games/fortune/strfile/strfile.c:1.43 Sun May 2 12:50:44 2021 +++ src/games/fortune/strfile/strfile.c Sun Aug 7 11:06:18 2022 @@ -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, 19 #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 Index: src/sbin/newfs_udf/udf_core.h diff -u src/sbin/newfs_udf/udf_core.h:1.2 src/sbin/newfs_udf/udf_core.h:1.3 --- src/sbin/newfs_udf/udf_core.h:1.2 Sat Apr 9 09:58:11 2022 +++ src/sbin/newfs_udf/udf_core.h Sun Aug 7 11:06:18 2022 @@ -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 */ Index: src/sbin/pppoectl/pppoectl.c diff -u src/sbin/pppoectl/pppoectl.c:1.30 src/sbin/pppoectl/pppoectl.c:1.31 --- src/sbin/pppoectl/pppoectl.c:1.30 Fri May 14 09:08:59 2021 +++ src/sbin/pppoectl/pppoectl.c Sun Aug 7 11:06:18 2022 @@ -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" Index: src/sys/arch/bebox/stand/boot/fd.c diff -u src/sys/arch/bebox/stand/boot/fd.c:1.11 src/sys/arch/bebox/stand/boot/fd.c:1.12 --- src/sys/arch/bebox/stand/boot/fd.c:1.11 Fri Dec 12 15:57:30 2014 +++ src/sys/arch/bebox/stand/boot/fd.c Sun Aug 7 11:06:18 2022 @@ -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 (sakam...@netbsd.org) @@ -93,7 +93,7 @@ int FDC_PORT[] = { /* fdc base I/O po *---------------------------------------------------------------------------*/ 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 */ Index: src/sys/dev/nand/nand.h diff -u src/sys/dev/nand/nand.h:1.20 src/sys/dev/nand/nand.h:1.21 --- src/sys/dev/nand/nand.h:1.20 Mon Jul 6 10:22:07 2020 +++ src/sys/dev/nand/nand.h Sun Aug 7 11:06:19 2022 @@ -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 */ }; Index: src/sys/fs/udf/udf.h diff -u src/sys/fs/udf/udf.h:1.53 src/sys/fs/udf/udf.h:1.54 --- src/sys/fs/udf/udf.h:1.53 Sat Apr 16 18:15:22 2022 +++ src/sys/fs/udf/udf.h Sun Aug 7 11:06:19 2022 @@ -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 */ Index: src/sys/sys/wait.h diff -u src/sys/sys/wait.h:1.37 src/sys/sys/wait.h:1.38 --- src/sys/sys/wait.h:1.37 Wed Dec 8 20:50:03 2021 +++ src/sys/sys/wait.h Sun Aug 7 11:06:19 2022 @@ -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. */ Index: src/usr.bin/audio/ctl/audioctl.1 diff -u src/usr.bin/audio/ctl/audioctl.1:1.24 src/usr.bin/audio/ctl/audioctl.1:1.25 --- src/usr.bin/audio/ctl/audioctl.1:1.24 Sun Mar 21 10:50:08 2021 +++ src/usr.bin/audio/ctl/audioctl.1 Sun Aug 7 11:06:19 2022 @@ -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