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 and log messages.



details:   https://anonhg.NetBSD.org/src/rev/00d63a91d70f
branches:  trunk
changeset: 366502:00d63a91d70f
user:      andvar <andvar%NetBSD.org@localhost>
date:      Sun May 29 10:47:39 2022 +0000

description:
fix various typos in comments and log messages.

diffstat:

 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(-)

diffs (179 lines):

diff -r c6b8210a958a -r 00d63a91d70f compat/Makefile
--- a/compat/Makefile   Sun May 29 10:45:05 2022 +0000
+++ b/compat/Makefile   Sun May 29 10:47:39 2022 +0000
@@ -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>
 
diff -r c6b8210a958a -r 00d63a91d70f sys/arch/acorn32/eb7500atx/if_cs.c
--- a/sys/arch/acorn32/eb7500atx/if_cs.c        Sun May 29 10:45:05 2022 +0000
+++ b/sys/arch/acorn32/eb7500atx/if_cs.c        Sun May 29 10:47:39 2022 +0000
@@ -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 @@
  * 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 -r c6b8210a958a -r 00d63a91d70f sys/arch/sparc/include/pte.h
--- a/sys/arch/sparc/include/pte.h      Sun May 29 10:45:05 2022 +0000
+++ b/sys/arch/sparc/include/pte.h      Sun May 29 10:47:39 2022 +0000
@@ -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 @@
  *
  * (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 -r c6b8210a958a -r 00d63a91d70f sys/kern/subr_blist.c
--- a/sys/kern/subr_blist.c     Sun May 29 10:45:05 2022 +0000
+++ b/sys/kern/subr_blist.c     Sun May 29 10:47:39 2022 +0000
@@ -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
diff -r c6b8210a958a -r 00d63a91d70f sys/kern/subr_pool.c
--- a/sys/kern/subr_pool.c      Sun May 29 10:45:05 2022 +0000
+++ b/sys/kern/subr_pool.c      Sun May 29 10:47:39 2022 +0000
@@ -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 @@
  * 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 -r c6b8210a958a -r 00d63a91d70f sys/netinet/sctp_usrreq.c
--- a/sys/netinet/sctp_usrreq.c Sun May 29 10:45:05 2022 +0000
+++ b/sys/netinet/sctp_usrreq.c Sun May 29 10:47:39 2022 +0000
@@ -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_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 -r c6b8210a958a -r 00d63a91d70f tests/lib/libc/misc/Makefile
--- a/tests/lib/libc/misc/Makefile      Sun May 29 10:45:05 2022 +0000
+++ b/tests/lib/libc/misc/Makefile      Sun May 29 10:47:39 2022 +0000
@@ -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 @@
 
 .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 -r c6b8210a958a -r 00d63a91d70f usr.sbin/postinstall/postinstall.in
--- a/usr.sbin/postinstall/postinstall.in       Sun May 29 10:45:05 2022 +0000
+++ b/usr.sbin/postinstall/postinstall.in       Sun May 29 10:47:39 2022 +0000
@@ -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 @@
 }
 
 #
-# 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()



Home | Main Index | Thread Index | Old Index