Module Name: src
Committed By: andvar
Date: Sun May 29 10:47:40 UTC 2022
Modified Files:
src/compat: Makefile
src/sys/arch/acorn32/eb7500atx: if_cs.c
src/sys/arch/sparc/include: pte.h
src/sys/kern: subr_blist.c subr_pool.c
src/sys/netinet: sctp_usrreq.c
src/tests/lib/libc/misc: Makefile
src/usr.sbin/postinstall: postinstall.in
Log Message:
fix various typos in comments and log messages.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/compat/Makefile
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/acorn32/eb7500atx/if_cs.c
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/sparc/include/pte.h
cvs rdiff -u -r1.13 -r1.14 src/sys/kern/subr_blist.c
cvs rdiff -u -r1.283 -r1.284 src/sys/kern/subr_pool.c
cvs rdiff -u -r1.20 -r1.21 src/sys/netinet/sctp_usrreq.c
cvs rdiff -u -r1.7 -r1.8 src/tests/lib/libc/misc/Makefile
cvs rdiff -u -r1.50 -r1.51 src/usr.sbin/postinstall/postinstall.in
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/compat/Makefile
diff -u src/compat/Makefile:1.6 src/compat/Makefile:1.7
--- src/compat/Makefile:1.6 Fri Aug 17 16:22:27 2012
+++ src/compat/Makefile Sun May 29 10:47:39 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2012/08/17 16:22:27 joerg Exp $
+# $NetBSD: Makefile,v 1.7 2022/05/29 10:47:39 andvar Exp $
-# Build multi-abi libaries
+# Build multi-abi libraries
.include <bsd.own.mk>
Index: src/sys/arch/acorn32/eb7500atx/if_cs.c
diff -u src/sys/arch/acorn32/eb7500atx/if_cs.c:1.12 src/sys/arch/acorn32/eb7500atx/if_cs.c:1.13
--- src/sys/arch/acorn32/eb7500atx/if_cs.c:1.12 Thu Apr 25 10:44:53 2019
+++ src/sys/arch/acorn32/eb7500atx/if_cs.c Sun May 29 10:47:39 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: if_cs.c,v 1.12 2019/04/25 10:44:53 msaitoh Exp $ */
+/* $NetBSD: if_cs.c,v 1.13 2022/05/29 10:47:39 andvar Exp $ */
/*
* Copyright (c) 2004 Christopher Gilbert
@@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_cs.c,v 1.12 2019/04/25 10:44:53 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_cs.c,v 1.13 2022/05/29 10:47:39 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -94,7 +94,7 @@ __KERNEL_RCSID(0, "$NetBSD: if_cs.c,v 1.
* This only effects the value programmed into the CS8920 memory offset
* registers.
*
- * Just to add to the fun the I/O registers are layed out as:
+ * Just to add to the fun the I/O registers are laid out as:
* xxxxR1R0
* xxxxR3R2
* xxxxR5R4
Index: src/sys/arch/sparc/include/pte.h
diff -u src/sys/arch/sparc/include/pte.h:1.32 src/sys/arch/sparc/include/pte.h:1.33
--- src/sys/arch/sparc/include/pte.h:1.32 Fri Dec 1 23:14:20 2017
+++ src/sys/arch/sparc/include/pte.h Sun May 29 10:47:39 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: pte.h,v 1.32 2017/12/01 23:14:20 mrg Exp $ */
+/* $NetBSD: pte.h,v 1.33 2022/05/29 10:47:39 andvar Exp $ */
/*
* Copyright (c) 1996
@@ -147,7 +147,7 @@ typedef u_char smeg_t; /* 8 bits needed
*
* (the above being in the hardware, accessed as Alternate Address Spaces on
* all machines but the Sun4m SRMMU, in which case the tables are in physical
- * kernel memory. In the 4m architecture, the tables are not layed out as
+ * kernel memory. In the 4m architecture, the tables are not laid out as
* 2-dim arrays, but are sparsely allocated as needed, and point to each
* other.)
*
Index: src/sys/kern/subr_blist.c
diff -u src/sys/kern/subr_blist.c:1.13 src/sys/kern/subr_blist.c:1.14
--- src/sys/kern/subr_blist.c:1.13 Mon Feb 13 16:53:41 2017
+++ src/sys/kern/subr_blist.c Sun May 29 10:47:40 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_blist.c,v 1.13 2017/02/13 16:53:41 zafer Exp $ */
+/* $NetBSD: subr_blist.c,v 1.14 2022/05/29 10:47:40 andvar Exp $ */
/*-
* Copyright (c) 1998 Matthew Dillon. All Rights Reserved.
@@ -63,8 +63,8 @@
* due to swap interleaving not all that much less), but the blist code
* scales much, much better.
*
- * LAYOUT: The radix tree is layed out recursively using a
- * linear array. Each meta node is immediately followed (layed out
+ * LAYOUT: The radix tree is laid out recursively using a
+ * linear array. Each meta node is immediately followed (laid out
* sequentially in memory) by BLIST_META_RADIX lower level nodes. This
* is a recursive structure but one that can be easily scanned through
* a very simple 'skip' calculation. In order to support large radixes,
@@ -86,7 +86,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_blist.c,v 1.13 2017/02/13 16:53:41 zafer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_blist.c,v 1.14 2022/05/29 10:47:40 andvar Exp $");
#if 0
__FBSDID("$FreeBSD: src/sys/kern/subr_blist.c,v 1.17 2004/06/04 04:03:25 alc Exp $");
#endif
Index: src/sys/kern/subr_pool.c
diff -u src/sys/kern/subr_pool.c:1.283 src/sys/kern/subr_pool.c:1.284
--- src/sys/kern/subr_pool.c:1.283 Tue May 24 06:28:01 2022
+++ src/sys/kern/subr_pool.c Sun May 29 10:47:40 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_pool.c,v 1.283 2022/05/24 06:28:01 andvar Exp $ */
+/* $NetBSD: subr_pool.c,v 1.284 2022/05/29 10:47:40 andvar Exp $ */
/*
* Copyright (c) 1997, 1999, 2000, 2002, 2007, 2008, 2010, 2014, 2015, 2018,
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.283 2022/05/24 06:28:01 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.284 2022/05/29 10:47:40 andvar Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddb.h"
@@ -353,7 +353,7 @@ struct pool_item {
* cache is drained, the most idle cache group is freed to the pool in
* its entirety.
*
- * Pool caches are layed on top of pools. By layering them, we can avoid
+ * Pool caches are laid on top of pools. By layering them, we can avoid
* the complexity of cache management for pools which would not benefit
* from it.
*/
Index: src/sys/netinet/sctp_usrreq.c
diff -u src/sys/netinet/sctp_usrreq.c:1.20 src/sys/netinet/sctp_usrreq.c:1.21
--- src/sys/netinet/sctp_usrreq.c:1.20 Mon Apr 27 19:21:43 2020
+++ src/sys/netinet/sctp_usrreq.c Sun May 29 10:47:40 2022
@@ -1,5 +1,5 @@
/* $KAME: sctp_usrreq.c,v 1.50 2005/06/16 20:45:29 jinmei Exp $ */
-/* $NetBSD: sctp_usrreq.c,v 1.20 2020/04/27 19:21:43 rjs Exp $ */
+/* $NetBSD: sctp_usrreq.c,v 1.21 2022/05/29 10:47:40 andvar Exp $ */
/*
* Copyright (c) 2001, 2002, 2003, 2004 Cisco Systems, Inc.
@@ -33,7 +33,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sctp_usrreq.c,v 1.20 2020/04/27 19:21:43 rjs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sctp_usrreq.c,v 1.21 2022/05/29 10:47:40 andvar Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -2017,7 +2017,7 @@ sctp_optsget(struct socket *so, struct s
SCTP_INP_RLOCK(inp);
#ifdef SCTP_DEBUG
if (sctp_debug_on & SCTP_DEBUG_USRREQ1) {
- printf("In EP levle info\n");
+ printf("In EP level info\n");
}
#endif /* SCTP_DEBUG */
paddrp->spp_pathmaxrxt = inp->sctp_ep.def_net_failure;
Index: src/tests/lib/libc/misc/Makefile
diff -u src/tests/lib/libc/misc/Makefile:1.7 src/tests/lib/libc/misc/Makefile:1.8
--- src/tests/lib/libc/misc/Makefile:1.7 Mon Sep 7 00:29:14 2020
+++ src/tests/lib/libc/misc/Makefile Sun May 29 10:47:40 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2020/09/07 00:29:14 mrg Exp $
+# $NetBSD: Makefile,v 1.8 2022/05/29 10:47:40 andvar Exp $
.include <bsd.own.mk>
@@ -13,7 +13,7 @@ SRCS.t_ubsanxx= t_ubsanxx.cpp
.if ${MKSANITIZER:Uno} != "yes" && ${MKLIBCSANITIZER:Uno} != "yes"
# These tests are designed to be used against micro-UBSan only.
-# micro-UBSan is used in these tests as a standalone libary only.
+# micro-UBSan is used in these tests as a standalone library only.
CPPFLAGS+= -DENABLE_TESTS
SRCS.t_ubsan+= ubsan.c
SRCS.t_ubsanxx+= ubsan.c
Index: src/usr.sbin/postinstall/postinstall.in
diff -u src/usr.sbin/postinstall/postinstall.in:1.50 src/usr.sbin/postinstall/postinstall.in:1.51
--- src/usr.sbin/postinstall/postinstall.in:1.50 Sat Jan 8 23:30:41 2022
+++ src/usr.sbin/postinstall/postinstall.in Sun May 29 10:47:40 2022
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: postinstall.in,v 1.50 2022/01/08 23:30:41 lukem Exp $
+# $NetBSD: postinstall.in,v 1.51 2022/05/29 10:47:40 andvar Exp $
#
# Copyright (c) 2002-2022 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -587,7 +587,7 @@ exclude()
}
#
-# find all the target symlinks of shared libaries and exclude them
+# find all the target symlinks of shared libraries and exclude them
# from consideration for removal
#
exclude_libs()