Module Name: src Committed By: andvar Date: Mon Nov 1 21:28:03 UTC 2021
Modified Files: src/lib/libm/src: e_lgamma_r.c src/lib/libresolv: dst_api.c src/sys/arch/amiga/dev: grfioctl.h iteioctl.h src/sys/arch/atari/dev: grfioctl.h iteioctl.h src/sys/arch/mips/include: cpuregs.h src/sys/arch/prep/include: nvram.h src/sys/arch/sparc/sparc: pci_fixup.c src/sys/arch/x68k/include: iteioctl.h src/sys/dev/acpi: vald_acpi.c src/sys/dev/cardbus: cardbus.c src/sys/dev/i2o: dptivar.h src/sys/dev/pci/ixgbe: ixgbe_type.h src/sys/kern: vfs_cache.c src/usr.bin/seq: seq.1 Log Message: fix typos, mainly in words minimum and maximum, but also few others. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/lib/libm/src/e_lgamma_r.c cvs rdiff -u -r1.5 -r1.6 src/lib/libresolv/dst_api.c cvs rdiff -u -r1.21 -r1.22 src/sys/arch/amiga/dev/grfioctl.h cvs rdiff -u -r1.13 -r1.14 src/sys/arch/amiga/dev/iteioctl.h cvs rdiff -u -r1.10 -r1.11 src/sys/arch/atari/dev/grfioctl.h cvs rdiff -u -r1.8 -r1.9 src/sys/arch/atari/dev/iteioctl.h cvs rdiff -u -r1.112 -r1.113 src/sys/arch/mips/include/cpuregs.h cvs rdiff -u -r1.9 -r1.10 src/sys/arch/prep/include/nvram.h cvs rdiff -u -r1.4 -r1.5 src/sys/arch/sparc/sparc/pci_fixup.c cvs rdiff -u -r1.9 -r1.10 src/sys/arch/x68k/include/iteioctl.h cvs rdiff -u -r1.6 -r1.7 src/sys/dev/acpi/vald_acpi.c cvs rdiff -u -r1.112 -r1.113 src/sys/dev/cardbus/cardbus.c cvs rdiff -u -r1.9 -r1.10 src/sys/dev/i2o/dptivar.h cvs rdiff -u -r1.49 -r1.50 src/sys/dev/pci/ixgbe/ixgbe_type.h cvs rdiff -u -r1.151 -r1.152 src/sys/kern/vfs_cache.c cvs rdiff -u -r1.10 -r1.11 src/usr.bin/seq/seq.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libm/src/e_lgamma_r.c diff -u src/lib/libm/src/e_lgamma_r.c:1.10 src/lib/libm/src/e_lgamma_r.c:1.11 --- src/lib/libm/src/e_lgamma_r.c:1.10 Sun May 26 22:01:51 2002 +++ src/lib/libm/src/e_lgamma_r.c Mon Nov 1 21:28:01 2021 @@ -12,7 +12,7 @@ #include <sys/cdefs.h> #if defined(LIBM_SCCS) && !defined(lint) -__RCSID("$NetBSD: e_lgamma_r.c,v 1.10 2002/05/26 22:01:51 wiz Exp $"); +__RCSID("$NetBSD: e_lgamma_r.c,v 1.11 2021/11/01 21:28:01 andvar Exp $"); #endif /* __ieee754_lgamma_r(x, signgamp) @@ -29,7 +29,7 @@ __RCSID("$NetBSD: e_lgamma_r.c,v 1.10 20 * = log(6.3*5.3) + lgamma(5.3) * = log(6.3*5.3*4.3*3.3*2.3) + lgamma(2.3) * 2. Polynomial approximation of lgamma around its - * minimun ymin=1.461632144968362245 to maintain monotonicity. + * minimum ymin=1.461632144968362245 to maintain monotonicity. * On [ymin-0.23, ymin+0.27] (i.e., [1.23164,1.73163]), use * Let z = x-ymin; * lgamma(x) = -1.214862905358496078218 + z^2*poly(z) Index: src/lib/libresolv/dst_api.c diff -u src/lib/libresolv/dst_api.c:1.5 src/lib/libresolv/dst_api.c:1.6 --- src/lib/libresolv/dst_api.c:1.5 Mon Oct 4 21:02:40 2021 +++ src/lib/libresolv/dst_api.c Mon Nov 1 21:28:02 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: dst_api.c,v 1.5 2021/10/04 21:02:40 andvar Exp $ */ +/* $NetBSD: dst_api.c,v 1.6 2021/11/01 21:28:02 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.5 2021/10/04 21:02:40 andvar Exp $"); +__RCSID("$NetBSD: dst_api.c,v 1.6 2021/11/01 21:28:02 andvar Exp $"); #endif @@ -1030,7 +1030,7 @@ dst_free_key(DST_KEY *f_key) } /*% - * Return the maximim size of signature from the key specified in bytes + * Return the maximum size of signature from the key specified in bytes * * Parameters *\li key Index: src/sys/arch/amiga/dev/grfioctl.h diff -u src/sys/arch/amiga/dev/grfioctl.h:1.21 src/sys/arch/amiga/dev/grfioctl.h:1.22 --- src/sys/arch/amiga/dev/grfioctl.h:1.21 Mon Sep 7 03:49:45 2015 +++ src/sys/arch/amiga/dev/grfioctl.h Mon Nov 1 21:28:02 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: grfioctl.h,v 1.21 2015/09/07 03:49:45 dholland Exp $ */ +/* $NetBSD: grfioctl.h,v 1.22 2021/11/01 21:28:02 andvar Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -141,7 +141,7 @@ struct grfvideo_mode { * colormap related information. Every grf has an associated * colormap. Depending on the capabilities of the hardware, more * or less of the information provided may be used. - * Maxium value of "index" can be deduced from grfinfo->gd_colors. + * Maximum value of "index" can be deduced from grfinfo->gd_colors. */ struct grf_colormap { unsigned int index; /* start at red[index],green[index],blue[index] */ Index: src/sys/arch/amiga/dev/iteioctl.h diff -u src/sys/arch/amiga/dev/iteioctl.h:1.13 src/sys/arch/amiga/dev/iteioctl.h:1.14 --- src/sys/arch/amiga/dev/iteioctl.h:1.13 Mon Sep 7 03:49:45 2015 +++ src/sys/arch/amiga/dev/iteioctl.h Mon Nov 1 21:28:02 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: iteioctl.h,v 1.13 2015/09/07 03:49:45 dholland Exp $ */ +/* $NetBSD: iteioctl.h,v 1.14 2021/11/01 21:28:02 andvar Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -62,7 +62,7 @@ struct iterepeat { int start; /* number of 100/s before repeat start */ int next; /* number of 100/s before next repeat */ }; -#define ITEMINREPEAT 5 /* mininum number of 100/s for key repeat */ +#define ITEMINREPEAT 5 /* minimum number of 100/s for key repeat */ #define ITEIOCSKMAP _IOW('Z',0x70, struct kbdmap) #define ITEIOCGKMAP _IOR('Z',0x71, struct kbdmap) Index: src/sys/arch/atari/dev/grfioctl.h diff -u src/sys/arch/atari/dev/grfioctl.h:1.10 src/sys/arch/atari/dev/grfioctl.h:1.11 --- src/sys/arch/atari/dev/grfioctl.h:1.10 Mon Sep 7 03:49:45 2015 +++ src/sys/arch/atari/dev/grfioctl.h Mon Nov 1 21:28:02 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: grfioctl.h,v 1.10 2015/09/07 03:49:45 dholland Exp $ */ +/* $NetBSD: grfioctl.h,v 1.11 2021/11/01 21:28:02 andvar Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -137,7 +137,7 @@ struct grfvideo_mode { * colormap related information. Every grf has an associated * colormap. Depending on the capabilities of the hardware, more * or less of the information provided may be used. - * Maxium value of "index" can be deduced from grfinfo->gd_colors. + * Maximum value of "index" can be deduced from grfinfo->gd_colors. */ struct grf_colormap { int index; /* start at red[index],green[index],blue[index] */ Index: src/sys/arch/atari/dev/iteioctl.h diff -u src/sys/arch/atari/dev/iteioctl.h:1.8 src/sys/arch/atari/dev/iteioctl.h:1.9 --- src/sys/arch/atari/dev/iteioctl.h:1.8 Mon Sep 7 03:49:45 2015 +++ src/sys/arch/atari/dev/iteioctl.h Mon Nov 1 21:28:02 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: iteioctl.h,v 1.8 2015/09/07 03:49:45 dholland Exp $ */ +/* $NetBSD: iteioctl.h,v 1.9 2021/11/01 21:28:02 andvar Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -69,7 +69,7 @@ struct iterepeat { int start; /* number of 100/s before repeat start */ int next; /* number of 100/s before next repeat */ }; -#define ITEMINREPEAT 5 /* mininum number of 100/s for key repeat */ +#define ITEMINREPEAT 5 /* minimum number of 100/s for key repeat */ #define ITEIOCSKMAP _IOW('Z',0x70, struct kbdmap) #define ITEIOCSSKMAP _IOW('Z',0x68, struct kbdmap) Index: src/sys/arch/mips/include/cpuregs.h diff -u src/sys/arch/mips/include/cpuregs.h:1.112 src/sys/arch/mips/include/cpuregs.h:1.113 --- src/sys/arch/mips/include/cpuregs.h:1.112 Mon Aug 9 21:13:05 2021 +++ src/sys/arch/mips/include/cpuregs.h Mon Nov 1 21:28:02 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: cpuregs.h,v 1.112 2021/08/09 21:13:05 andvar Exp $ */ +/* $NetBSD: cpuregs.h,v 1.113 2021/11/01 21:28:02 andvar Exp $ */ /* * Copyright (c) 2009 Miodrag Vallat. @@ -695,7 +695,7 @@ (MIPS_BREAK_SOVER_VAL << MIPS_BREAK_VAL_SHIFT)) /* - * Mininum and maximum cache sizes. + * Minimum and maximum cache sizes. */ #define MIPS_MIN_CACHE_SIZE (16 * 1024) #define MIPS_MAX_CACHE_SIZE (256 * 1024) @@ -712,7 +712,7 @@ */ #define MIPS_FCSR_RM __BITS(1,0) #define MIPS_FCSR_RM_RN 0 /* round to nearest */ -#define MIPS_FCSR_RM_RZ 1 /* round toward zerO */ +#define MIPS_FCSR_RM_RZ 1 /* round towards zero */ #define MIPS_FCSR_RM_RP 2 /* round towards +infinity */ #define MIPS_FCSR_RM_RM 3 /* round towards -infinity */ #define MIPS_FCSR_FLAGS __BITS(6,2) @@ -1034,7 +1034,7 @@ #define MIPS_BCM3302 0x90 /* MIPS 4KEc_R2-like? ISA 32 Rel 2 */ /* - * Alchemy (company ID 3) use the processor ID field to donote the CPU core + * Alchemy (company ID 3) use the processor ID field to denote the CPU core * revision and the company options field do donate the SOC chip type. */ /* CPU processor revision IDs */ Index: src/sys/arch/prep/include/nvram.h diff -u src/sys/arch/prep/include/nvram.h:1.9 src/sys/arch/prep/include/nvram.h:1.10 --- src/sys/arch/prep/include/nvram.h:1.9 Mon Sep 7 03:49:45 2015 +++ src/sys/arch/prep/include/nvram.h Mon Nov 1 21:28:02 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: nvram.h,v 1.9 2015/09/07 03:49:45 dholland Exp $ */ +/* $NetBSD: nvram.h,v 1.10 2021/11/01 21:28:02 andvar Exp $ */ /*- * Copyright (c) 2006 The NetBSD Foundation, Inc. @@ -46,7 +46,7 @@ #include <dev/ic/mk48txxvar.h> #endif -#define MAX_PREP_NVRAM 0x8000 /* maxmum size of the nvram */ +#define MAX_PREP_NVRAM 0x8000 /* maximum size of the nvram */ #define NVSIZE 4096 /* standard nvram size */ #define OSAREASIZE 512 /* size of OSArea space */ Index: src/sys/arch/sparc/sparc/pci_fixup.c diff -u src/sys/arch/sparc/sparc/pci_fixup.c:1.4 src/sys/arch/sparc/sparc/pci_fixup.c:1.5 --- src/sys/arch/sparc/sparc/pci_fixup.c:1.4 Sun Jan 24 07:36:54 2021 +++ src/sys/arch/sparc/sparc/pci_fixup.c Mon Nov 1 21:28:02 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: pci_fixup.c,v 1.4 2021/01/24 07:36:54 mrg Exp $ */ +/* $NetBSD: pci_fixup.c,v 1.5 2021/11/01 21:28:02 andvar Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -101,7 +101,7 @@ mspcic_pci_scan(int root) /* * Scan our known PCI devices and collect: * maximum bus number - * maxium used address in each I/O and memory range + * maximum used address in each I/O and memory range */ while(node) { uint32_t busrange[2]; Index: src/sys/arch/x68k/include/iteioctl.h diff -u src/sys/arch/x68k/include/iteioctl.h:1.9 src/sys/arch/x68k/include/iteioctl.h:1.10 --- src/sys/arch/x68k/include/iteioctl.h:1.9 Mon Sep 7 03:49:46 2015 +++ src/sys/arch/x68k/include/iteioctl.h Mon Nov 1 21:28:02 2021 @@ -34,7 +34,7 @@ * from: Utah $Hdr: iteioctl.h 1.1 90/07/09$ * * @(#)iteioctl.h 7.2 (Berkeley) 11/4/90 - * $NetBSD: iteioctl.h,v 1.9 2015/09/07 03:49:46 dholland Exp $ + * $NetBSD: iteioctl.h,v 1.10 2021/11/01 21:28:02 andvar Exp $ */ #ifndef _X68K_ITEIOCTL_H_ @@ -55,7 +55,7 @@ struct iterepeat { int start; /* number of 100/s before repeat start */ int next; /* number of 100/s before next repeat */ }; -#define ITEMINREPEAT 5 /* mininum number of 100/s for key repeat */ +#define ITEMINREPEAT 5 /* minimum number of 100/s for key repeat */ #define ITEIOCSKMAP _IOW('Z',0x70, struct kbdmap) #define ITEIOCGKMAP _IOR('Z',0x71, struct kbdmap) Index: src/sys/dev/acpi/vald_acpi.c diff -u src/sys/dev/acpi/vald_acpi.c:1.6 src/sys/dev/acpi/vald_acpi.c:1.7 --- src/sys/dev/acpi/vald_acpi.c:1.6 Fri Jan 29 15:49:55 2021 +++ src/sys/dev/acpi/vald_acpi.c Mon Nov 1 21:28:03 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: vald_acpi.c,v 1.6 2021/01/29 15:49:55 thorpej Exp $ */ +/* $NetBSD: vald_acpi.c,v 1.7 2021/11/01 21:28:03 andvar Exp $ */ /*- * Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -74,7 +74,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: vald_acpi.c,v 1.6 2021/01/29 15:49:55 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: vald_acpi.c,v 1.7 2021/11/01 21:28:03 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -546,7 +546,7 @@ vald_acpi_libright_set(struct vald_acpi_ /* Check index value. */ if (sc->lcd_index < 2) - sc->lcd_index = 2; /* index Minium Value */ + sc->lcd_index = 2; /* index Minimum Value */ if (sc->lcd_index >= sc->lcd_num) sc->lcd_index = sc->lcd_num - 1; Index: src/sys/dev/cardbus/cardbus.c diff -u src/sys/dev/cardbus/cardbus.c:1.112 src/sys/dev/cardbus/cardbus.c:1.113 --- src/sys/dev/cardbus/cardbus.c:1.112 Sat Aug 7 16:19:10 2021 +++ src/sys/dev/cardbus/cardbus.c Mon Nov 1 21:28:03 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: cardbus.c,v 1.112 2021/08/07 16:19:10 thorpej Exp $ */ +/* $NetBSD: cardbus.c,v 1.113 2021/11/01 21:28:03 andvar Exp $ */ /* * Copyright (c) 1997, 1998, 1999 and 2000 @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: cardbus.c,v 1.112 2021/08/07 16:19:10 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cardbus.c,v 1.113 2021/11/01 21:28:03 andvar Exp $"); #include "opt_cardbus.h" @@ -448,7 +448,7 @@ cardbus_rescan(device_t self, const char tag = cardbus_make_tag(cc, cf, sc->sc_bus, function); /* - * Wait until power comes up. Maxmum 500 ms. + * Wait until power comes up. Maximum 500 ms. * * XXX What is this for? The bridge driver ought to have waited * XXX already. Index: src/sys/dev/i2o/dptivar.h diff -u src/sys/dev/i2o/dptivar.h:1.9 src/sys/dev/i2o/dptivar.h:1.10 --- src/sys/dev/i2o/dptivar.h:1.9 Sat Oct 27 17:18:17 2012 +++ src/sys/dev/i2o/dptivar.h Mon Nov 1 21:28:03 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: dptivar.h,v 1.9 2012/10/27 17:18:17 chs Exp $ */ +/* $NetBSD: dptivar.h,v 1.10 2021/11/01 21:28:03 andvar Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -265,7 +265,7 @@ struct dpt_sysinfo { #define PROC_i960 0x05 /* Intel i960 */ #define PROC_ULTRASPARC 0x06 /* SPARC processor */ -/* Specific Minimim Processor - u_int8_t dsProcessor; FLAG BITS */ +/* Specific Minimum Processor - u_int8_t dsProcessor; FLAG BITS */ /* ------------------------------------------------------------------ */ /* Different bit definitions dependent on processor_family */ Index: src/sys/dev/pci/ixgbe/ixgbe_type.h diff -u src/sys/dev/pci/ixgbe/ixgbe_type.h:1.49 src/sys/dev/pci/ixgbe/ixgbe_type.h:1.50 --- src/sys/dev/pci/ixgbe/ixgbe_type.h:1.49 Wed May 19 08:19:20 2021 +++ src/sys/dev/pci/ixgbe/ixgbe_type.h Mon Nov 1 21:28:03 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: ixgbe_type.h,v 1.49 2021/05/19 08:19:20 msaitoh Exp $ */ +/* $NetBSD: ixgbe_type.h,v 1.50 2021/11/01 21:28:03 andvar Exp $ */ /****************************************************************************** SPDX-License-Identifier: BSD-3-Clause @@ -358,7 +358,7 @@ struct ixgbe_nvm_version { #define IXGBE_MIN_INT_RATE 956 /* On 82599 and newer, minimum RSC_DELAY is 4us. ITR interval must be larger * than RSC_DELAY if RSC is used. ITR_INTERVAL is in 2(.048) us units on 10G - * and 1G. The minimun EITR is 6us. + * and 1G. The minimum EITR is 6us. */ #define IXGBE_MIN_RSC_EITR_10G1G 0x00000018 #define IXGBE_MAX_EITR 0x00000FF8 @@ -1504,7 +1504,7 @@ struct ixgbe_dmac_config { #define IXGBE_CTRL_RST_MASK (IXGBE_CTRL_LNK_RST | IXGBE_CTRL_RST) /* FACTPS */ -#define IXGBE_FACTPS_MNGCG 0x20000000 /* Manageblility Clock Gated */ +#define IXGBE_FACTPS_MNGCG 0x20000000 /* Managebility Clock Gated */ #define IXGBE_FACTPS_LFS 0x40000000 /* LAN Function Select */ /* MHADD Bit Masks */ @@ -2360,7 +2360,7 @@ enum { /* EEPROM Addressing bits based on type (0-small, 1-large) */ #define IXGBE_EEC_ADDR_SIZE 0x00000400 #define IXGBE_EEC_SIZE 0x00007800 /* EEPROM Size */ -#define IXGBE_EERD_MAX_ADDR 0x00003FFF /* EERD alows 14 bits for addr. */ +#define IXGBE_EERD_MAX_ADDR 0x00003FFF /* EERD allows 14 bits for addr. */ #define IXGBE_EEC_SIZE_SHIFT 11 #define IXGBE_EEPROM_WORD_SIZE_SHIFT 6 Index: src/sys/kern/vfs_cache.c diff -u src/sys/kern/vfs_cache.c:1.151 src/sys/kern/vfs_cache.c:1.152 --- src/sys/kern/vfs_cache.c:1.151 Tue Sep 21 14:56:08 2021 +++ src/sys/kern/vfs_cache.c Mon Nov 1 21:28:03 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: vfs_cache.c,v 1.151 2021/09/21 14:56:08 christos Exp $ */ +/* $NetBSD: vfs_cache.c,v 1.152 2021/11/01 21:28:03 andvar Exp $ */ /*- * Copyright (c) 2008, 2019, 2020 The NetBSD Foundation, Inc. @@ -172,7 +172,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: vfs_cache.c,v 1.151 2021/09/21 14:56:08 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: vfs_cache.c,v 1.152 2021/11/01 21:28:03 andvar Exp $"); #define __NAMECACHE_PRIVATE #ifdef _KERNEL_OPT @@ -1372,7 +1372,7 @@ cache_reclaim(void) int toscan; /* - * Scan up to a preset maxium number of entries, but no more than + * Scan up to a preset maximum number of entries, but no more than * 0.8% of the total at once (to allow for very small systems). * * On bigger systems, do a larger chunk of work to reduce the number Index: src/usr.bin/seq/seq.1 diff -u src/usr.bin/seq/seq.1:1.10 src/usr.bin/seq/seq.1:1.11 --- src/usr.bin/seq/seq.1:1.10 Mon Dec 17 20:10:51 2018 +++ src/usr.bin/seq/seq.1 Mon Nov 1 21:28:03 2021 @@ -1,4 +1,4 @@ -.\" $NetBSD: seq.1,v 1.10 2018/12/17 20:10:51 christos Exp $ +.\" $NetBSD: seq.1,v 1.11 2021/11/01 21:28:03 andvar Exp $ .\" .\" Copyright (c) 2005 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -89,7 +89,7 @@ Only the and .Cm % conversion characters are valid, along with any optional -flags and an optional numeric mimimum field width or precision. +flags and an optional numeric minimum field width or precision. The .Ar format can contain character escape sequences in backslash notation as