fix typos in comments and log messages, mainly in establish(ed).

This commit is contained in:
andvar 2021-12-04 13:23:03 +00:00
parent dab59e4bc1
commit 4dbe3593b9
5 changed files with 21 additions and 21 deletions

View File

@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: sii_ds.c,v 1.10 2015/06/09 20:23:53 matt Exp $");
#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>

View File

@ -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 @@ timerattach_obio_4m(device_t parent, device_t self, void *aux)
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;

View File

@ -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 @@ vdsk_attach(device_t parent, device_t self, void *aux)
/*
* 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 @@ vdsk_attach(device_t parent, device_t self, void *aux)
/*
* 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 @@ vdsk_attach(device_t parent, device_t self, void *aux)
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;
}

View File

@ -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 @@ hci_acl_open(struct hci_unit *unit, bdaddr_t *bdaddr)
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 @@ hci_acl_linkmode(struct hci_link *link)
/*
* 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);

View File

@ -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 @@ dccp_notify(struct inpcb *inp, int errno)
}
/*
* 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 @@ dccp_output(struct dccpcb *dp, u_int8_t extra)
}
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 @@ dccp_attach(struct socket *so, int proto)
#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 @@ dccp_connect(struct socket *so, struct sockaddr *nam, struct lwp *l)
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 @@ dccp_disconnect(struct socket *so)
}
/*
* 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.
*/