From 5fb5f516a8a2d4e606e8b7554c0da8a1b4b1f590 Mon Sep 17 00:00:00 2001 From: andvar Date: Sun, 29 May 2022 10:47:39 +0000 Subject: [PATCH] fix various typos in comments and log messages. --- compat/Makefile | 4 ++-- sys/arch/acorn32/eb7500atx/if_cs.c | 6 +++--- sys/arch/sparc/include/pte.h | 4 ++-- sys/kern/subr_blist.c | 8 ++++---- sys/kern/subr_pool.c | 6 +++--- sys/netinet/sctp_usrreq.c | 6 +++--- tests/lib/libc/misc/Makefile | 4 ++-- usr.sbin/postinstall/postinstall.in | 4 ++-- 8 files changed, 21 insertions(+), 21 deletions(-) diff --git a/compat/Makefile b/compat/Makefile index 294926c64406..a0d9446f77c6 100644 --- a/compat/Makefile +++ b/compat/Makefile @@ -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 diff --git a/sys/arch/acorn32/eb7500atx/if_cs.c b/sys/arch/acorn32/eb7500atx/if_cs.c index 6684bfb0f0f8..2e50a73ffd53 100644 --- a/sys/arch/acorn32/eb7500atx/if_cs.c +++ b/sys/arch/acorn32/eb7500atx/if_cs.c @@ -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 -__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 #include @@ -94,7 +94,7 @@ __KERNEL_RCSID(0, "$NetBSD: if_cs.c,v 1.12 2019/04/25 10:44:53 msaitoh Exp $"); * 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 diff --git a/sys/arch/sparc/include/pte.h b/sys/arch/sparc/include/pte.h index 9fed7cdde9bd..6027a9e6fcad 100644 --- a/sys/arch/sparc/include/pte.h +++ b/sys/arch/sparc/include/pte.h @@ -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 per Sun-4 regmap entry */ * * (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.) * diff --git a/sys/kern/subr_blist.c b/sys/kern/subr_blist.c index f85455d0a731..ede2759f7504 100644 --- a/sys/kern/subr_blist.c +++ b/sys/kern/subr_blist.c @@ -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 -__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 diff --git a/sys/kern/subr_pool.c b/sys/kern/subr_pool.c index 0a2d8bec60c6..41fc3fc64c5f 100644 --- a/sys/kern/subr_pool.c +++ b/sys/kern/subr_pool.c @@ -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 -__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. */ diff --git a/sys/netinet/sctp_usrreq.c b/sys/netinet/sctp_usrreq.c index a7907c7e8dbb..3c26e2bb7364 100644 --- a/sys/netinet/sctp_usrreq.c +++ b/sys/netinet/sctp_usrreq.c @@ -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 -__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 sockopt *sopt) 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; diff --git a/tests/lib/libc/misc/Makefile b/tests/lib/libc/misc/Makefile index 17cfe9cbd766..629214ab738e 100644 --- a/tests/lib/libc/misc/Makefile +++ b/tests/lib/libc/misc/Makefile @@ -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 @@ -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 diff --git a/usr.sbin/postinstall/postinstall.in b/usr.sbin/postinstall/postinstall.in index 0d5cbe2ec804..c94d61bf3631 100755 --- a/usr.sbin/postinstall/postinstall.in +++ b/usr.sbin/postinstall/postinstall.in @@ -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()