fix various typos in comments and log messages.

This commit is contained in:
andvar 2022-05-29 10:47:39 +00:00
parent ca856fe22e
commit 5fb5f516a8
8 changed files with 21 additions and 21 deletions

View File

@ -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> .include <bsd.own.mk>

View File

@ -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 * Copyright (c) 2004 Christopher Gilbert
@ -58,7 +58,7 @@
*/ */
#include <sys/cdefs.h> #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/param.h>
#include <sys/systm.h> #include <sys/systm.h>
@ -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 * This only effects the value programmed into the CS8920 memory offset
* registers. * 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 * xxxxR1R0
* xxxxR3R2 * xxxxR3R2
* xxxxR5R4 * xxxxR5R4

View File

@ -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 * 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 * (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 * 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 * 2-dim arrays, but are sparsely allocated as needed, and point to each
* other.) * other.)
* *

View File

@ -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. * 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 * due to swap interleaving not all that much less), but the blist code
* scales much, much better. * scales much, much better.
* *
* LAYOUT: The radix tree is layed out recursively using a * LAYOUT: The radix tree is laid out recursively using a
* linear array. Each meta node is immediately followed (layed out * linear array. Each meta node is immediately followed (laid out
* sequentially in memory) by BLIST_META_RADIX lower level nodes. This * sequentially in memory) by BLIST_META_RADIX lower level nodes. This
* is a recursive structure but one that can be easily scanned through * is a recursive structure but one that can be easily scanned through
* a very simple 'skip' calculation. In order to support large radixes, * a very simple 'skip' calculation. In order to support large radixes,
@ -86,7 +86,7 @@
*/ */
#include <sys/cdefs.h> #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 #if 0
__FBSDID("$FreeBSD: src/sys/kern/subr_blist.c,v 1.17 2004/06/04 04:03:25 alc Exp $"); __FBSDID("$FreeBSD: src/sys/kern/subr_blist.c,v 1.17 2004/06/04 04:03:25 alc Exp $");
#endif #endif

View File

@ -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, * Copyright (c) 1997, 1999, 2000, 2002, 2007, 2008, 2010, 2014, 2015, 2018,
@ -33,7 +33,7 @@
*/ */
#include <sys/cdefs.h> #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 #ifdef _KERNEL_OPT
#include "opt_ddb.h" #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 * cache is drained, the most idle cache group is freed to the pool in
* its entirety. * 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 * the complexity of cache management for pools which would not benefit
* from it. * from it.
*/ */

View File

@ -1,5 +1,5 @@
/* $KAME: sctp_usrreq.c,v 1.50 2005/06/16 20:45:29 jinmei Exp $ */ /* $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. * Copyright (c) 2001, 2002, 2003, 2004 Cisco Systems, Inc.
@ -33,7 +33,7 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
#include <sys/cdefs.h> #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 #ifdef _KERNEL_OPT
#include "opt_inet.h" #include "opt_inet.h"
@ -2017,7 +2017,7 @@ sctp_optsget(struct socket *so, struct sockopt *sopt)
SCTP_INP_RLOCK(inp); SCTP_INP_RLOCK(inp);
#ifdef SCTP_DEBUG #ifdef SCTP_DEBUG
if (sctp_debug_on & SCTP_DEBUG_USRREQ1) { if (sctp_debug_on & SCTP_DEBUG_USRREQ1) {
printf("In EP levle info\n"); printf("In EP level info\n");
} }
#endif /* SCTP_DEBUG */ #endif /* SCTP_DEBUG */
paddrp->spp_pathmaxrxt = inp->sctp_ep.def_net_failure; paddrp->spp_pathmaxrxt = inp->sctp_ep.def_net_failure;

View File

@ -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> .include <bsd.own.mk>
@ -13,7 +13,7 @@ SRCS.t_ubsanxx= t_ubsanxx.cpp
.if ${MKSANITIZER:Uno} != "yes" && ${MKLIBCSANITIZER:Uno} != "yes" .if ${MKSANITIZER:Uno} != "yes" && ${MKLIBCSANITIZER:Uno} != "yes"
# These tests are designed to be used against micro-UBSan only. # 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 CPPFLAGS+= -DENABLE_TESTS
SRCS.t_ubsan+= ubsan.c SRCS.t_ubsan+= ubsan.c
SRCS.t_ubsanxx+= ubsan.c SRCS.t_ubsanxx+= ubsan.c

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/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. # Copyright (c) 2002-2022 The NetBSD Foundation, Inc.
# All rights reserved. # 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 # from consideration for removal
# #
exclude_libs() exclude_libs()