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.
details: https://anonhg.NetBSD.org/src/rev/b86ddfb19a9c
branches: trunk
changeset: 364705:b86ddfb19a9c
user: andvar <andvar%NetBSD.org@localhost>
date: Thu Apr 07 19:33:37 2022 +0000
description:
fix various typos in comments.
diffstat:
sbin/ping/ping.c | 6 +++---
sbin/routed/main.c | 6 +++---
sys/arch/amiga/dev/siop.c | 6 +++---
sys/arch/amiga/dev/siopvar.h | 6 +++---
sys/arch/atari/dev/ncr5380.c | 6 +++---
sys/arch/mac68k/dev/ncr5380.c | 6 +++---
sys/arch/shark/isa/clock.c | 6 +++---
sys/dev/hdaudio/hdaudio.c | 6 +++---
sys/dev/ic/aic79xx.c | 6 +++---
sys/dev/mscp/mscp_subr.c | 6 +++---
sys/dev/pci/if_bge.c | 6 +++---
sys/kern/kern_proc.c | 9 +++++----
sys/netinet/sctp_indata.c | 6 +++---
sys/sys/audioio.h | 4 ++--
usr.bin/error/subr.c | 6 +++---
usr.bin/extattr/getextattr.c | 4 ++--
usr.sbin/ldpd/mpls_routes.c | 4 ++--
usr.sbin/sysinst/arch/mac68k/md.c | 4 ++--
18 files changed, 52 insertions(+), 51 deletions(-)
diffs (truncated from 448 to 300 lines):
diff -r 2ac3ed713f97 -r b86ddfb19a9c sbin/ping/ping.c
--- a/sbin/ping/ping.c Thu Apr 07 17:35:31 2022 +0000
+++ b/sbin/ping/ping.c Thu Apr 07 19:33:37 2022 +0000
@@ -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_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 -r 2ac3ed713f97 -r b86ddfb19a9c sbin/routed/main.c
--- a/sbin/routed/main.c Thu Apr 07 17:35:31 2022 +0000
+++ b/sbin/routed/main.c Thu Apr 07 19:33:37 2022 +0000
@@ -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 @@
continue;
}
- /* Check the kernel table occassionally for mysteriously
+ /* Check the kernel table occasionally for mysteriously
* evaporated routes
*/
timevalsub(&t2, &flush_kern_timer, &now);
diff -r 2ac3ed713f97 -r b86ddfb19a9c sys/arch/amiga/dev/siop.c
--- a/sys/arch/amiga/dev/siop.c Thu Apr 07 17:35:31 2022 +0000
+++ b/sys/arch/amiga/dev/siop.c Thu Apr 07 19:33:37 2022 +0000
@@ -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 @@
/*
* 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 -r 2ac3ed713f97 -r b86ddfb19a9c sys/arch/amiga/dev/siopvar.h
--- a/sys/arch/amiga/dev/siopvar.h Thu Apr 07 17:35:31 2022 +0000
+++ b/sys/arch/amiga/dev/siopvar.h Thu Apr 07 19:33:37 2022 +0000
@@ -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 @@
/* 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 -r 2ac3ed713f97 -r b86ddfb19a9c sys/arch/atari/dev/ncr5380.c
--- a/sys/arch/atari/dev/ncr5380.c Thu Apr 07 17:35:31 2022 +0000
+++ b/sys/arch/atari/dev/ncr5380.c Thu Apr 07 19:33:37 2022 +0000
@@ -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 @@
}
/*
- * 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 -r 2ac3ed713f97 -r b86ddfb19a9c sys/arch/mac68k/dev/ncr5380.c
--- a/sys/arch/mac68k/dev/ncr5380.c Thu Apr 07 17:35:31 2022 +0000
+++ b/sys/arch/mac68k/dev/ncr5380.c Thu Apr 07 19:33:37 2022 +0000
@@ -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 @@
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 -r 2ac3ed713f97 -r b86ddfb19a9c sys/arch/shark/isa/clock.c
--- a/sys/arch/shark/isa/clock.c Thu Apr 07 17:35:31 2022 +0000
+++ b/sys/arch/shark/isa/clock.c Thu Apr 07 19:33:37 2022 +0000
@@ -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 @@
*/
#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 @@
/* 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 -r 2ac3ed713f97 -r b86ddfb19a9c sys/dev/hdaudio/hdaudio.c
--- a/sys/dev/hdaudio/hdaudio.c Thu Apr 07 17:35:31 2022 +0000
+++ b/sys/dev/hdaudio/hdaudio.c Thu Apr 07 19:33:37 2022 +0000
@@ -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 <support%precedence.co.uk@localhost>
@@ -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 @@
}
/*
- * 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 -r 2ac3ed713f97 -r b86ddfb19a9c sys/dev/ic/aic79xx.c
--- a/sys/dev/ic/aic79xx.c Thu Apr 07 17:35:31 2022 +0000
+++ b/sys/dev/ic/aic79xx.c Thu Apr 07 19:33:37 2022 +0000
@@ -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_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 -r 2ac3ed713f97 -r b86ddfb19a9c sys/dev/mscp/mscp_subr.c
--- a/sys/dev/mscp/mscp_subr.c Thu Apr 07 17:35:31 2022 +0000
+++ b/sys/dev/mscp/mscp_subr.c Thu Apr 07 19:33:37 2022 +0000
@@ -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 @@
/*
* 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 -r 2ac3ed713f97 -r b86ddfb19a9c sys/dev/pci/if_bge.c
--- a/sys/dev/pci/if_bge.c Thu Apr 07 17:35:31 2022 +0000
+++ b/sys/dev/pci/if_bge.c Thu Apr 07 19:33:37 2022 +0000
@@ -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 @@
/* 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@localhost, 2003-04-05
*/
s = splnet();
diff -r 2ac3ed713f97 -r b86ddfb19a9c sys/kern/kern_proc.c
--- a/sys/kern/kern_proc.c Thu Apr 07 17:35:31 2022 +0000
+++ b/sys/kern/kern_proc.c Thu Apr 07 19:33:37 2022 +0000
@@ -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 $ */
/*-
Home |
Main Index |
Thread Index |
Old Index