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, mainly origional->original,
details: https://anonhg.NetBSD.org/src/rev/06e6ea0e658b
branches: trunk
changeset: 366477:06e6ea0e658b
user: andvar <andvar%NetBSD.org@localhost>
date: Sat May 28 21:14:56 2022 +0000
description:
fix various typos in comments, mainly origional->original,
extened->extended, incomming->incoming.
diffstat:
include/rpc/svc.h | 4 ++--
sbin/newfs_udf/udf_core.c | 6 +++---
sys/arch/hppa/hppa/trap.c | 6 +++---
sys/arch/m68k/060sp/dist/ilsp.s | 6 +++---
sys/arch/usermode/usermode/trap.c | 10 +++++-----
sys/fs/nilfs/nilfs_vnops.c | 6 +++---
sys/fs/udf/udf_subr.c | 6 +++---
sys/fs/udf/udf_vnops.c | 14 +++++++-------
sys/net/dlt.h | 4 ++--
sys/netbt/rfcomm.h | 6 +++---
usr.sbin/mmcformat/uscsi_subr.c | 4 ++--
usr.sbin/mopd/mopchk/mopchk.c | 6 +++---
usr.sbin/mopd/mopd/mopd.c | 6 +++---
usr.sbin/mopd/mopprobe/mopprobe.c | 6 +++---
14 files changed, 45 insertions(+), 45 deletions(-)
diffs (truncated from 406 to 300 lines):
diff -r 7b3b74b7a229 -r 06e6ea0e658b include/rpc/svc.h
--- a/include/rpc/svc.h Sat May 28 20:57:26 2022 +0000
+++ b/include/rpc/svc.h Sat May 28 21:14:56 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: svc.h,v 1.32 2016/01/23 02:36:57 dholland Exp $ */
+/* $NetBSD: svc.h,v 1.33 2022/05/28 21:14:56 andvar Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -89,7 +89,7 @@
int xp_fd;
unsigned short xp_port; /* associated port number */
const struct xp_ops {
- /* receive incomming requests */
+ /* receive incoming requests */
bool_t (*xp_recv)(struct __rpc_svcxprt *, struct rpc_msg *);
/* get transport status */
enum xprt_stat (*xp_stat)(struct __rpc_svcxprt *);
diff -r 7b3b74b7a229 -r 06e6ea0e658b sbin/newfs_udf/udf_core.c
--- a/sbin/newfs_udf/udf_core.c Sat May 28 20:57:26 2022 +0000
+++ b/sbin/newfs_udf/udf_core.c Sat May 28 21:14:56 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_core.c,v 1.12 2022/05/22 11:27:33 andvar Exp $ */
+/* $NetBSD: udf_core.c,v 1.13 2022/05/28 21:14:56 andvar Exp $ */
/*
* Copyright (c) 2006, 2008, 2021, 2022 Reinoud Zandijk
@@ -30,7 +30,7 @@
#endif
#include <sys/cdefs.h>
-__RCSID("$NetBSD: udf_core.c,v 1.12 2022/05/22 11:27:33 andvar Exp $");
+__RCSID("$NetBSD: udf_core.c,v 1.13 2022/05/28 21:14:56 andvar Exp $");
#include <stdio.h>
#include <stdlib.h>
@@ -3081,7 +3081,7 @@
/* --------------------------------------------------------------------- */
/*
- * mmc_discinfo and mmc_trackinfo readers modified from origional in udf main
+ * mmc_discinfo and mmc_trackinfo readers modified from original in udf main
* code in sys/fs/udf/
*/
diff -r 7b3b74b7a229 -r 06e6ea0e658b sys/arch/hppa/hppa/trap.c
--- a/sys/arch/hppa/hppa/trap.c Sat May 28 20:57:26 2022 +0000
+++ b/sys/arch/hppa/hppa/trap.c Sat May 28 21:14:56 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.116 2020/08/19 02:19:07 msaitoh Exp $ */
+/* $NetBSD: trap.c,v 1.117 2022/05/28 21:14:56 andvar Exp $ */
/*-
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.116 2020/08/19 02:19:07 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.117 2022/05/28 21:14:56 andvar Exp $");
/* #define INTRDEBUG */
/* #define TRAPDEBUG */
@@ -1043,7 +1043,7 @@
void
ss_clear_breakpoints(struct lwp *l)
{
- /* Restore origional instructions. */
+ /* Restore original instructions. */
if (l->l_md.md_bpva != 0) {
ss_put_value(l, l->l_md.md_bpva, l->l_md.md_bpsave[0]);
ss_put_value(l, l->l_md.md_bpva + 4, l->l_md.md_bpsave[1]);
diff -r 7b3b74b7a229 -r 06e6ea0e658b sys/arch/m68k/060sp/dist/ilsp.s
--- a/sys/arch/m68k/060sp/dist/ilsp.s Sat May 28 20:57:26 2022 +0000
+++ b/sys/arch/m68k/060sp/dist/ilsp.s Sat May 28 21:14:56 2022 +0000
@@ -1,5 +1,5 @@
#
-# $NetBSD: ilsp.s,v 1.2 2015/07/11 10:32:46 kamil Exp $
+# $NetBSD: ilsp.s,v 1.3 2022/05/28 21:14:56 andvar Exp $
#
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -524,7 +524,7 @@
# fmovm.l &0x0,-(%sp) # save no fpregs
# PROLOGUE END ##########################################################
- mov.w %cc,MUL64_CC(%a6) # save incomming ccodes
+ mov.w %cc,MUL64_CC(%a6) # save incoming ccodes
mov.l 0x8(%a6),%d0 # store multiplier in d0
beq.w mulu64_zero # handle zero separately
@@ -635,7 +635,7 @@
# fmovm.l &0x0,-(%sp) # save no fpregs
# PROLOGUE END ##########################################################
- mov.w %cc,MUL64_CC(%a6) # save incomming ccodes
+ mov.w %cc,MUL64_CC(%a6) # save incoming ccodes
mov.l 0x8(%a6),%d0 # store multiplier in d0
beq.b mulu64_zero # handle zero separately
diff -r 7b3b74b7a229 -r 06e6ea0e658b sys/arch/usermode/usermode/trap.c
--- a/sys/arch/usermode/usermode/trap.c Sat May 28 20:57:26 2022 +0000
+++ b/sys/arch/usermode/usermode/trap.c Sat May 28 21:14:56 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.73 2022/05/28 10:36:22 andvar Exp $ */
+/* $NetBSD: trap.c,v 1.74 2022/05/28 21:14:56 andvar Exp $ */
/*-
* Copyright (c) 2011 Reinoud Zandijk <reinoud%netbsd.org@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.73 2022/05/28 10:36:22 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.74 2022/05/28 21:14:56 andvar Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -569,7 +569,7 @@
ksi.ksi_trap = 0; /* XXX */
ksi.ksi_errno = 0; // info->si_errno;
ksi.ksi_code = 0; // info->si_code;
- ksi.ksi_addr = (void *) md_get_pc(ucp); /* only relyable source */
+ ksi.ksi_addr = (void *) md_get_pc(ucp); /* only reliable source */
#if 0
p->p_emul->e_trapsignal(l, &ksi);
@@ -583,7 +583,7 @@
/*
* handle pass to userland signals
*
- * arguments other than the origional siginfo_t are not used
+ * arguments other than the original siginfo_t are not used
*/
static void
pass_on(siginfo_t *info, vaddr_t from_userland, vaddr_t pc, vaddr_t va)
@@ -599,7 +599,7 @@
ksi.ksi_trap = 0; /* XXX ? */
ksi.ksi_errno = info->si_errno;
ksi.ksi_code = info->si_code;
- ksi.ksi_addr = (void *) md_get_pc(ucp); /* only relyable source */
+ ksi.ksi_addr = (void *) md_get_pc(ucp); /* only reliable source */
trapsignal(l, &ksi);
userret(l);
diff -r 7b3b74b7a229 -r 06e6ea0e658b sys/fs/nilfs/nilfs_vnops.c
--- a/sys/fs/nilfs/nilfs_vnops.c Sat May 28 20:57:26 2022 +0000
+++ b/sys/fs/nilfs/nilfs_vnops.c Sat May 28 21:14:56 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nilfs_vnops.c,v 1.46 2022/04/10 09:50:45 andvar Exp $ */
+/* $NetBSD: nilfs_vnops.c,v 1.47 2022/05/28 21:14:56 andvar Exp $ */
/*
* Copyright (c) 2008, 2009 Reinoud Zandijk
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: nilfs_vnops.c,v 1.46 2022/04/10 09:50:45 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nilfs_vnops.c,v 1.47 2022/05/28 21:14:56 andvar Exp $");
#endif /* not lint */
@@ -328,7 +328,7 @@
struct vnode *vp = ap->a_vp; /* our node */
struct vnode **vpp = ap->a_vpp; /* return node */
daddr_t *bnp = ap->a_bnp; /* translated */
- daddr_t bn = ap->a_bn; /* origional */
+ daddr_t bn = ap->a_bn; /* original */
int *runp = ap->a_runp;
struct nilfs_node *node = VTOI(vp);
uint64_t *l2vmap;
diff -r 7b3b74b7a229 -r 06e6ea0e658b sys/fs/udf/udf_subr.c
--- a/sys/fs/udf/udf_subr.c Sat May 28 20:57:26 2022 +0000
+++ b/sys/fs/udf/udf_subr.c Sat May 28 21:14:56 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_subr.c,v 1.170 2022/05/15 20:37:51 andvar Exp $ */
+/* $NetBSD: udf_subr.c,v 1.171 2022/05/28 21:14:57 andvar Exp $ */
/*
* Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -29,7 +29,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.170 2022/05/15 20:37:51 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.171 2022/05/28 21:14:57 andvar Exp $");
#endif /* not lint */
@@ -2161,7 +2161,7 @@
if (ump->implementation)
lvi = &ump->implementation->_impl_use.lv_info;
- /* logvol's id might be specified as origional so use memmove here */
+ /* logvol's id might be specified as original so use memmove here */
memmove(lvd->logvol_id, logvol_id, 128);
if (fsd)
memmove(fsd->logvol_id, logvol_id, 128);
diff -r 7b3b74b7a229 -r 06e6ea0e658b sys/fs/udf/udf_vnops.c
--- a/sys/fs/udf/udf_vnops.c Sat May 28 20:57:26 2022 +0000
+++ b/sys/fs/udf/udf_vnops.c Sat May 28 21:14:56 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_vnops.c,v 1.125 2022/05/03 20:52:32 andvar Exp $ */
+/* $NetBSD: udf_vnops.c,v 1.126 2022/05/28 21:14:57 andvar Exp $ */
/*
* Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -32,7 +32,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_vnops.c,v 1.125 2022/05/03 20:52:32 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_vnops.c,v 1.126 2022/05/28 21:14:57 andvar Exp $");
#endif /* not lint */
@@ -419,7 +419,7 @@
/* --------------------------------------------------------------------- */
/*
- * `Special' bmap functionality that translates all incomming requests to
+ * `Special' bmap functionality that translates all incoming requests to
* translate to vop_strategy() calls with the same blocknumbers effectively
* not translating at all.
*/
@@ -437,7 +437,7 @@
struct vnode *vp = ap->a_vp; /* our node */
struct vnode **vpp = ap->a_vpp; /* return node */
daddr_t *bnp = ap->a_bnp; /* translated */
- daddr_t bn = ap->a_bn; /* origional */
+ daddr_t bn = ap->a_bn; /* original */
int *runp = ap->a_runp;
struct udf_node *udf_node = VTOI(vp);
uint32_t lb_size;
@@ -1343,7 +1343,7 @@
/*
* Files marked append-only must be opened for appending.
- * TODO: get chflags(2) flags from extened attribute.
+ * TODO: get chflags(2) flags from extended attribute.
*/
flags = 0;
if ((flags & APPEND) && (ap->a_mode & (FWRITE | O_APPEND)) == FWRITE)
@@ -1422,7 +1422,7 @@
}
/* noone may write immutable files */
- /* TODO: get chflags(2) flags from extened attribute. */
+ /* TODO: get chflags(2) flags from extended attribute. */
flags = 0;
if ((mode & VWRITE) && (flags & IMMUTABLE))
return EPERM;
@@ -2021,7 +2021,7 @@
* Bug alert: we need to remove '..' from the detaching
* udf_node so further lookups of this are not possible. This
* prevents a process in a deleted directory from going to its
- * deleted parent. Since `udf_node' is garanteed to be empty
+ * deleted parent. Since `udf_node' is guaranteed to be empty
* here, trunc it so no fids are there.
*/
dirhash_purge(&udf_node->dir_hash);
diff -r 7b3b74b7a229 -r 06e6ea0e658b sys/net/dlt.h
--- a/sys/net/dlt.h Sat May 28 20:57:26 2022 +0000
+++ b/sys/net/dlt.h Sat May 28 21:14:56 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dlt.h,v 1.22 2021/12/05 07:13:48 msaitoh Exp $ */
+/* $NetBSD: dlt.h,v 1.23 2022/05/28 21:14:57 andvar Exp $ */
/*-
* Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
@@ -479,7 +479,7 @@
* interface (irdaX), but not on a raw serial port.
* Note the capture is done in "Linux-cooked" mode, so each packet include
* a fake packet header (struct sll_header). This is because IrDA packet
- * decoding is dependant on the direction of the packet (incomming or
+ * decoding is dependant on the direction of the packet (incoming or
* outgoing).
* When/if other platform implement IrDA capture, we may revisit the
* issue and define a real DLT_IRDA...
diff -r 7b3b74b7a229 -r 06e6ea0e658b sys/netbt/rfcomm.h
--- a/sys/netbt/rfcomm.h Sat May 28 20:57:26 2022 +0000
+++ b/sys/netbt/rfcomm.h Sat May 28 21:14:56 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rfcomm.h,v 1.18 2014/08/08 03:05:45 rtr Exp $ */
+/* $NetBSD: rfcomm.h,v 1.19 2022/05/28 21:14:57 andvar Exp $ */
/*-
* Copyright (c) 2006 Itronix Inc.
@@ -55,7 +55,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: rfcomm.h,v 1.18 2014/08/08 03:05:45 rtr Exp $
+ * $Id: rfcomm.h,v 1.19 2022/05/28 21:14:57 andvar Exp $
* $FreeBSD: src/sys/netgraph/bluetooth/include/ng_btsocket_rfcomm.h,v 1.4 2005/01/11 01:39:53 emax Exp $
*/
@@ -102,7 +102,7 @@
#define RFCOMM_MSC_FC 0x02 /* Flow Control asserted */
Home |
Main Index |
Thread Index |
Old Index