Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet fix typos in comments and log messages, mainly i...
details: https://anonhg.NetBSD.org/src/rev/d0cd307089ef
branches: trunk
changeset: 1026652:d0cd307089ef
user: andvar <andvar%NetBSD.org@localhost>
date: Sat Dec 04 13:23:03 2021 +0000
description:
fix typos in comments and log messages, mainly in establish(ed).
diffstat:
sys/arch/pmax/ibus/sii_ds.c | 6 +++---
sys/arch/sparc/sparc/timer_sun4m.c | 6 +++---
sys/arch/sparc64/dev/vdsk.c | 8 ++++----
sys/netbt/hci_link.c | 8 ++++----
sys/netinet/dccp_usrreq.c | 14 +++++++-------
5 files changed, 21 insertions(+), 21 deletions(-)
diffs (190 lines):
diff -r 8823574cbbfa -r d0cd307089ef sys/arch/pmax/ibus/sii_ds.c
--- a/sys/arch/pmax/ibus/sii_ds.c Sat Dec 04 08:53:34 2021 +0000
+++ b/sys/arch/pmax/ibus/sii_ds.c Sat Dec 04 13:23:03 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sii_ds.c,v 1.10 2015/06/09 20:23:53 matt Exp $ */
+/* $NetBSD: sii_ds.c,v 1.11 2021/12/04 13:23:03 andvar Exp $ */
/*
* Copyright 1996 The Board of Trustees of The Leland Stanford
@@ -16,7 +16,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sii_ds.c,v 1.10 2015/06/09 20:23:53 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sii_ds.c,v 1.11 2021/12/04 13:23:03 andvar Exp $");
#include "sii.h"
@@ -38,7 +38,7 @@
#include <pmax/ibus/siireg.h>
#include <pmax/ibus/siivar.h>
-#include <pmax/ibus/ibusvar.h> /* interrupt etablish */
+#include <pmax/ibus/ibusvar.h> /* interrupt establish */
#include <pmax/pmax/kn01.h> /* kn01 (ds3100) address constants */
#include <pmax/pmax/pmaxtype.h>
diff -r 8823574cbbfa -r d0cd307089ef sys/arch/sparc/sparc/timer_sun4m.c
--- a/sys/arch/sparc/sparc/timer_sun4m.c Sat Dec 04 08:53:34 2021 +0000
+++ b/sys/arch/sparc/sparc/timer_sun4m.c Sat Dec 04 13:23:03 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: timer_sun4m.c,v 1.31 2018/01/12 06:01:33 mrg Exp $ */
+/* $NetBSD: timer_sun4m.c,v 1.32 2021/12/04 13:23:03 andvar Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: timer_sun4m.c,v 1.31 2018/01/12 06:01:33 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: timer_sun4m.c,v 1.32 2021/12/04 13:23:03 andvar Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -290,7 +290,7 @@
if (sparc_ncpus > 1) {
/*
* Note that we don't actually use this cookie after checking
- * it was establised, we call directly via raise_ipi() on
+ * it was established, we call directly via raise_ipi() on
* IPL_HARDCLOCK.
*/
void *hardclock_cookie;
diff -r 8823574cbbfa -r d0cd307089ef sys/arch/sparc64/dev/vdsk.c
--- a/sys/arch/sparc64/dev/vdsk.c Sat Dec 04 08:53:34 2021 +0000
+++ b/sys/arch/sparc64/dev/vdsk.c Sat Dec 04 13:23:03 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vdsk.c,v 1.8 2021/08/07 16:19:05 thorpej Exp $ */
+/* $NetBSD: vdsk.c,v 1.9 2021/12/04 13:23:03 andvar Exp $ */
/* $OpenBSD: vdsk.c,v 1.46 2015/01/25 21:42:13 kettenis Exp $ */
/*
* Copyright (c) 2009, 2011 Mark Kettenis
@@ -251,7 +251,7 @@
/*
* Un-configure queues before registering interrupt handlers,
- * such that we dont get any stale LDC packets or events.
+ * such that we don't get any stale LDC packets or events.
*/
hv_ldc_tx_qconf(ca->ca_id, 0, 0);
hv_ldc_rx_qconf(ca->ca_id, 0, 0);
@@ -357,7 +357,7 @@
/*
* Interrupts aren't enabled during autoconf, so poll for VIO
- * peer-to-peer hanshake completion.
+ * peer-to-peer handshake completion.
*/
s = splbio();
timeout = 10 * 1000;
@@ -370,7 +370,7 @@
splx(s);
if (sc->sc_vio_state != VIO_ESTABLISHED) {
- printf("vio not establshed: %d\n", sc->sc_vio_state);
+ printf("vio not established: %d\n", sc->sc_vio_state);
return;
}
diff -r 8823574cbbfa -r d0cd307089ef sys/netbt/hci_link.c
--- a/sys/netbt/hci_link.c Sat Dec 04 08:53:34 2021 +0000
+++ b/sys/netbt/hci_link.c Sat Dec 04 13:23:03 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hci_link.c,v 1.25 2018/09/07 14:47:15 plunky Exp $ */
+/* $NetBSD: hci_link.c,v 1.26 2021/12/04 13:23:04 andvar Exp $ */
/*-
* Copyright (c) 2005 Iain Hibbert.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hci_link.c,v 1.25 2018/09/07 14:47:15 plunky Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hci_link.c,v 1.26 2021/12/04 13:23:04 andvar Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -123,7 +123,7 @@
case HCI_LINK_OPEN:
/*
- * If already open, halt any expiry timeouts. We dont need
+ * If already open, halt any expiry timeouts. We don't need
* to care about already invoking timeouts since refcnt >0
* will keep the link alive.
*/
@@ -352,7 +352,7 @@
/*
* The link state will only be OPEN here if the mode change
* was successful. So, we can proceed with L2CAP connections,
- * or notify already establshed channels, to allow any that
+ * or notify already established channels, to allow any that
* are dissatisfied to disconnect before we restart.
*/
next = LIST_FIRST(&l2cap_active_list);
diff -r 8823574cbbfa -r d0cd307089ef sys/netinet/dccp_usrreq.c
--- a/sys/netinet/dccp_usrreq.c Sat Dec 04 08:53:34 2021 +0000
+++ b/sys/netinet/dccp_usrreq.c Sat Dec 04 13:23:03 2021 +0000
@@ -1,5 +1,5 @@
/* $KAME: dccp_usrreq.c,v 1.67 2005/11/03 16:05:04 nishida Exp $ */
-/* $NetBSD: dccp_usrreq.c,v 1.21 2018/12/16 17:46:58 christos Exp $ */
+/* $NetBSD: dccp_usrreq.c,v 1.22 2021/12/04 13:23:04 andvar Exp $ */
/*
* Copyright (c) 2003 Joacim Häggmark, Magnus Erixzon, Nils-Erik Mattsson
@@ -67,7 +67,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dccp_usrreq.c,v 1.21 2018/12/16 17:46:58 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dccp_usrreq.c,v 1.22 2021/12/04 13:23:04 andvar Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -967,7 +967,7 @@
}
/*
- * Called when we get ICMP errors (destination unrechable,
+ * Called when we get ICMP errors (destination unreachable,
* parameter problem, source quench, time exceeded and redirects)
*/
void *
@@ -1231,7 +1231,7 @@
}
if (dp->state != DCCPS_ESTAB && extra == 1) {
- /* Only let cc decide when to resend if we are in establised state */
+ /* Only let cc decide when to resend if we are in established state */
return 0;
}
@@ -1792,7 +1792,7 @@
#ifdef INET6
if (proto == PF_INET6) {
- DCCP_DEBUG((LOG_INFO, "We are a ipv6 socket!!!\n"));
+ DCCP_DEBUG((LOG_INFO, "We are an ipv6 socket!!!\n"));
dp->inp_vflag |= INP_IPV6;
} else
#endif
@@ -1868,7 +1868,7 @@
dp = (struct dccpcb *)inp->inp_ppcb;
if (dp->state == DCCPS_ESTAB) {
- DCCP_DEBUG((LOG_INFO, "Why are we in connect when we already have a established connection?\n"));
+ DCCP_DEBUG((LOG_INFO, "Why are we in connect when we already have an established connection?\n"));
}
dp->who = DCCP_CLIENT;
@@ -2067,7 +2067,7 @@
}
/*
- * If we have don't have a established connection
+ * If we have don't have an established connection
* we can call dccp_close, otherwise we can just
* set SS_ISDISCONNECTED and flush the receive queue.
*/
Home |
Main Index |
Thread Index |
Old Index