Module Name: src
Committed By: andvar
Date: Thu Apr 7 19:33:39 UTC 2022
Modified Files:
src/sbin/ping: ping.c
src/sbin/routed: main.c
src/sys/arch/amiga/dev: siop.c siopvar.h
src/sys/arch/atari/dev: ncr5380.c
src/sys/arch/mac68k/dev: ncr5380.c
src/sys/arch/shark/isa: clock.c
src/sys/dev/hdaudio: hdaudio.c
src/sys/dev/ic: aic79xx.c
src/sys/dev/mscp: mscp_subr.c
src/sys/dev/pci: if_bge.c
src/sys/kern: kern_proc.c
src/sys/netinet: sctp_indata.c
src/sys/sys: audioio.h
src/usr.bin/error: subr.c
src/usr.bin/extattr: getextattr.c
src/usr.sbin/ldpd: mpls_routes.c
src/usr.sbin/sysinst/arch/mac68k: md.c
Log Message:
fix various typos in comments.
To generate a diff of this commit:
cvs rdiff -u -r1.118 -r1.119 src/sbin/ping/ping.c
cvs rdiff -u -r1.42 -r1.43 src/sbin/routed/main.c
cvs rdiff -u -r1.70 -r1.71 src/sys/arch/amiga/dev/siop.c
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/amiga/dev/siopvar.h
cvs rdiff -u -r1.76 -r1.77 src/sys/arch/atari/dev/ncr5380.c
cvs rdiff -u -r1.70 -r1.71 src/sys/arch/mac68k/dev/ncr5380.c
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/shark/isa/clock.c
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/hdaudio/hdaudio.c
cvs rdiff -u -r1.64 -r1.65 src/sys/dev/ic/aic79xx.c
cvs rdiff -u -r1.47 -r1.48 src/sys/dev/mscp/mscp_subr.c
cvs rdiff -u -r1.351 -r1.352 src/sys/dev/pci/if_bge.c
cvs rdiff -u -r1.265 -r1.266 src/sys/kern/kern_proc.c
cvs rdiff -u -r1.8 -r1.9 src/sys/netinet/sctp_indata.c
cvs rdiff -u -r1.39 -r1.40 src/sys/sys/audioio.h
cvs rdiff -u -r1.19 -r1.20 src/usr.bin/error/subr.c
cvs rdiff -u -r1.12 -r1.13 src/usr.bin/extattr/getextattr.c
cvs rdiff -u -r1.24 -r1.25 src/usr.sbin/ldpd/mpls_routes.c
cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/sysinst/arch/mac68k/md.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/ping/ping.c
diff -u src/sbin/ping/ping.c:1.118 src/sbin/ping/ping.c:1.119
--- src/sbin/ping/ping.c:1.118 Fri Jun 11 18:47:56 2021
+++ src/sbin/ping/ping.c Thu Apr 7 19:33:37 2022
@@ -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 <sys/cdefs.h>
#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 <stdio.h>
@@ -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))
Index: src/sbin/routed/main.c
diff -u src/sbin/routed/main.c:1.42 src/sbin/routed/main.c:1.43
--- src/sbin/routed/main.c:1.42 Mon Oct 2 11:02:19 2017
+++ src/sbin/routed/main.c Thu Apr 7 19:33:37 2022
@@ -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);
Index: src/sys/arch/amiga/dev/siop.c
diff -u src/sys/arch/amiga/dev/siop.c:1.70 src/sys/arch/amiga/dev/siop.c:1.71
--- src/sys/arch/amiga/dev/siop.c:1.70 Sun Nov 10 21:16:22 2019
+++ src/sys/arch/amiga/dev/siop.c Thu Apr 7 19:33:37 2022
@@ -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 <sys/cdefs.h>
-__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 <sys/param.h>
#include <sys/systm.h>
@@ -780,7 +780,7 @@ siop_start(struct siop_softc *sc, int ta
/*
* 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]) {
Index: src/sys/arch/amiga/dev/siopvar.h
diff -u src/sys/arch/amiga/dev/siopvar.h:1.28 src/sys/arch/amiga/dev/siopvar.h:1.29
--- src/sys/arch/amiga/dev/siopvar.h:1.28 Sat Jan 1 21:07:13 2022
+++ src/sys/arch/amiga/dev/siopvar.h Thu Apr 7 19:33:37 2022
@@ -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
Index: src/sys/arch/atari/dev/ncr5380.c
diff -u src/sys/arch/atari/dev/ncr5380.c:1.76 src/sys/arch/atari/dev/ncr5380.c:1.77
--- src/sys/arch/atari/dev/ncr5380.c:1.76 Sat Aug 7 16:18:46 2021
+++ src/sys/arch/atari/dev/ncr5380.c Thu Apr 7 19:33:37 2022
@@ -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 <sys/cdefs.h>
-__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;
Index: src/sys/arch/mac68k/dev/ncr5380.c
diff -u src/sys/arch/mac68k/dev/ncr5380.c:1.70 src/sys/arch/mac68k/dev/ncr5380.c:1.71
--- src/sys/arch/mac68k/dev/ncr5380.c:1.70 Sat Aug 7 16:18:57 2021
+++ src/sys/arch/mac68k/dev/ncr5380.c Thu Apr 7 19:33:37 2022
@@ -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 <sys/cdefs.h>
-__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);
Index: src/sys/arch/shark/isa/clock.c
diff -u src/sys/arch/shark/isa/clock.c:1.18 src/sys/arch/shark/isa/clock.c:1.19
--- src/sys/arch/shark/isa/clock.c:1.18 Mon Sep 3 16:29:27 2018
+++ src/sys/arch/shark/isa/clock.c Thu Apr 7 19:33:37 2022
@@ -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 SOFT
*/
#include <sys/cdefs.h>
-__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 <sys/param.h>
#include <sys/systm.h>
@@ -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
Index: src/sys/dev/hdaudio/hdaudio.c
diff -u src/sys/dev/hdaudio/hdaudio.c:1.17 src/sys/dev/hdaudio/hdaudio.c:1.18
--- src/sys/dev/hdaudio/hdaudio.c:1.17 Mon Mar 28 12:33:21 2022
+++ src/sys/dev/hdaudio/hdaudio.c Thu Apr 7 19:33:37 2022
@@ -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 <[email protected]>
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__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 <sys/types.h>
#include <sys/param.h>
@@ -1079,7 +1079,7 @@ hdaudio_stream_disestablish(struct hdaud
}
/*
- * 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.
*
Index: src/sys/dev/ic/aic79xx.c
diff -u src/sys/dev/ic/aic79xx.c:1.64 src/sys/dev/ic/aic79xx.c:1.65
--- src/sys/dev/ic/aic79xx.c:1.64 Tue Mar 8 20:45:56 2022
+++ src/sys/dev/ic/aic79xx.c Thu Apr 7 19:33:37 2022
@@ -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 <sys/cdefs.h>
-__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 <dev/ic/aic79xx_osm.h>
#include <dev/ic/aic79xx_inline.h>
@@ -2579,7 +2579,7 @@ ahd_clear_critical_section(struct ahd_so
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.
Index: src/sys/dev/mscp/mscp_subr.c
diff -u src/sys/dev/mscp/mscp_subr.c:1.47 src/sys/dev/mscp/mscp_subr.c:1.48
--- src/sys/dev/mscp/mscp_subr.c:1.47 Thu Jun 1 02:45:10 2017
+++ src/sys/dev/mscp/mscp_subr.c Thu Apr 7 19:33:38 2022
@@ -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 <sys/cdefs.h>
-__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 <sys/param.h>
#include <sys/device.h>
@@ -326,7 +326,7 @@ mscp_attach(device_t parent, device_t se
/*
* 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
Index: src/sys/dev/pci/if_bge.c
diff -u src/sys/dev/pci/if_bge.c:1.351 src/sys/dev/pci/if_bge.c:1.352
--- src/sys/dev/pci/if_bge.c:1.351 Sat Jan 22 19:01:56 2022
+++ src/sys/dev/pci/if_bge.c Thu Apr 7 19:33:38 2022
@@ -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 <sys/cdefs.h>
-__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 <sys/param.h>
#include <sys/systm.h>
@@ -1257,7 +1257,7 @@ bge_set_thresh(struct ifnet *ifp, int lv
/* 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. [email protected], 2003-04-05
*/
s = splnet();
Index: src/sys/kern/kern_proc.c
diff -u src/sys/kern/kern_proc.c:1.265 src/sys/kern/kern_proc.c:1.266
--- src/sys/kern/kern_proc.c:1.265 Sun Mar 13 17:21:29 2022
+++ src/sys/kern/kern_proc.c Thu Apr 7 19:33:38 2022
@@ -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 <sys/cdefs.h>
-__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:
Index: src/sys/netinet/sctp_indata.c
diff -u src/sys/netinet/sctp_indata.c:1.8 src/sys/netinet/sctp_indata.c:1.9
--- src/sys/netinet/sctp_indata.c:1.8 Sat Dec 22 13:11:38 2018
+++ src/sys/netinet/sctp_indata.c Thu Apr 7 19:33:38 2022
@@ -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 <sys/cdefs.h>
-__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
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;
Index: src/sys/sys/audioio.h
diff -u src/sys/sys/audioio.h:1.39 src/sys/sys/audioio.h:1.40
--- src/sys/sys/audioio.h:1.39 Sat Aug 21 11:55:25 2021
+++ src/sys/sys/audioio.h Thu Apr 7 19:33:38 2022
@@ -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];
Index: src/usr.bin/error/subr.c
diff -u src/usr.bin/error/subr.c:1.19 src/usr.bin/error/subr.c:1.20
--- src/usr.bin/error/subr.c:1.19 Thu Aug 13 06:59:37 2009
+++ src/usr.bin/error/subr.c Thu Apr 7 19:33:38 2022
@@ -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 <ctype.h>
@@ -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)
Index: src/usr.bin/extattr/getextattr.c
diff -u src/usr.bin/extattr/getextattr.c:1.12 src/usr.bin/extattr/getextattr.c:1.13
--- src/usr.bin/extattr/getextattr.c:1.12 Fri Jun 20 15:22:01 2014
+++ src/usr.bin/extattr/getextattr.c Thu Apr 7 19:33:38 2022
@@ -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.
Index: src/usr.sbin/ldpd/mpls_routes.c
diff -u src/usr.sbin/ldpd/mpls_routes.c:1.24 src/usr.sbin/ldpd/mpls_routes.c:1.25
--- src/usr.sbin/ldpd/mpls_routes.c:1.24 Mon Apr 4 07:37:08 2016
+++ src/usr.sbin/ldpd/mpls_routes.c Thu Apr 7 19:33:38 2022
@@ -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);
Index: src/usr.sbin/sysinst/arch/mac68k/md.c
diff -u src/usr.sbin/sysinst/arch/mac68k/md.c:1.11 src/usr.sbin/sysinst/arch/mac68k/md.c:1.12
--- src/usr.sbin/sysinst/arch/mac68k/md.c:1.11 Sat Jan 29 16:01:19 2022
+++ src/usr.sbin/sysinst/arch/mac68k/md.c Thu Apr 7 19:33:38 2022
@@ -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