Module Name:    src
Committed By:   andvar
Date:           Fri Aug  6 07:55:13 UTC 2021

Modified Files:
        src: build.sh
        src/sys/netinet: tcp_input.c
        src/usr.sbin/installboot: evboards.c

Log Message:
fix various typos in comments.


To generate a diff of this commit:
cvs rdiff -u -r1.353 -r1.354 src/build.sh
cvs rdiff -u -r1.429 -r1.430 src/sys/netinet/tcp_input.c
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/installboot/evboards.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/build.sh
diff -u src/build.sh:1.353 src/build.sh:1.354
--- src/build.sh:1.353	Mon Jun  7 17:11:16 2021
+++ src/build.sh	Fri Aug  6 07:55:13 2021
@@ -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 @@ validatearch()
 
 # 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 @@ createmakewrapper()
 	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}
 #
 

Index: src/sys/netinet/tcp_input.c
diff -u src/sys/netinet/tcp_input.c:1.429 src/sys/netinet/tcp_input.c:1.430
--- src/sys/netinet/tcp_input.c:1.429	Sat Jul 31 20:29:37 2021
+++ src/sys/netinet/tcp_input.c	Fri Aug  6 07:55:13 2021
@@ -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 @@ syn_cache_get(struct sockaddr *src, stru
 	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 @@ syn_cache_add(struct sockaddr *src, stru
 		 * 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 @@ syn_cache_respond(struct syn_cache *sc)
 		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 @@ syn_cache_respond(struct syn_cache *sc)
 
 	/*
 	 * 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.
 	 */

Index: src/usr.sbin/installboot/evboards.c
diff -u src/usr.sbin/installboot/evboards.c:1.5 src/usr.sbin/installboot/evboards.c:1.6
--- src/usr.sbin/installboot/evboards.c:1.5	Sun Jun  7 00:58:58 2020
+++ src/usr.sbin/installboot/evboards.c	Fri Aug  6 07:55:13 2021
@@ -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 @@ __RCSID("$NetBSD: evboards.c,v 1.5 2020/
  *	/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 @@ __RCSID("$NetBSD: evboards.c,v 1.5 2020/
  *		  -- 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 @@ __RCSID("$NetBSD: evboards.c,v 1.5 2020/
  *			<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 @@ __RCSID("$NetBSD: evboards.c,v 1.5 2020/
  *			<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 @@ evb_db_load_overlays(ib_params *params)
 	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) {

Reply via email to