From 09fb17927e99675de07b1ef761e2f726ac53a901 Mon Sep 17 00:00:00 2001 From: andvar Date: Sat, 28 May 2022 21:14:56 +0000 Subject: [PATCH] fix various typos in comments, mainly origional->original, extened->extended, incomming->incoming. --- 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(-) diff --git a/include/rpc/svc.h b/include/rpc/svc.h index 7a6f70bacdb6..48366ed4ca8b 100644 --- a/include/rpc/svc.h +++ b/include/rpc/svc.h @@ -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 @@ typedef struct __rpc_svcxprt { 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 --git a/sbin/newfs_udf/udf_core.c b/sbin/newfs_udf/udf_core.c index 7918052983a6..231bbdd1fd1f 100644 --- a/sbin/newfs_udf/udf_core.c +++ b/sbin/newfs_udf/udf_core.c @@ -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 -__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 #include @@ -3081,7 +3081,7 @@ udf_writeout_VAT(void) /* --------------------------------------------------------------------- */ /* - * 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 --git a/sys/arch/hppa/hppa/trap.c b/sys/arch/hppa/hppa/trap.c index 212f63c2fd8a..e3ab75b18647 100644 --- a/sys/arch/hppa/hppa/trap.c +++ b/sys/arch/hppa/hppa/trap.c @@ -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 -__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 @@ ss_put_value(struct lwp *l, vaddr_t addr, u_int value) 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 --git a/sys/arch/m68k/060sp/dist/ilsp.s b/sys/arch/m68k/060sp/dist/ilsp.s index 4eb4fb4b0a90..1a79d213834a 100644 --- a/sys/arch/m68k/060sp/dist/ilsp.s +++ b/sys/arch/m68k/060sp/dist/ilsp.s @@ -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 @@ _060LSP__imulu64_: # 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 @@ _060LSP__imuls64_: # 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 --git a/sys/arch/usermode/usermode/trap.c b/sys/arch/usermode/usermode/trap.c index 78deac3ed7e7..74a37c3043f1 100644 --- a/sys/arch/usermode/usermode/trap.c +++ b/sys/arch/usermode/usermode/trap.c @@ -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 @@ -27,7 +27,7 @@ */ #include -__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 #include @@ -569,7 +569,7 @@ illegal_instruction(siginfo_t *info, vaddr_t from_userland, vaddr_t pc, vaddr_t 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 @@ illegal_instruction(siginfo_t *info, vaddr_t from_userland, vaddr_t pc, vaddr_t /* * 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 @@ pass_on(siginfo_t *info, vaddr_t from_userland, vaddr_t pc, vaddr_t va) 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 --git a/sys/fs/nilfs/nilfs_vnops.c b/sys/fs/nilfs/nilfs_vnops.c index b63b9d319b62..75ad1d6d556f 100644 --- a/sys/fs/nilfs/nilfs_vnops.c +++ b/sys/fs/nilfs/nilfs_vnops.c @@ -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 #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 @@ nilfs_trivial_bmap(void *v) 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 --git a/sys/fs/udf/udf_subr.c b/sys/fs/udf/udf_subr.c index 7bf51a38a75f..573ca0fced90 100644 --- a/sys/fs/udf/udf_subr.c +++ b/sys/fs/udf/udf_subr.c @@ -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 #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 @@ udf_update_logvolname(struct udf_mount *ump, char *logvol_id) 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 --git a/sys/fs/udf/udf_vnops.c b/sys/fs/udf/udf_vnops.c index 4b7ab2b55829..caa0c7b60e9a 100644 --- a/sys/fs/udf/udf_vnops.c +++ b/sys/fs/udf/udf_vnops.c @@ -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 #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 @@ udf_write(void *v) /* --------------------------------------------------------------------- */ /* - * `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 @@ udf_trivial_bmap(void *v) 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 @@ udf_open(void *v) /* * 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 @@ udf_check_possible(struct vnode *vp, struct vattr *vap, mode_t mode) } /* 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 @@ udf_rmdir(void *v) * 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 --git a/sys/net/dlt.h b/sys/net/dlt.h index 43ce394bc4fd..bf8532fe6ca4 100644 --- a/sys/net/dlt.h +++ b/sys/net/dlt.h @@ -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 --git a/sys/netbt/rfcomm.h b/sys/netbt/rfcomm.h index 778360a417e6..b7379b69b2b7 100644 --- a/sys/netbt/rfcomm.h +++ b/sys/netbt/rfcomm.h @@ -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 */ #define RFCOMM_MSC_RTC 0x04 /* Ready To Communicate */ #define RFCOMM_MSC_RTR 0x08 /* Ready To Receive */ -#define RFCOMM_MSC_IC 0x40 /* Incomming Call (RING) */ +#define RFCOMM_MSC_IC 0x40 /* Incoming Call (RING) */ #define RFCOMM_MSC_DV 0x80 /* Data Valid */ /* RPN parameters - baud rate */ diff --git a/usr.sbin/mmcformat/uscsi_subr.c b/usr.sbin/mmcformat/uscsi_subr.c index ba1a4ee4bc80..3ef66b99c9a2 100644 --- a/usr.sbin/mmcformat/uscsi_subr.c +++ b/usr.sbin/mmcformat/uscsi_subr.c @@ -1,4 +1,4 @@ -/* $NetBSD: uscsi_subr.c,v 1.4 2022/05/22 11:27:37 andvar Exp $ */ +/* $NetBSD: uscsi_subr.c,v 1.5 2022/05/28 21:14:57 andvar Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -224,7 +224,7 @@ uscsi_check_for_scsi(struct uscsi_dev *disc) #ifdef USCSI_LINUX_SCSI /* * Support code for Linux SCSI code. It uses the ioctl() way of - * communicating since this is more close to the origional NetBSD + * communicating since this is more close to the original NetBSD * scsipi implementation. */ #include diff --git a/usr.sbin/mopd/mopchk/mopchk.c b/usr.sbin/mopd/mopchk/mopchk.c index 39a83a76b9a2..ee8cb039079b 100644 --- a/usr.sbin/mopd/mopchk/mopchk.c +++ b/usr.sbin/mopd/mopchk/mopchk.c @@ -1,4 +1,4 @@ -/* $NetBSD: mopchk.c,v 1.15 2020/04/22 23:57:56 joerg Exp $ */ +/* $NetBSD: mopchk.c,v 1.16 2022/05/28 21:14:57 andvar Exp $ */ /* * Copyright (c) 1995-96 Mats O Jansson. All rights reserved. @@ -26,7 +26,7 @@ #include "port.h" #ifndef lint -__RCSID("$NetBSD: mopchk.c,v 1.15 2020/04/22 23:57:56 joerg Exp $"); +__RCSID("$NetBSD: mopchk.c,v 1.16 2022/05/28 21:14:57 andvar Exp $"); #endif /* @@ -149,7 +149,7 @@ Usage(void) } /* - * Process incomming packages. + * Process incoming packages. * Doesn't actually do anything for mopchk(1) */ void diff --git a/usr.sbin/mopd/mopd/mopd.c b/usr.sbin/mopd/mopd/mopd.c index 803612ae220c..ba18060daa1c 100644 --- a/usr.sbin/mopd/mopd/mopd.c +++ b/usr.sbin/mopd/mopd/mopd.c @@ -1,4 +1,4 @@ -/* $NetBSD: mopd.c,v 1.16 2020/04/22 23:57:56 joerg Exp $ */ +/* $NetBSD: mopd.c,v 1.17 2022/05/28 21:14:57 andvar Exp $ */ /* * Copyright (c) 1993-96 Mats O Jansson. All rights reserved. @@ -25,7 +25,7 @@ */ #include "port.h" #ifndef lint -__RCSID("$NetBSD: mopd.c,v 1.16 2020/04/22 23:57:56 joerg Exp $"); +__RCSID("$NetBSD: mopd.c,v 1.17 2022/05/28 21:14:57 andvar Exp $"); #endif /* @@ -161,7 +161,7 @@ Usage(void) } /* - * Process incomming packages. + * Process incoming packages. */ void mopProcess(struct if_info *ii, u_char *pkt) diff --git a/usr.sbin/mopd/mopprobe/mopprobe.c b/usr.sbin/mopd/mopprobe/mopprobe.c index fcabde3ddfd9..95e640d7bb51 100644 --- a/usr.sbin/mopd/mopprobe/mopprobe.c +++ b/usr.sbin/mopd/mopprobe/mopprobe.c @@ -1,4 +1,4 @@ -/* $NetBSD: mopprobe.c,v 1.14 2020/04/22 23:57:56 joerg Exp $ */ +/* $NetBSD: mopprobe.c,v 1.15 2022/05/28 21:14:57 andvar Exp $ */ /* * Copyright (c) 1993-96 Mats O Jansson. All rights reserved. @@ -26,7 +26,7 @@ #include "port.h" #ifndef lint -__RCSID("$NetBSD: mopprobe.c,v 1.14 2020/04/22 23:57:56 joerg Exp $"); +__RCSID("$NetBSD: mopprobe.c,v 1.15 2022/05/28 21:14:57 andvar Exp $"); #endif /* @@ -122,7 +122,7 @@ Usage(void) } /* - * Process incomming packages. + * Process incoming packages. */ void mopProcess(struct if_info *ii, u_char *pkt)