Module Name: src Committed By: andvar Date: Mon Feb 5 21:46:07 UTC 2024
Modified Files: src/common/include/rpc: xdr.h src/include/arpa: nameser_compat.h src/lib/libc/inet: inet_net_pton.c src/lib/libresolv: dst_api.c src/sbin/newfs_udf: udf_core.c src/sys/arch/amiga/dev: zz9k_if.c src/sys/arch/m68k/fpsp: decbin.sa src/sys/arch/mac68k/mac68k: macrom.c src/sys/arch/riscv/include: sysreg.h src/sys/crypto/blowfish: bf_enc.c src/sys/dev/ata: wd.c src/sys/dev/ic: cd1190reg.h dp8390var.h hmereg.h src/sys/dev/pci: if_ixl.c src/sys/fs/nfs/common: nfs_commonsubs.c src/sys/fs/nfs/server: nfs_nfsdserv.c src/sys/net: if_ether.h src/sys/nfs: nfs_socket.c src/sys/uvm: uvm_object.h src/usr.bin/crunch/crunchgen: crunchgen.c src/usr.bin/find: function.c src/usr.sbin/sdpd: service.c Log Message: fix various typos in comments. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/common/include/rpc/xdr.h cvs rdiff -u -r1.9 -r1.10 src/include/arpa/nameser_compat.h cvs rdiff -u -r1.5 -r1.6 src/lib/libc/inet/inet_net_pton.c cvs rdiff -u -r1.10 -r1.11 src/lib/libresolv/dst_api.c cvs rdiff -u -r1.13 -r1.14 src/sbin/newfs_udf/udf_core.c cvs rdiff -u -r1.1 -r1.2 src/sys/arch/amiga/dev/zz9k_if.c cvs rdiff -u -r1.4 -r1.5 src/sys/arch/m68k/fpsp/decbin.sa cvs rdiff -u -r1.73 -r1.74 src/sys/arch/mac68k/mac68k/macrom.c cvs rdiff -u -r1.30 -r1.31 src/sys/arch/riscv/include/sysreg.h cvs rdiff -u -r1.10 -r1.11 src/sys/crypto/blowfish/bf_enc.c cvs rdiff -u -r1.468 -r1.469 src/sys/dev/ata/wd.c cvs rdiff -u -r1.6 -r1.7 src/sys/dev/ic/cd1190reg.h cvs rdiff -u -r1.37 -r1.38 src/sys/dev/ic/dp8390var.h cvs rdiff -u -r1.22 -r1.23 src/sys/dev/ic/hmereg.h cvs rdiff -u -r1.96 -r1.97 src/sys/dev/pci/if_ixl.c cvs rdiff -u -r1.5 -r1.6 src/sys/fs/nfs/common/nfs_commonsubs.c cvs rdiff -u -r1.4 -r1.5 src/sys/fs/nfs/server/nfs_nfsdserv.c cvs rdiff -u -r1.90 -r1.91 src/sys/net/if_ether.h cvs rdiff -u -r1.201 -r1.202 src/sys/nfs/nfs_socket.c cvs rdiff -u -r1.39 -r1.40 src/sys/uvm/uvm_object.h cvs rdiff -u -r1.95 -r1.96 src/usr.bin/crunch/crunchgen/crunchgen.c cvs rdiff -u -r1.80 -r1.81 src/usr.bin/find/function.c cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/sdpd/service.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/common/include/rpc/xdr.h diff -u src/common/include/rpc/xdr.h:1.2 src/common/include/rpc/xdr.h:1.3 --- src/common/include/rpc/xdr.h:1.2 Sun Jun 16 16:01:44 2019 +++ src/common/include/rpc/xdr.h Mon Feb 5 21:46:04 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: xdr.h,v 1.2 2019/06/16 16:01:44 christos Exp $ */ +/* $NetBSD: xdr.h,v 1.3 2024/02/05 21:46:04 andvar Exp $ */ /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for @@ -93,8 +93,8 @@ enum xdr_op { /* * The XDR handle. * Contains operation which is being applied to the stream, - * an operations vector for the paticular implementation (e.g. see xdr_mem.c), - * and two private fields for the use of the particular impelementation. + * an operations vector for the particular implementation (e.g. see xdr_mem.c), + * and two private fields for the use of the particular implementation. */ typedef struct __rpc_xdr { enum xdr_op x_op; /* operation; fast additional param */ Index: src/include/arpa/nameser_compat.h diff -u src/include/arpa/nameser_compat.h:1.9 src/include/arpa/nameser_compat.h:1.10 --- src/include/arpa/nameser_compat.h:1.9 Thu Apr 21 04:03:54 2022 +++ src/include/arpa/nameser_compat.h Mon Feb 5 21:46:05 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: nameser_compat.h,v 1.9 2022/04/21 04:03:54 gutteridge Exp $ */ +/* $NetBSD: nameser_compat.h,v 1.10 2024/02/05 21:46:05 andvar Exp $ */ /* Copyright (c) 1983, 1989 * The Regents of the University of California. All rights reserved. @@ -64,7 +64,7 @@ typedef struct { /* fields in third byte */ unsigned qr: 1; /*%< response flag */ unsigned opcode: 4; /*%< purpose of message */ - unsigned aa: 1; /*%< authoritive answer */ + unsigned aa: 1; /*%< authoritative answer */ unsigned tc: 1; /*%< truncated message */ unsigned rd: 1; /*%< recursion desired */ /* fields in fourth byte */ @@ -78,7 +78,7 @@ typedef struct { /* fields in third byte */ unsigned rd :1; /*%< recursion desired */ unsigned tc :1; /*%< truncated message */ - unsigned aa :1; /*%< authoritive answer */ + unsigned aa :1; /*%< authoritative answer */ unsigned opcode :4; /*%< purpose of message */ unsigned qr :1; /*%< response flag */ /* fields in fourth byte */ Index: src/lib/libc/inet/inet_net_pton.c diff -u src/lib/libc/inet/inet_net_pton.c:1.5 src/lib/libc/inet/inet_net_pton.c:1.6 --- src/lib/libc/inet/inet_net_pton.c:1.5 Thu Dec 13 08:44:11 2018 +++ src/lib/libc/inet/inet_net_pton.c Mon Feb 5 21:46:05 2024 @@ -20,7 +20,7 @@ #if 0 static const char rcsid[] = "Id: inet_net_pton.c,v 1.4.2.1 2002/08/02 02:17:21 marka Exp "; #else -__RCSID("$NetBSD: inet_net_pton.c,v 1.5 2018/12/13 08:44:11 maya Exp $"); +__RCSID("$NetBSD: inet_net_pton.c,v 1.6 2024/02/05 21:46:05 andvar Exp $"); #endif #endif @@ -54,7 +54,7 @@ __weak_alias(inet_net_pton,_inet_net_pto * accepts hex octets, hex strings, decimal octets, and /CIDR. * "size" is in bytes and describes "dst". * return: - * number of bits, either imputed classfully or specified with /CIDR, + * number of bits, either inputed classfully or specified with /CIDR, * or -1 if some failure occurred (check errno). ENOENT means it was * not an IPv4 network specification. * note: @@ -169,7 +169,7 @@ inet_net_pton_ipv4(const char *src, u_ch bits = 16; else /* Class A */ bits = 8; - /* If imputed mask is narrower than specified octets, widen. */ + /* If inputed mask is narrower than specified octets, widen. */ if (bits >= 8 && bits < ((dst - odst) * 8)) bits = (int)(dst - odst) * 8; } @@ -392,7 +392,7 @@ inet_net_pton_ipv6(const char *src, u_ch * accepts hex octets, hex strings, decimal octets, and /CIDR. * "size" is in bytes and describes "dst". * return: - * number of bits, either imputed classfully or specified with /CIDR, + * number of bits, either inputed classfully or specified with /CIDR, * or -1 if some failure occurred (check errno). ENOENT means it was * not a valid network specification. * author: Index: src/lib/libresolv/dst_api.c diff -u src/lib/libresolv/dst_api.c:1.10 src/lib/libresolv/dst_api.c:1.11 --- src/lib/libresolv/dst_api.c:1.10 Wed Nov 2 20:38:21 2022 +++ src/lib/libresolv/dst_api.c Mon Feb 5 21:46:05 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: dst_api.c,v 1.10 2022/11/02 20:38:21 andvar Exp $ */ +/* $NetBSD: dst_api.c,v 1.11 2024/02/05 21:46:05 andvar Exp $ */ /* * Portions Copyright (c) 1995-1998 by Trusted Information Systems, Inc. @@ -40,7 +40,7 @@ #if 0 static const char rcsid[] = "Header: /proj/cvs/prod/libbind/dst/dst_api.c,v 1.17 2007/09/24 17:18:25 each Exp "; #else -__RCSID("$NetBSD: dst_api.c,v 1.10 2022/11/02 20:38:21 andvar Exp $"); +__RCSID("$NetBSD: dst_api.c,v 1.11 2024/02/05 21:46:05 andvar Exp $"); #endif @@ -820,7 +820,7 @@ dst_key_to_buffer(DST_KEY *key, u_char * * pk_key Structure that the key is returned in. * in_id Key identifier (tag) * Return - * 1 if everthing works + * 1 if everything works * 0 if there is any problem */ Index: src/sbin/newfs_udf/udf_core.c diff -u src/sbin/newfs_udf/udf_core.c:1.13 src/sbin/newfs_udf/udf_core.c:1.14 --- src/sbin/newfs_udf/udf_core.c:1.13 Sat May 28 21:14:56 2022 +++ src/sbin/newfs_udf/udf_core.c Mon Feb 5 21:46:05 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: udf_core.c,v 1.13 2022/05/28 21:14:56 andvar Exp $ */ +/* $NetBSD: udf_core.c,v 1.14 2024/02/05 21:46:05 andvar Exp $ */ /* * Copyright (c) 2006, 2008, 2021, 2022 Reinoud Zandijk @@ -30,7 +30,7 @@ #endif #include <sys/cdefs.h> -__RCSID("$NetBSD: udf_core.c,v 1.13 2022/05/28 21:14:56 andvar Exp $"); +__RCSID("$NetBSD: udf_core.c,v 1.14 2024/02/05 21:46:05 andvar Exp $"); #include <stdio.h> #include <stdlib.h> @@ -886,7 +886,7 @@ udf_timestamp_to_timespec(struct timesta */ tz = udf_rw16(timestamp->type_tz); tz &= 0x0fff; /* only lower 12 bits are significant */ - if (tz & 0x0800) /* sign extention */ + if (tz & 0x0800) /* sign extension */ tz |= 0xf000; /* TODO check timezone conversion */ Index: src/sys/arch/amiga/dev/zz9k_if.c diff -u src/sys/arch/amiga/dev/zz9k_if.c:1.1 src/sys/arch/amiga/dev/zz9k_if.c:1.2 --- src/sys/arch/amiga/dev/zz9k_if.c:1.1 Wed May 3 13:49:30 2023 +++ src/sys/arch/amiga/dev/zz9k_if.c Mon Feb 5 21:46:05 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: zz9k_if.c,v 1.1 2023/05/03 13:49:30 phx Exp $ */ +/* $NetBSD: zz9k_if.c,v 1.2 2024/02/05 21:46:05 andvar Exp $ */ /* * Copyright (c) 2020 The NetBSD Foundation, Inc. @@ -29,7 +29,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: zz9k_if.c,v 1.1 2023/05/03 13:49:30 phx Exp $"); +__KERNEL_RCSID(0, "$NetBSD: zz9k_if.c,v 1.2 2024/02/05 21:46:05 andvar Exp $"); /* miscellaneous */ #include <sys/types.h> /* size_t */ @@ -258,7 +258,7 @@ zzif_start(struct ifnet *ifp) /* make bpf happy */ bpf_mtap(ifp, m, BPF_D_OUT); - /* copy dequeued mbuf data to tranmit buffer of the ZZ9000 */ + /* copy dequeued mbuf data to transmit buffer of the ZZ9000 */ for (struct mbuf *n = m; n != NULL; n = n->m_next) { memcpy(frame, n->m_data, n->m_len); frame += n->m_len; Index: src/sys/arch/m68k/fpsp/decbin.sa diff -u src/sys/arch/m68k/fpsp/decbin.sa:1.4 src/sys/arch/m68k/fpsp/decbin.sa:1.5 --- src/sys/arch/m68k/fpsp/decbin.sa:1.4 Sun Dec 9 01:43:13 2001 +++ src/sys/arch/m68k/fpsp/decbin.sa Mon Feb 5 21:46:05 2024 @@ -1,4 +1,4 @@ -* $NetBSD: decbin.sa,v 1.4 2001/12/09 01:43:13 briggs Exp $ +* $NetBSD: decbin.sa,v 1.5 2024/02/05 21:46:05 andvar Exp $ * MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP * M68000 Hi-Performance Microprocessor Division @@ -270,14 +270,14 @@ m_sign: * * 1. Branch on the sign of the adjusted exponent. * 2p.(positive exp) -* 2. Check M16 and the digits in lwords 2 and 3 in decending order. +* 2. Check M16 and the digits in lwords 2 and 3 in descending order. * 3. Add one for each zero encountered until a non-zero digit. * 4. Subtract the count from the exp. * 5. Check if the exp has crossed zero in #3 above; make the exp abs * and set SE. * 6. Multiply the mantissa by 10**count. * 2n.(negative exp) -* 2. Check the digits in lwords 3 and 2 in decending order. +* 2. Check the digits in lwords 3 and 2 in descending order. * 3. Add one for each zero encountered until a non-zero digit. * 4. Add the count to the exp. * 5. Check if the exp has crossed zero in #3 above; clear SE. Index: src/sys/arch/mac68k/mac68k/macrom.c diff -u src/sys/arch/mac68k/mac68k/macrom.c:1.73 src/sys/arch/mac68k/mac68k/macrom.c:1.74 --- src/sys/arch/mac68k/mac68k/macrom.c:1.73 Sat Oct 18 08:33:25 2014 +++ src/sys/arch/mac68k/mac68k/macrom.c Mon Feb 5 21:46:05 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: macrom.c,v 1.73 2014/10/18 08:33:25 snj Exp $ */ +/* $NetBSD: macrom.c,v 1.74 2024/02/05 21:46:05 andvar Exp $ */ /*- * Copyright (C) 1994 Bradley A. Grantham @@ -41,7 +41,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: macrom.c,v 1.73 2014/10/18 08:33:25 snj Exp $"); +__KERNEL_RCSID(0, "$NetBSD: macrom.c,v 1.74 2024/02/05 21:46:05 andvar Exp $"); #include "opt_adb.h" #include "opt_ddb.h" @@ -289,7 +289,7 @@ Count_Resources(u_int32_t rsrc_type) (long)rsrc_type, (long)rsrc); #endif /* - * Return a Count of all the ROM Resouces of the requested type. + * Return a Count of all the ROM Resources of the requested type. */ if (ROMResourceMap == 0) panic("Oops! Need ROM Resource Map ListHead address!"); Index: src/sys/arch/riscv/include/sysreg.h diff -u src/sys/arch/riscv/include/sysreg.h:1.30 src/sys/arch/riscv/include/sysreg.h:1.31 --- src/sys/arch/riscv/include/sysreg.h:1.30 Mon Dec 25 13:31:00 2023 +++ src/sys/arch/riscv/include/sysreg.h Mon Feb 5 21:46:05 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: sysreg.h,v 1.30 2023/12/25 13:31:00 skrll Exp $ */ +/* $NetBSD: sysreg.h,v 1.31 2024/02/05 21:46:05 andvar Exp $ */ /* * Copyright (c) 2014 The NetBSD Foundation, Inc. @@ -196,7 +196,7 @@ RISCVREG_READ_SET_CLEAR_INLINE(sstatus) #define SR_FS_CLEAN 2 // Clean #define SR_FS_DIRTY 3 // Dirty /* Bits 12-11 are WPRI */ -#define SR_VS __BITS(10, 9) // User-mode extention state +#define SR_VS __BITS(10, 9) // User-mode extension state #define SR_VS_OFF SR_FS_OFF // Off #define SR_VS_INITIAL SR_FS_INITIAL // Initial #define SR_VS_CLEAN SR_FS_CLEAN // Clean Index: src/sys/crypto/blowfish/bf_enc.c diff -u src/sys/crypto/blowfish/bf_enc.c:1.10 src/sys/crypto/blowfish/bf_enc.c:1.11 --- src/sys/crypto/blowfish/bf_enc.c:1.10 Sun Dec 11 12:20:48 2005 +++ src/sys/crypto/blowfish/bf_enc.c Mon Feb 5 21:46:06 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: bf_enc.c,v 1.10 2005/12/11 12:20:48 christos Exp $ */ +/* $NetBSD: bf_enc.c,v 1.11 2024/02/05 21:46:06 andvar Exp $ */ /* crypto/bf/bf_enc.c */ /* Copyright (C) 1995-1998 Eric Young (e...@cryptsoft.com) @@ -59,14 +59,14 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: bf_enc.c,v 1.10 2005/12/11 12:20:48 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: bf_enc.c,v 1.11 2024/02/05 21:46:06 andvar Exp $"); #include <sys/types.h> #include <crypto/blowfish/blowfish.h> #include <crypto/blowfish/bf_locl.h> /* Blowfish as implemented from 'Blowfish: Springer-Verlag paper' - * (From LECTURE NOTES IN COIMPUTER SCIENCE 809, FAST SOFTWARE ENCRYPTION, + * (From LECTURE NOTES IN COMPUTER SCIENCE 809, FAST SOFTWARE ENCRYPTION, * CAMBRIDGE SECURITY WORKSHOP, CAMBRIDGE, U.K., DECEMBER 9-11, 1993) */ Index: src/sys/dev/ata/wd.c diff -u src/sys/dev/ata/wd.c:1.468 src/sys/dev/ata/wd.c:1.469 --- src/sys/dev/ata/wd.c:1.468 Tue Jan 24 08:34:18 2023 +++ src/sys/dev/ata/wd.c Mon Feb 5 21:46:06 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: wd.c,v 1.468 2023/01/24 08:34:18 mlelstv Exp $ */ +/* $NetBSD: wd.c,v 1.469 2024/02/05 21:46:06 andvar Exp $ */ /* * Copyright (c) 1998, 2001 Manuel Bouyer. All rights reserved. @@ -54,7 +54,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.468 2023/01/24 08:34:18 mlelstv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.469 2024/02/05 21:46:06 andvar Exp $"); #include "opt_ata.h" #include "opt_wd.h" @@ -436,7 +436,7 @@ wdattach(device_t parent, device_t self, wd->sc_params.atap_sectors; /* * LBA28 size is ignored for CHS addressing. Use a reasonable - * value for debugging. The CHS values may be artifical and + * value for debugging. The CHS values may be artificial and * are mostly ignored. */ if (wd->sc_capacity < 0xfffffff) Index: src/sys/dev/ic/cd1190reg.h diff -u src/sys/dev/ic/cd1190reg.h:1.6 src/sys/dev/ic/cd1190reg.h:1.7 --- src/sys/dev/ic/cd1190reg.h:1.6 Mon May 30 09:56:04 2022 +++ src/sys/dev/ic/cd1190reg.h Mon Feb 5 21:46:06 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: cd1190reg.h,v 1.6 2022/05/30 09:56:04 andvar Exp $ */ +/* $NetBSD: cd1190reg.h,v 1.7 2024/02/05 21:46:06 andvar Exp $ */ /*- * Copyright (c) 1998 Iain Hibbert. @@ -131,7 +131,7 @@ #define CD1190_SCR_STATUS (CD1190_SCR_IP3 | CD1190_SCR_IP2 | CD1190_SCR_IP1) -/* Outout signals - Active High? +/* Output signals - Active High? * * IP3 - SLIN * IP2 - *INIT / *RESET Index: src/sys/dev/ic/dp8390var.h diff -u src/sys/dev/ic/dp8390var.h:1.37 src/sys/dev/ic/dp8390var.h:1.38 --- src/sys/dev/ic/dp8390var.h:1.37 Fri Feb 2 22:23:53 2024 +++ src/sys/dev/ic/dp8390var.h Mon Feb 5 21:46:06 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: dp8390var.h,v 1.37 2024/02/02 22:23:53 andvar Exp $ */ +/* $NetBSD: dp8390var.h,v 1.38 2024/02/05 21:46:06 andvar Exp $ */ /* * Device driver for National Semiconductor DS8390/WD83C690 based ethernet @@ -140,7 +140,7 @@ struct dp8390_softc { #define DP8390_ATTACHED 0x0040 /* attach has succeeded */ /* - * ASIX AX88796 doesn't have remote DMA conmplete bit in ISR, so don't + * ASIX AX88796 doesn't have remote DMA complete bit in ISR, so don't * check ISR.RDC */ #define DP8390_NO_REMOTE_DMA_COMPLETE 0x0080 Index: src/sys/dev/ic/hmereg.h diff -u src/sys/dev/ic/hmereg.h:1.22 src/sys/dev/ic/hmereg.h:1.23 --- src/sys/dev/ic/hmereg.h:1.22 Thu May 7 06:46:54 2009 +++ src/sys/dev/ic/hmereg.h Mon Feb 5 21:46:06 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: hmereg.h,v 1.22 2009/05/07 06:46:54 jdc Exp $ */ +/* $NetBSD: hmereg.h,v 1.23 2024/02/05 21:46:06 andvar Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -79,7 +79,7 @@ #define HME_SEB_STAT_TXEACK 0x04000000 /* error during tx DMA */ #define HME_SEB_STAT_TXLERR 0x08000000 /* late error during tx DMA */ #define HME_SEB_STAT_TXPERR 0x10000000 /* parity error during tx DMA */ -#define HME_SEB_STAT_TXTERR 0x20000000 /* tag error durig tx DMA */ +#define HME_SEB_STAT_TXTERR 0x20000000 /* tag error during tx DMA */ #define HME_SEB_STAT_SLVERR 0x40000000 /* pio access error */ #define HME_SEB_STAT_SLVPERR 0x80000000 /* pio access parity error */ #define HME_SEB_STAT_BITS "\177\020" \ Index: src/sys/dev/pci/if_ixl.c diff -u src/sys/dev/pci/if_ixl.c:1.96 src/sys/dev/pci/if_ixl.c:1.97 --- src/sys/dev/pci/if_ixl.c:1.96 Wed Dec 20 18:09:19 2023 +++ src/sys/dev/pci/if_ixl.c Mon Feb 5 21:46:06 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: if_ixl.c,v 1.96 2023/12/20 18:09:19 skrll Exp $ */ +/* $NetBSD: if_ixl.c,v 1.97 2024/02/05 21:46:06 andvar Exp $ */ /* * Copyright (c) 2013-2015, Intel Corporation @@ -74,7 +74,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_ixl.c,v 1.96 2023/12/20 18:09:19 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_ixl.c,v 1.97 2024/02/05 21:46:06 andvar Exp $"); #ifdef _KERNEL_OPT #include "opt_if_ixl.h" @@ -4513,7 +4513,7 @@ ixl_get_link_status_poll(struct ixl_soft return EIO; } - /* It is unneccessary to hold lock */ + /* It is unnecessary to hold lock */ link = ixl_set_link_status_locked(sc, &iaq); if (l != NULL) Index: src/sys/fs/nfs/common/nfs_commonsubs.c diff -u src/sys/fs/nfs/common/nfs_commonsubs.c:1.5 src/sys/fs/nfs/common/nfs_commonsubs.c:1.6 --- src/sys/fs/nfs/common/nfs_commonsubs.c:1.5 Fri Oct 7 19:56:31 2022 +++ src/sys/fs/nfs/common/nfs_commonsubs.c Mon Feb 5 21:46:06 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: nfs_commonsubs.c,v 1.5 2022/10/07 19:56:31 andvar Exp $ */ +/* $NetBSD: nfs_commonsubs.c,v 1.6 2024/02/05 21:46:06 andvar Exp $ */ /*- * Copyright (c) 1989, 1993 * The Regents of the University of California. All rights reserved. @@ -34,7 +34,7 @@ #include <sys/cdefs.h> /* __FBSDID("FreeBSD: head/sys/fs/nfs/nfs_commonsubs.c 308708 2016-11-16 01:11:49Z cperciva "); */ -__RCSID("$NetBSD: nfs_commonsubs.c,v 1.5 2022/10/07 19:56:31 andvar Exp $"); +__RCSID("$NetBSD: nfs_commonsubs.c,v 1.6 2024/02/05 21:46:06 andvar Exp $"); /* * These functions support the macros and help fiddle mbuf chains for @@ -1793,7 +1793,7 @@ nfsv4_loadattr(struct nfsrv_descript *nd *retcmpp = NFSERR_ATTRNOTSUPP; /* * and get out of the loop, since we can't parse - * the unknown attrbute data. + * the unknown attribute data. */ bitpos = NFSATTRBIT_MAX; break; Index: src/sys/fs/nfs/server/nfs_nfsdserv.c diff -u src/sys/fs/nfs/server/nfs_nfsdserv.c:1.4 src/sys/fs/nfs/server/nfs_nfsdserv.c:1.5 --- src/sys/fs/nfs/server/nfs_nfsdserv.c:1.4 Tue Dec 13 21:50:32 2016 +++ src/sys/fs/nfs/server/nfs_nfsdserv.c Mon Feb 5 21:46:06 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: nfs_nfsdserv.c,v 1.4 2016/12/13 21:50:32 pgoyette Exp $ */ +/* $NetBSD: nfs_nfsdserv.c,v 1.5 2024/02/05 21:46:06 andvar Exp $ */ /*- * Copyright (c) 1989, 1993 * The Regents of the University of California. All rights reserved. @@ -34,7 +34,7 @@ #include <sys/cdefs.h> /* __FBSDID("FreeBSD: head/sys/fs/nfsserver/nfs_nfsdserv.c 299514 2016-05-12 05:03:12Z cem "); */ -__RCSID("$NetBSD: nfs_nfsdserv.c,v 1.4 2016/12/13 21:50:32 pgoyette Exp $"); +__RCSID("$NetBSD: nfs_nfsdserv.c,v 1.5 2024/02/05 21:46:06 andvar Exp $"); /* * nfs version 2, 3 and 4 server calls to vnode ops @@ -384,7 +384,7 @@ nfsrvd_setattr(struct nfsrv_descript *nd if (!nd->nd_repstat && (nd->nd_flag & ND_NFSV4)) { /* - * For V4, try setting the attrbutes in sets, so that the + * For V4, try setting the attributes in sets, so that the * reply bitmap will be correct for an error case. */ if (NFSISSET_ATTRBIT(&attrbits, NFSATTRBIT_OWNER) || Index: src/sys/net/if_ether.h diff -u src/sys/net/if_ether.h:1.90 src/sys/net/if_ether.h:1.91 --- src/sys/net/if_ether.h:1.90 Tue Aug 1 07:04:16 2023 +++ src/sys/net/if_ether.h Mon Feb 5 21:46:06 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: if_ether.h,v 1.90 2023/08/01 07:04:16 mrg Exp $ */ +/* $NetBSD: if_ether.h,v 1.91 2024/02/05 21:46:06 andvar Exp $ */ /* * Copyright (c) 1982, 1986, 1993 @@ -110,7 +110,7 @@ struct ether_header { (((etype) == ETHERTYPE_PPPOE) ? ETHER_PPPOE_ENCAP_LEN : 0)) /* - * Ethernet CRC32 polynomials (big- and little-endian verions). + * Ethernet CRC32 polynomials (big- and little-endian versions). */ #define ETHER_CRC_POLY_LE 0xedb88320 #define ETHER_CRC_POLY_BE 0x04c11db6 Index: src/sys/nfs/nfs_socket.c diff -u src/sys/nfs/nfs_socket.c:1.201 src/sys/nfs/nfs_socket.c:1.202 --- src/sys/nfs/nfs_socket.c:1.201 Sun Apr 9 12:33:58 2023 +++ src/sys/nfs/nfs_socket.c Mon Feb 5 21:46:06 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: nfs_socket.c,v 1.201 2023/04/09 12:33:58 riastradh Exp $ */ +/* $NetBSD: nfs_socket.c,v 1.202 2024/02/05 21:46:06 andvar Exp $ */ /* * Copyright (c) 1989, 1991, 1993, 1995 @@ -39,7 +39,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: nfs_socket.c,v 1.201 2023/04/09 12:33:58 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: nfs_socket.c,v 1.202 2024/02/05 21:46:06 andvar Exp $"); #ifdef _KERNEL_OPT #include "opt_nfs.h" @@ -745,7 +745,7 @@ nfs_timer_srvfini(void) /* * Nfs timer routine - * Scan the nfsreq list and retranmit any requests that have timed out + * Scan the nfsreq list and retransmit any requests that have timed out * To avoid retransmission attempts on STREAM sockets (in the future) make * sure to set the r_retry field to 0 (implies nm_retry == 0). */ Index: src/sys/uvm/uvm_object.h diff -u src/sys/uvm/uvm_object.h:1.39 src/sys/uvm/uvm_object.h:1.40 --- src/sys/uvm/uvm_object.h:1.39 Fri Aug 14 09:06:15 2020 +++ src/sys/uvm/uvm_object.h Mon Feb 5 21:46:07 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_object.h,v 1.39 2020/08/14 09:06:15 chs Exp $ */ +/* $NetBSD: uvm_object.h,v 1.40 2024/02/05 21:46:07 andvar Exp $ */ /* * Copyright (c) 1997 Charles D. Cranor and Washington University. @@ -76,7 +76,7 @@ struct uvm_object { * memory objects don't have reference counts -- they never die). * * this value is used to detected kernel object mappings at uvm_unmap() - * time. normally when an object is unmapped its pages eventaully become + * time. normally when an object is unmapped its pages eventually become * deactivated and then paged out and/or freed. this is not useful * for kernel objects... when a kernel object is unmapped we always want * to free the resources associated with the mapping. UVM_OBJ_KERN Index: src/usr.bin/crunch/crunchgen/crunchgen.c diff -u src/usr.bin/crunch/crunchgen/crunchgen.c:1.95 src/usr.bin/crunch/crunchgen/crunchgen.c:1.96 --- src/usr.bin/crunch/crunchgen/crunchgen.c:1.95 Fri Jun 23 02:13:03 2023 +++ src/usr.bin/crunch/crunchgen/crunchgen.c Mon Feb 5 21:46:07 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: crunchgen.c,v 1.95 2023/06/23 02:13:03 rin Exp $ */ +/* $NetBSD: crunchgen.c,v 1.96 2024/02/05 21:46:07 andvar Exp $ */ /* * Copyright (c) 1994 University of Maryland * All Rights Reserved. @@ -38,7 +38,7 @@ #include <sys/cdefs.h> #if !defined(lint) -__RCSID("$NetBSD: crunchgen.c,v 1.95 2023/06/23 02:13:03 rin Exp $"); +__RCSID("$NetBSD: crunchgen.c,v 1.96 2024/02/05 21:46:07 andvar Exp $"); #endif #include <stdlib.h> @@ -1090,7 +1090,7 @@ prog_makefile_rules(FILE *outmk, prog_t fprintf(outmk, " / %s$$/ { next };", lst->str); fprintf(outmk, " / main$$/ { print \"main _crunched_%s_stub\"; next };", p->ident); - /* gdb thinks these are C++ and ignores everthing after the first $$. */ + /* gdb thinks these are C++ and ignores everything after the first $$. */ fprintf(outmk, " { print $$3 \" \" $$3 \"$$$$from$$$$%s\" }' " "> %s.cro.syms\n", p->name, p->name); fprintf(outmk, "\t${OBJCOPY} --redefine-syms %s.cro.syms ", p->name); Index: src/usr.bin/find/function.c diff -u src/usr.bin/find/function.c:1.80 src/usr.bin/find/function.c:1.81 --- src/usr.bin/find/function.c:1.80 Sat Apr 1 15:57:20 2023 +++ src/usr.bin/find/function.c Mon Feb 5 21:46:07 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: function.c,v 1.80 2023/04/01 15:57:20 christos Exp $ */ +/* $NetBSD: function.c,v 1.81 2024/02/05 21:46:07 andvar Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "from: @(#)function.c 8.10 (Berkeley) 5/4/95"; #else -__RCSID("$NetBSD: function.c,v 1.80 2023/04/01 15:57:20 christos Exp $"); +__RCSID("$NetBSD: function.c,v 1.81 2024/02/05 21:46:07 andvar Exp $"); #endif #endif /* not lint */ @@ -1014,7 +1014,7 @@ c_follow(char ***argvp, int isok, char * /* -fprint functions -- * - * Causes the current pathame to be written to the defined output file. + * Causes the current pathname to be written to the defined output file. */ int f_fprint(PLAN *plan, FTSENT *entry) @@ -1565,7 +1565,7 @@ c_perm(char ***argvp, int isok, char *op /* * -print functions -- * - * Always true, causes the current pathame to be written to + * Always true, causes the current pathname to be written to * standard output. */ int @@ -2001,7 +2001,7 @@ c_null(char ***argvp, int isok, char *op * * At the moment, only N_EXEC has state. Two kinds: 1) * lists of files to feed to subprocesses 2) State on exit - * statusses of past subprocesses. + * status of past subprocesses. */ /* ARGSUSED1 */ int Index: src/usr.sbin/sdpd/service.c diff -u src/usr.sbin/sdpd/service.c:1.4 src/usr.sbin/sdpd/service.c:1.5 --- src/usr.sbin/sdpd/service.c:1.4 Mon Apr 11 20:57:37 2022 +++ src/usr.sbin/sdpd/service.c Mon Feb 5 21:46:07 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: service.c,v 1.4 2022/04/11 20:57:37 andvar Exp $ */ +/* $NetBSD: service.c,v 1.5 2024/02/05 21:46:07 andvar Exp $ */ /*- * Copyright (c) 2009 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: service.c,v 1.4 2022/04/11 20:57:37 andvar Exp $"); +__RCSID("$NetBSD: service.c,v 1.5 2024/02/05 21:46:07 andvar Exp $"); #include <bluetooth.h> #include <sdp.h> @@ -451,7 +451,7 @@ sdpd_valid_ssp(sdp_data_t *ssp) * order 16-bits are the beginning of the range and the low order 16-bits * are the ending * - * The attrbute IDs should be listed in ascending order without duplication + * The attribute IDs should be listed in ascending order without duplication * of any attribute ID values but we don't worry about that, since if the * remote party messes up, their results will be messed up */