diff --git a/sbin/ping/ping.c b/sbin/ping/ping.c index dd43634f9661..b8545d8e0eee 100644 --- a/sbin/ping/ping.c +++ b/sbin/ping/ping.c @@ -1,4 +1,4 @@ -/* $NetBSD: ping.c,v 1.118 2021/06/11 18:47:56 rillig Exp $ */ +/* $NetBSD: ping.c,v 1.119 2022/04/07 19:33:37 andvar Exp $ */ /* * Copyright (c) 1989, 1993 @@ -58,7 +58,7 @@ #include #ifndef lint -__RCSID("$NetBSD: ping.c,v 1.118 2021/06/11 18:47:56 rillig Exp $"); +__RCSID("$NetBSD: ping.c,v 1.119 2022/04/07 19:33:37 andvar Exp $"); #endif #include @@ -874,7 +874,7 @@ jiggle(int delta) jiggle_cnt += delta; /* flush the FLOOD dots when things are quiet - * or occassionally to make the cursor jiggle. + * or occasionally to make the cursor jiggle. */ dt = diffsec(&last_tx, &jiggle_time); if (dt > 0.2 || (dt >= 0.15 && delta*jiggle_direction < 0)) diff --git a/sbin/routed/main.c b/sbin/routed/main.c index 02c4c455a71b..f54d6a0ffc7d 100644 --- a/sbin/routed/main.c +++ b/sbin/routed/main.c @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.42 2017/10/02 11:02:19 maya Exp $ */ +/* $NetBSD: main.c,v 1.43 2022/04/07 19:33:37 andvar Exp $ */ /* * Copyright (c) 1983, 1988, 1993 @@ -45,7 +45,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1988, 1993\ The Regents of the University of California. All rights reserved."); #ifdef __NetBSD__ -__RCSID("$NetBSD: main.c,v 1.42 2017/10/02 11:02:19 maya Exp $"); +__RCSID("$NetBSD: main.c,v 1.43 2022/04/07 19:33:37 andvar Exp $"); #elif defined(__FreeBSD__) __RCSID("$FreeBSD$"); #else @@ -402,7 +402,7 @@ usage: continue; } - /* Check the kernel table occassionally for mysteriously + /* Check the kernel table occasionally for mysteriously * evaporated routes */ timevalsub(&t2, &flush_kern_timer, &now); diff --git a/sys/arch/amiga/dev/siop.c b/sys/arch/amiga/dev/siop.c index bb8e4ea8ffce..e7726abbd971 100644 --- a/sys/arch/amiga/dev/siop.c +++ b/sys/arch/amiga/dev/siop.c @@ -1,4 +1,4 @@ -/* $NetBSD: siop.c,v 1.70 2019/11/10 21:16:22 chs Exp $ */ +/* $NetBSD: siop.c,v 1.71 2022/04/07 19:33:37 andvar Exp $ */ /* * Copyright (c) 1990 The Regents of the University of California. @@ -70,7 +70,7 @@ #include "opt_ddb.h" #include -__KERNEL_RCSID(0, "$NetBSD: siop.c,v 1.70 2019/11/10 21:16:22 chs Exp $"); +__KERNEL_RCSID(0, "$NetBSD: siop.c,v 1.71 2022/04/07 19:33:37 andvar Exp $"); #include #include @@ -780,7 +780,7 @@ siop_start(struct siop_softc *sc, int target, int lun, u_char *cbuf, int clen, /* * Negotiate wide is the initial negotiation state; since the 53c710 * doesn't do wide transfers, just begin the synchronous transfer - * negotation here. + * negotiation here. */ if (sc->sc_sync[target].state == NEG_WIDE) { if (siop_inhibit_sync[target]) { diff --git a/sys/arch/amiga/dev/siopvar.h b/sys/arch/amiga/dev/siopvar.h index bfea7332a589..894738a6dbf5 100644 --- a/sys/arch/amiga/dev/siopvar.h +++ b/sys/arch/amiga/dev/siopvar.h @@ -1,4 +1,4 @@ -/* $NetBSD: siopvar.h,v 1.28 2022/01/01 21:07:13 andvar Exp $ */ +/* $NetBSD: siopvar.h,v 1.29 2022/04/07 19:33:37 andvar Exp $ */ /* * Copyright (c) 1990 The Regents of the University of California. @@ -183,10 +183,10 @@ struct siop_softc { /* negotiation states */ #define NEG_WIDE 0 /* Negotiate wide transfers */ -#define NEG_WAITW 1 /* Waiting for wide negotation response */ +#define NEG_WAITW 1 /* Waiting for wide negotiation response */ #define NEG_SYNC 2 /* Negotiate synch transfers */ #define NEG_WAITS 3 /* Waiting for synch negoation response */ -#define NEG_DONE 4 /* Wide and/or sync negotation done */ +#define NEG_DONE 4 /* Wide and/or sync negotiation done */ #define MSG_CMD_COMPLETE 0x00 #define MSG_EXT_MESSAGE 0x01 diff --git a/sys/arch/atari/dev/ncr5380.c b/sys/arch/atari/dev/ncr5380.c index cf1232c09cf6..42c982a11241 100644 --- a/sys/arch/atari/dev/ncr5380.c +++ b/sys/arch/atari/dev/ncr5380.c @@ -1,4 +1,4 @@ -/* $NetBSD: ncr5380.c,v 1.76 2021/08/07 16:18:46 thorpej Exp $ */ +/* $NetBSD: ncr5380.c,v 1.77 2022/04/07 19:33:37 andvar Exp $ */ /* * Copyright (c) 1995 Leo Weppelman. @@ -26,7 +26,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ncr5380.c,v 1.76 2021/08/07 16:18:46 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ncr5380.c,v 1.77 2022/04/07 19:33:37 andvar Exp $"); /* * Bit mask of targets you want debugging to be shown @@ -1842,7 +1842,7 @@ scsi_dmaok(SC_REQ *reqp) } /* - * LWP: I think that this restriction is not strictly nessecary. + * LWP: I think that this restriction is not strictly necessary. */ if ((req_len & 0x1) || ((u_int)req_addr & 0x3)) return 0; diff --git a/sys/arch/mac68k/dev/ncr5380.c b/sys/arch/mac68k/dev/ncr5380.c index 9a54703a4ff5..d1a355b31b9d 100644 --- a/sys/arch/mac68k/dev/ncr5380.c +++ b/sys/arch/mac68k/dev/ncr5380.c @@ -1,4 +1,4 @@ -/* $NetBSD: ncr5380.c,v 1.70 2021/08/07 16:18:57 thorpej Exp $ */ +/* $NetBSD: ncr5380.c,v 1.71 2022/04/07 19:33:37 andvar Exp $ */ /* * Copyright (c) 1995 Leo Weppelman. @@ -26,7 +26,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ncr5380.c,v 1.70 2021/08/07 16:18:57 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ncr5380.c,v 1.71 2022/04/07 19:33:37 andvar Exp $"); /* * Bit mask of targets you want debugging to be shown @@ -1785,7 +1785,7 @@ scsi_dmaok(SC_REQ *reqp) return (0); /* - * LWP: I think that this restriction is not strictly nessecary. + * LWP: I think that this restriction is not strictly necessary. */ if ((req_len & 0x1) || ((u_int)req_addr & 0x3)) return (0); diff --git a/sys/arch/shark/isa/clock.c b/sys/arch/shark/isa/clock.c index 8b6cd0442b1b..88f4cd03b4e0 100644 --- a/sys/arch/shark/isa/clock.c +++ b/sys/arch/shark/isa/clock.c @@ -1,4 +1,4 @@ -/* $NetBSD: clock.c,v 1.18 2018/09/03 16:29:27 riastradh Exp $ */ +/* $NetBSD: clock.c,v 1.19 2022/04/07 19:33:37 andvar Exp $ */ /* * Copyright 1997 @@ -154,7 +154,7 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #include -__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.18 2018/09/03 16:29:27 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.19 2022/04/07 19:33:37 andvar Exp $"); #include #include @@ -399,7 +399,7 @@ gettick(void) /* modifications from i386 to shark isa version: - removed hardcoded "n -=" values that approximated the time to calculate delay ticks - - made the time to calculate delay ticks almost negligable. 4 multiplies + - made the time to calculate delay ticks almost negligible. 4 multiplies = maximum of 12 cycles = 75ns on a slow SA-110, plus a bunch of shifts; as opposed to 4 multiplies plus a bunch of divides. - removed i386 assembly language hack diff --git a/sys/dev/hdaudio/hdaudio.c b/sys/dev/hdaudio/hdaudio.c index 136dd73a4648..4f5f88a8a833 100644 --- a/sys/dev/hdaudio/hdaudio.c +++ b/sys/dev/hdaudio/hdaudio.c @@ -1,4 +1,4 @@ -/* $NetBSD: hdaudio.c,v 1.17 2022/03/28 12:33:21 riastradh Exp $ */ +/* $NetBSD: hdaudio.c,v 1.18 2022/04/07 19:33:37 andvar Exp $ */ /* * Copyright (c) 2009 Precedence Technologies Ltd @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: hdaudio.c,v 1.17 2022/03/28 12:33:21 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: hdaudio.c,v 1.18 2022/04/07 19:33:37 andvar Exp $"); #include #include @@ -1079,7 +1079,7 @@ hdaudio_stream_disestablish(struct hdaudio_stream *st) } /* - * Convert most of audio_params_t to stream fmt descriptor; noticably missing + * Convert most of audio_params_t to stream fmt descriptor; noticeably missing * is the # channels bits, as this is encoded differently in codec and * stream descriptors. * diff --git a/sys/dev/ic/aic79xx.c b/sys/dev/ic/aic79xx.c index 654e20b2ea35..f695daf5afb2 100644 --- a/sys/dev/ic/aic79xx.c +++ b/sys/dev/ic/aic79xx.c @@ -1,4 +1,4 @@ -/* $NetBSD: aic79xx.c,v 1.64 2022/03/08 20:45:56 andvar Exp $ */ +/* $NetBSD: aic79xx.c,v 1.65 2022/04/07 19:33:37 andvar Exp $ */ /* * Core routines and tables shareable across OS platforms. @@ -49,7 +49,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: aic79xx.c,v 1.64 2022/03/08 20:45:56 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aic79xx.c,v 1.65 2022/04/07 19:33:37 andvar Exp $"); #include #include @@ -2579,7 +2579,7 @@ ahd_clear_critical_section(struct ahd_softc *ahd) ahd_outb(ahd, SEQCTL0, ahd_inb(ahd, SEQCTL0) & ~STEP); ahd_outb(ahd, SIMODE1, simode1); /* - * SCSIINT seems to glitch occassionally when + * SCSIINT seems to glitch occasionally when * the interrupt masks are restored. Clear SCSIINT * one more time so that only persistent errors * are seen as a real interrupt. diff --git a/sys/dev/mscp/mscp_subr.c b/sys/dev/mscp/mscp_subr.c index 526f49ca3ff6..70218c7d8df7 100644 --- a/sys/dev/mscp/mscp_subr.c +++ b/sys/dev/mscp/mscp_subr.c @@ -1,4 +1,4 @@ -/* $NetBSD: mscp_subr.c,v 1.47 2017/06/01 02:45:10 chs Exp $ */ +/* $NetBSD: mscp_subr.c,v 1.48 2022/04/07 19:33:38 andvar Exp $ */ /* * Copyright (c) 1988 Regents of the University of California. * All rights reserved. @@ -75,7 +75,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: mscp_subr.c,v 1.47 2017/06/01 02:45:10 chs Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mscp_subr.c,v 1.48 2022/04/07 19:33:38 andvar Exp $"); #include #include @@ -326,7 +326,7 @@ mscp_attach(device_t parent, device_t self, void *aux) /* * The drive is not spun up. Use it anyway. * - * N.B.: this seems to be a common occurrance + * N.B.: this seems to be a common occurrence * after a power failure. The first attempt * to bring it on line seems to spin it up * (and thus takes several minutes). Perhaps diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c index dc2a0797ee0f..78ebb6f37349 100644 --- a/sys/dev/pci/if_bge.c +++ b/sys/dev/pci/if_bge.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_bge.c,v 1.351 2022/01/22 19:01:56 martin Exp $ */ +/* $NetBSD: if_bge.c,v 1.352 2022/04/07 19:33:38 andvar Exp $ */ /* * Copyright (c) 2001 Wind River Systems @@ -79,7 +79,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.351 2022/01/22 19:01:56 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.352 2022/04/07 19:33:38 andvar Exp $"); #include #include @@ -1257,7 +1257,7 @@ bge_set_thresh(struct ifnet *ifp, int lvl) /* For now, just save the new Rx-intr thresholds and record * that a threshold update is pending. Updating the hardware * registers here (even at splhigh()) is observed to - * occasionaly cause glitches where Rx-interrupts are not + * occasionally cause glitches where Rx-interrupts are not * honoured for up to 10 seconds. jonathan@NetBSD.org, 2003-04-05 */ s = splnet(); diff --git a/sys/kern/kern_proc.c b/sys/kern/kern_proc.c index 669d33c19f8c..ee83cc87192e 100644 --- a/sys/kern/kern_proc.c +++ b/sys/kern/kern_proc.c @@ -1,4 +1,4 @@ -/* $NetBSD: kern_proc.c,v 1.265 2022/03/13 17:21:29 riastradh Exp $ */ +/* $NetBSD: kern_proc.c,v 1.266 2022/04/07 19:33:38 andvar Exp $ */ /*- * Copyright (c) 1999, 2006, 2007, 2008, 2020 The NetBSD Foundation, Inc. @@ -62,7 +62,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: kern_proc.c,v 1.265 2022/03/13 17:21:29 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kern_proc.c,v 1.266 2022/04/07 19:33:38 andvar Exp $"); #ifdef _KERNEL_OPT #include "opt_kstack.h" @@ -2153,8 +2153,9 @@ sysctl_doeproc(SYSCTLFN_ARGS) /* * Hande all the operations in one switch on the cost of * algorithm complexity is on purpose. The win splitting this - * function into several similar copies makes maintenance burden - * burden, code grow and boost is neglible in practical systems. + * function into several similar copies makes maintenance + * burden, code grow and boost is negligible in practical + * systems. */ switch (op) { case KERN_PROC_PID: diff --git a/sys/netinet/sctp_indata.c b/sys/netinet/sctp_indata.c index 09b6345bb639..6f2ce5bf9a0a 100644 --- a/sys/netinet/sctp_indata.c +++ b/sys/netinet/sctp_indata.c @@ -1,4 +1,4 @@ -/* $NetBSD: sctp_indata.c,v 1.8 2018/12/22 13:11:38 maxv Exp $ */ +/* $NetBSD: sctp_indata.c,v 1.9 2022/04/07 19:33:38 andvar Exp $ */ /* $KAME: sctp_indata.c,v 1.36 2005/03/06 16:04:17 itojun Exp $ */ /* @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sctp_indata.c,v 1.8 2018/12/22 13:11:38 maxv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sctp_indata.c,v 1.9 2022/04/07 19:33:38 andvar Exp $"); #ifdef _KERNEL_OPT #include "opt_ipsec.h" @@ -4503,7 +4503,7 @@ sctp_handle_forward_tsn(struct sctp_tcb *stcb, if (cumack_set_flag) { /* * fwd-tsn went outside my gap array - not a - * common occurance. Do the same thing we + * common occurrence. Do the same thing we * do when a cookie-echo arrives. */ asoc->highest_tsn_inside_map = new_cum_tsn - 1; diff --git a/sys/sys/audioio.h b/sys/sys/audioio.h index b70dee3f5c5b..f183023359fe 100644 --- a/sys/sys/audioio.h +++ b/sys/sys/audioio.h @@ -1,4 +1,4 @@ -/* $NetBSD: audioio.h,v 1.39 2021/08/21 11:55:25 andvar Exp $ */ +/* $NetBSD: audioio.h,v 1.40 2022/04/07 19:33:38 andvar Exp $ */ /* * Copyright (c) 1991-1993 Regents of the University of California. @@ -62,7 +62,7 @@ struct audio_prinfo { u_int samples; /* number of samples */ u_int eof; /* End Of File (zero-size writes) counter */ u_char pause; /* non-zero if paused, zero to resume */ - u_char error; /* non-zero if underflow/overflow ocurred */ + u_char error; /* non-zero if underflow/overflow occurred */ u_char waiting; /* non-zero if another process hangs in open */ u_char balance; /* stereo channel balance */ u_char cspare[2]; diff --git a/usr.bin/error/subr.c b/usr.bin/error/subr.c index b1d45b920715..43199acfc797 100644 --- a/usr.bin/error/subr.c +++ b/usr.bin/error/subr.c @@ -1,4 +1,4 @@ -/* $NetBSD: subr.c,v 1.19 2009/08/13 06:59:37 dholland Exp $ */ +/* $NetBSD: subr.c,v 1.20 2022/04/07 19:33:38 andvar Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)subr.c 8.1 (Berkeley) 6/6/93"; #endif -__RCSID("$NetBSD: subr.c,v 1.19 2009/08/13 06:59:37 dholland Exp $"); +__RCSID("$NetBSD: subr.c,v 1.20 2022/04/07 19:33:38 andvar Exp $"); #endif /* not lint */ #include @@ -111,7 +111,7 @@ position(const char *string, char ch) } /* - * clobber the first occurance of ch in string by the new character + * clobber the first occurrence of ch in string by the new character */ char * substitute(char *string, char chold, char chnew) diff --git a/usr.bin/extattr/getextattr.c b/usr.bin/extattr/getextattr.c index 7c407d4a1c2a..1915765d989d 100644 --- a/usr.bin/extattr/getextattr.c +++ b/usr.bin/extattr/getextattr.c @@ -1,4 +1,4 @@ -/* $NetBSD: getextattr.c,v 1.12 2014/06/20 15:22:01 manu Exp $ */ +/* $NetBSD: getextattr.c,v 1.13 2022/04/07 19:33:38 andvar Exp $ */ /*- * Copyright (c) 2002, 2003 Networks Associates Technology, Inc. @@ -258,7 +258,7 @@ main(int argc, char *argv[]) argc--; argv++; } else { /* - * The namespace was not valid. Perhaps it was omited. + * The namespace was not valid. Perhaps it was omitted. * Try to guess a missing namespace by using * linux layout "namespace.attribute". While * we are here, also test the Linux namespaces. diff --git a/usr.sbin/ldpd/mpls_routes.c b/usr.sbin/ldpd/mpls_routes.c index 88130428689b..b0f1f08754d1 100644 --- a/usr.sbin/ldpd/mpls_routes.c +++ b/usr.sbin/ldpd/mpls_routes.c @@ -1,4 +1,4 @@ -/* $NetBSD: mpls_routes.c,v 1.24 2016/04/04 07:37:08 ozaki-r Exp $ */ +/* $NetBSD: mpls_routes.c,v 1.25 2022/04/07 19:33:38 andvar Exp $ */ /*- * Copyright (c) 2010 The NetBSD Foundation, Inc. @@ -864,7 +864,7 @@ bind_current_routes() /* * This function is called only at startup, so use - * this ocassion to delete all MPLS routes + * this occasion to delete all MPLS routes */ if (so_dst->sa.sa_family == AF_MPLS) { delete_route(so_dst, NULL, NO_FREESO); diff --git a/usr.sbin/sysinst/arch/mac68k/md.c b/usr.sbin/sysinst/arch/mac68k/md.c index 95ad1ccf4475..9695e52eb2c3 100644 --- a/usr.sbin/sysinst/arch/mac68k/md.c +++ b/usr.sbin/sysinst/arch/mac68k/md.c @@ -1,4 +1,4 @@ -/* $NetBSD: md.c,v 1.11 2022/01/29 16:01:19 martin Exp $ */ +/* $NetBSD: md.c,v 1.12 2022/04/07 19:33:38 andvar Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -782,7 +782,7 @@ getName(part, len_name, name) } /* - * Find the first occurance of a Standard Type partition and + * Find the first occurrence of a Standard Type partition and * mark it for use along with the default mount slot. */ static int