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/d0402557710e
branches: trunk
changeset: 985051:d0402557710e
user: andvar <andvar%NetBSD.org@localhost>
date: Fri Aug 06 07:55:13 2021 +0000
description:
fix various typos in comments.
diffstat:
build.sh | 6 +++---
sys/netinet/tcp_input.c | 12 ++++++------
usr.sbin/installboot/evboards.c | 18 +++++++++---------
3 files changed, 18 insertions(+), 18 deletions(-)
diffs (155 lines):
diff -r b20234ab3913 -r d0402557710e build.sh
--- a/build.sh Fri Aug 06 05:53:50 2021 +0000
+++ b/build.sh Fri Aug 06 07:55:13 2021 +0000
@@ -1,5 +1,5 @@
#! /usr/bin/env sh
-# $NetBSD: build.sh,v 1.353 2021/06/07 17:11:16 christos Exp $
+# $NetBSD: build.sh,v 1.354 2021/08/06 07:55:13 andvar Exp $
#
# Copyright (c) 2001-2011 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -851,7 +851,7 @@
# listarch -- list valid MACHINE/MACHINE_ARCH/ALIAS values,
# optionally restricted to those where the MACHINE and/or MACHINE_ARCH
-# match specifed glob patterns.
+# match specified glob patterns.
#
listarch()
{
@@ -1965,7 +1965,7 @@
eval cat <<EOF ${makewrapout}
#! ${HOST_SH}
# Set proper variables to allow easy "make" building of a NetBSD subtree.
-# Generated from: \$NetBSD: build.sh,v 1.353 2021/06/07 17:11:16 christos Exp $
+# Generated from: \$NetBSD: build.sh,v 1.354 2021/08/06 07:55:13 andvar Exp $
# with these arguments: ${_args}
#
diff -r b20234ab3913 -r d0402557710e sys/netinet/tcp_input.c
--- a/sys/netinet/tcp_input.c Fri Aug 06 05:53:50 2021 +0000
+++ b/sys/netinet/tcp_input.c Fri Aug 06 07:55:13 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tcp_input.c,v 1.429 2021/07/31 20:29:37 andvar Exp $ */
+/* $NetBSD: tcp_input.c,v 1.430 2021/08/06 07:55:13 andvar Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -148,7 +148,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tcp_input.c,v 1.429 2021/07/31 20:29:37 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcp_input.c,v 1.430 2021/08/06 07:55:13 andvar Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -4044,7 +4044,7 @@
tp->rcv_up = sc->sc_irs + 1;
/*
- * This is what whould have happened in tcp_output() when
+ * This is what would have happened in tcp_output() when
* the SYN,ACK was sent.
*/
tp->snd_up = tp->snd_una;
@@ -4302,7 +4302,7 @@
* With the default sbmax of 256K, a scale factor
* of 3 will be chosen by this algorithm. Those who
* choose a larger sbmax should watch out
- * for the compatiblity problems mentioned above.
+ * for the compatibility problems mentioned above.
*
* RFC1323: The Window field in a SYN (i.e., a <SYN>
* or <SYN,ACK>) segment itself is never scaled.
@@ -4392,7 +4392,7 @@
return EAFNOSUPPORT;
}
- /* Worst case scanario, since we don't know the option size yet. */
+ /* Worst case scenario, since we don't know the option size yet. */
tlen = hlen + sizeof(struct tcphdr) + MAX_TCPOPTLEN;
KASSERT(max_linkhdr + tlen <= MCLBYTES);
@@ -4539,7 +4539,7 @@
/*
* Send ECN SYN-ACK setup packet.
- * Routes can be asymetric, so, even if we receive a packet
+ * Routes can be assymetric, so, even if we receive a packet
* with ECE and CWR set, we must not assume no one will block
* the ECE packet we are about to send.
*/
diff -r b20234ab3913 -r d0402557710e usr.sbin/installboot/evboards.c
--- a/usr.sbin/installboot/evboards.c Fri Aug 06 05:53:50 2021 +0000
+++ b/usr.sbin/installboot/evboards.c Fri Aug 06 07:55:13 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: evboards.c,v 1.5 2020/06/07 00:58:58 thorpej Exp $ */
+/* $NetBSD: evboards.c,v 1.6 2021/08/06 07:55:13 andvar Exp $ */
/*-
* Copyright (c) 2019 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
#include <sys/cdefs.h>
#if !defined(__lint)
-__RCSID("$NetBSD: evboards.c,v 1.5 2020/06/07 00:58:58 thorpej Exp $");
+__RCSID("$NetBSD: evboards.c,v 1.6 2021/08/06 07:55:13 andvar Exp $");
#endif /* !__lint */
#include <sys/types.h>
@@ -153,7 +153,7 @@
* /usr/pkg/share/u-boot
*
* This can be overridden with the INSTALLBOOT_UBOOT_PATHS environment
- * variable, which contains a colon-sparated list of directories, e.g.:
+ * variable, which contains a colon-separated list of directories, e.g.:
*
* /usr/pkg/share/u-boot:/home/jmcneill/hackityhack/u-boot
*
@@ -194,7 +194,7 @@
* -- At least one of these objects is required. If the
* -- board uses a single set of steps for all boot media
* -- types, then it should provide just "u-boot-install".
- * -- Otherwise, it whould provide one or more objects
+ * -- Otherwise, it would provide one or more objects
* -- with names reflecting the media type, e.g.:
* --
* -- "u-boot-install-sdmmc" (for SD cards)
@@ -321,13 +321,13 @@
* <key>file-offset</key>
* <integer>512</integer>
*
- * <!-- ...just after the MBR partition talble. -->
+ * <!-- ...just after the MBR partition table. -->
* <key>image-offset</key>
* <integer>512</integer>
* </dict>
* </array>
*
- * There are some addditional directives for installing on raw flash devices:
+ * There are some additional directives for installing on raw flash devices:
*
* <key>u-boot-install-spi</key>
* <array>
@@ -348,9 +348,9 @@
* <integer>2048</integer>
*
* <!-- Key: "input-pad-size".
- * -- Value: an integer specifing the amount of
+ * -- Value: an integer specifying the amount of
* -- zero padding inserted per input block.
- * -- Must be used in cojunction with
+ * -- Must be used in conjunction with
* -- "input-block-size".
* -- (optional)
* -->
@@ -873,7 +873,7 @@
fts_close(fts);
/*
- * If the user specifed a stage1 loader, then consult it last
+ * If the user specified a stage1 loader, then consult it last
* for a possible u-boot package location.
*/
if (params->stage1 != NULL) {
Home |
Main Index |
Thread Index |
Old Index