Module Name: src Committed By: andvar Date: Tue May 14 19:00:45 UTC 2024
Modified Files: src/lib/libc/db/recno: rec_utils.c src/share/examples/emul/ultrix/etc: svc.conf src/sys/arch/arc/include: vmparam.h src/sys/arch/hp300/DOC: HPMMU.notes src/sys/arch/hppa/dev: viper.h src/sys/arch/luna68k/include: vmparam.h src/sys/arch/xen/x86: xen_bus_dma.c src/sys/coda: coda_vnops.c src/sys/dev/ic: hd64570reg.h src/sys/dev/usb: if_atu.c src/sys/fs/ntfs: TODO src/sys/kern: kern_fork.c src/sys/netinet: tcp_congctl.c src/sys/ufs/ext2fs: ext2fs_alloc.c Log Message: fix recently committed typos by msaitoh in few more places, as well as few more. mainly s/contigous/contiguous/ and s/miliseconds/milliseconds/ in comments. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libc/db/recno/rec_utils.c cvs rdiff -u -r1.1 -r1.2 src/share/examples/emul/ultrix/etc/svc.conf cvs rdiff -u -r1.11 -r1.12 src/sys/arch/arc/include/vmparam.h cvs rdiff -u -r1.6 -r1.7 src/sys/arch/hp300/DOC/HPMMU.notes cvs rdiff -u -r1.3 -r1.4 src/sys/arch/hppa/dev/viper.h cvs rdiff -u -r1.24 -r1.25 src/sys/arch/luna68k/include/vmparam.h cvs rdiff -u -r1.33 -r1.34 src/sys/arch/xen/x86/xen_bus_dma.c cvs rdiff -u -r1.118 -r1.119 src/sys/coda/coda_vnops.c cvs rdiff -u -r1.11 -r1.12 src/sys/dev/ic/hd64570reg.h cvs rdiff -u -r1.75 -r1.76 src/sys/dev/usb/if_atu.c cvs rdiff -u -r1.4 -r1.5 src/sys/fs/ntfs/TODO cvs rdiff -u -r1.230 -r1.231 src/sys/kern/kern_fork.c cvs rdiff -u -r1.28 -r1.29 src/sys/netinet/tcp_congctl.c cvs rdiff -u -r1.57 -r1.58 src/sys/ufs/ext2fs/ext2fs_alloc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/db/recno/rec_utils.c diff -u src/lib/libc/db/recno/rec_utils.c:1.14 src/lib/libc/db/recno/rec_utils.c:1.15 --- src/lib/libc/db/recno/rec_utils.c:1.14 Sat Dec 14 18:04:56 2013 +++ src/lib/libc/db/recno/rec_utils.c Tue May 14 19:00:43 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: rec_utils.c,v 1.14 2013/12/14 18:04:56 christos Exp $ */ +/* $NetBSD: rec_utils.c,v 1.15 2024/05/14 19:00:43 andvar Exp $ */ /*- * Copyright (c) 1990, 1993, 1994 @@ -34,7 +34,7 @@ #endif #include <sys/cdefs.h> -__RCSID("$NetBSD: rec_utils.c,v 1.14 2013/12/14 18:04:56 christos Exp $"); +__RCSID("$NetBSD: rec_utils.c,v 1.15 2024/05/14 19:00:43 andvar Exp $"); #include <sys/param.h> @@ -86,7 +86,7 @@ dataonly: return (RET_SUCCESS); /* - * We must copy big keys/data to make them contigous. Otherwise, + * We must copy big keys/data to make them contiguous. Otherwise, * leave the page pinned and don't copy unless the user specified * concurrent access. */ Index: src/share/examples/emul/ultrix/etc/svc.conf diff -u src/share/examples/emul/ultrix/etc/svc.conf:1.1 src/share/examples/emul/ultrix/etc/svc.conf:1.2 --- src/share/examples/emul/ultrix/etc/svc.conf:1.1 Thu Nov 13 03:02:08 1997 +++ src/share/examples/emul/ultrix/etc/svc.conf Tue May 14 19:00:43 2024 @@ -1,4 +1,4 @@ -# $NetBSD: svc.conf,v 1.1 1997/11/13 03:02:08 thorpej Exp $ +# $NetBSD: svc.conf,v 1.2 2024/05/14 19:00:43 andvar Exp $ # # Ultrix-compatible svc.conf file. # Each line below binds a particular database to one or more resolver @@ -8,7 +8,7 @@ # bind - DNS # # Multiple services can be specified by a comma-separated list. -# Order is signficant. Whitespace not allowed except after comments or commas. +# Order is significant. Whitespace not allowed except after comments or commas. # aliases=local # sendmail /etc/aliases: just run native senmamil. auth=local Index: src/sys/arch/arc/include/vmparam.h diff -u src/sys/arch/arc/include/vmparam.h:1.11 src/sys/arch/arc/include/vmparam.h:1.12 --- src/sys/arch/arc/include/vmparam.h:1.11 Thu Mar 28 08:28:16 2019 +++ src/sys/arch/arc/include/vmparam.h Tue May 14 19:00:43 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: vmparam.h,v 1.11 2019/03/28 08:28:16 christos Exp $ */ +/* $NetBSD: vmparam.h,v 1.12 2024/05/14 19:00:43 andvar Exp $ */ /* $OpenBSD: vmparam.h,v 1.3 1997/04/19 17:19:59 pefo Exp $ */ /* NetBSD: vmparam.h,v 1.5 1994/10/26 21:10:10 cgd Exp */ @@ -12,7 +12,7 @@ #define VM_MAX_WIRED_MAP_ADDRESS ((vaddr_t)0xFFFFC000) /* - * Maximum number of contigous physical memory segment. + * Maximum number of contiguous physical memory segment. */ #undef VM_PHYSSEG_MAX #define VM_PHYSSEG_MAX 16 Index: src/sys/arch/hp300/DOC/HPMMU.notes diff -u src/sys/arch/hp300/DOC/HPMMU.notes:1.6 src/sys/arch/hp300/DOC/HPMMU.notes:1.7 --- src/sys/arch/hp300/DOC/HPMMU.notes:1.6 Fri Sep 8 18:51:19 2023 +++ src/sys/arch/hp300/DOC/HPMMU.notes Tue May 14 19:00:43 2024 @@ -1,4 +1,4 @@ -$NetBSD: HPMMU.notes,v 1.6 2023/09/08 18:51:19 andvar Exp $ +$NetBSD: HPMMU.notes,v 1.7 2024/05/14 19:00:43 andvar Exp $ Overview: -------- @@ -28,7 +28,7 @@ Overview: is used with 16 Kbytes of cache on 320 systems and 32 Kbytes on 350 systems. Each cache entry can contain instructions or data, from either user or supervisor space. Separate valid bits are - kept for user and supervisor entries, allowing for descriminatory + kept for user and supervisor entries, allowing for discriminatory flushing of the cache. MMU translation and cache-miss detection are done in parallel. Index: src/sys/arch/hppa/dev/viper.h diff -u src/sys/arch/hppa/dev/viper.h:1.3 src/sys/arch/hppa/dev/viper.h:1.4 --- src/sys/arch/hppa/dev/viper.h:1.3 Sat May 6 22:17:28 2023 +++ src/sys/arch/hppa/dev/viper.h Tue May 14 19:00:43 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: viper.h,v 1.3 2023/05/06 22:17:28 andvar Exp $ */ +/* $NetBSD: viper.h,v 1.4 2024/05/14 19:00:43 andvar Exp $ */ /* $OpenBSD: viper.h,v 1.2 1999/06/29 20:56:10 mickey Exp $ */ @@ -146,7 +146,7 @@ struct vi_trs { ** Viper also creates HPA registers for the graphics accelerator (Venom). ** Venom has two sets of registers; the User HPA contains registers that ** users are allowed to access, while the Supervisor HPA is only accessible -** by code running at the most priviliged level. Both sets of registers +** by code running at the most privileged level. Both sets of registers ** are defined below. */ Index: src/sys/arch/luna68k/include/vmparam.h diff -u src/sys/arch/luna68k/include/vmparam.h:1.24 src/sys/arch/luna68k/include/vmparam.h:1.25 --- src/sys/arch/luna68k/include/vmparam.h:1.24 Sun Jan 15 05:08:33 2023 +++ src/sys/arch/luna68k/include/vmparam.h Tue May 14 19:00:43 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: vmparam.h,v 1.24 2023/01/15 05:08:33 tsutsui Exp $ */ +/* $NetBSD: vmparam.h,v 1.25 2024/05/14 19:00:43 andvar Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -97,7 +97,7 @@ /* * Constants which control the way the VM system deals with memory segments. - * Only one physical contigous memory segment. + * Only one physical contiguous memory segment. */ #define VM_PHYSSEG_MAX 1 #define VM_PHYSSEG_STRAT VM_PSTRAT_BSEARCH Index: src/sys/arch/xen/x86/xen_bus_dma.c diff -u src/sys/arch/xen/x86/xen_bus_dma.c:1.33 src/sys/arch/xen/x86/xen_bus_dma.c:1.34 --- src/sys/arch/xen/x86/xen_bus_dma.c:1.33 Sat Aug 20 23:48:51 2022 +++ src/sys/arch/xen/x86/xen_bus_dma.c Tue May 14 19:00:44 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: xen_bus_dma.c,v 1.33 2022/08/20 23:48:51 riastradh Exp $ */ +/* $NetBSD: xen_bus_dma.c,v 1.34 2024/05/14 19:00:44 andvar Exp $ */ /* NetBSD bus_dma.c,v 1.21 2005/04/16 07:53:35 yamt Exp */ /*- @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: xen_bus_dma.c,v 1.33 2022/08/20 23:48:51 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: xen_bus_dma.c,v 1.34 2024/05/14 19:00:44 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -85,7 +85,7 @@ _xen_alloc_contig(bus_size_t size, bus_s struct xen_memory_reservation res; /* - * When requesting a contigous memory region, the hypervisor will + * When requesting a contiguous memory region, the hypervisor will * return a memory range aligned on size. * The only way to enforce alignment is to request a memory region * of size max(alignment, size). @@ -313,7 +313,7 @@ dorealloc: /* * Too much segments, or memory doesn't fit * constraints. Free this memory and - * get a contigous segment from the hypervisor. + * get a contiguous segment from the hypervisor. */ uvm_pglistfree(&mlist); for (curseg = 0; curseg < nsegs; curseg++) { Index: src/sys/coda/coda_vnops.c diff -u src/sys/coda/coda_vnops.c:1.118 src/sys/coda/coda_vnops.c:1.119 --- src/sys/coda/coda_vnops.c:1.118 Sun Mar 27 16:24:58 2022 +++ src/sys/coda/coda_vnops.c Tue May 14 19:00:44 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: coda_vnops.c,v 1.118 2022/03/27 16:24:58 christos Exp $ */ +/* $NetBSD: coda_vnops.c,v 1.119 2024/05/14 19:00:44 andvar Exp $ */ /* * @@ -46,7 +46,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: coda_vnops.c,v 1.118 2022/03/27 16:24:58 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: coda_vnops.c,v 1.119 2024/05/14 19:00:44 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -797,7 +797,7 @@ coda_fsync(void *v) return(ENODEV); } - /* Check for fsync of control object or unitialized cnode. */ + /* Check for fsync of control object or uninitialized cnode. */ if (IS_CTL_VP(vp) || vp->v_type == VNON) { MARK_INT_SAT(CODA_FSYNC_STATS); return(0); Index: src/sys/dev/ic/hd64570reg.h diff -u src/sys/dev/ic/hd64570reg.h:1.11 src/sys/dev/ic/hd64570reg.h:1.12 --- src/sys/dev/ic/hd64570reg.h:1.11 Sun Dec 11 12:21:26 2005 +++ src/sys/dev/ic/hd64570reg.h Tue May 14 19:00:44 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: hd64570reg.h,v 1.11 2005/12/11 12:21:26 christos Exp $ */ +/* $NetBSD: hd64570reg.h,v 1.12 2024/05/14 19:00:44 andvar Exp $ */ /* * Copyright (c) 1998 Vixie Enterprises @@ -340,7 +340,7 @@ struct hdlc_llc_header { #define SCA_RXS_CLK_ADPLL_OUT 0x60 /* BRG out for ADPLL clock */ #define SCA_RXS_CLK_ADPLL_IN 0x70 /* line input for ADPLL clock */ -#define SCA_TXS_DIV_MASK 0x0F /* BRG divisor is 2^(valud) */ +#define SCA_TXS_DIV_MASK 0x0F /* BRG divisor is 2^(value) */ #define SCA_TXS_DIV_1 0x00 /* 1 */ #define SCA_TXS_DIV_2 0x01 /* 2 */ #define SCA_TXS_DIV_4 0x02 /* 4 */ Index: src/sys/dev/usb/if_atu.c diff -u src/sys/dev/usb/if_atu.c:1.75 src/sys/dev/usb/if_atu.c:1.76 --- src/sys/dev/usb/if_atu.c:1.75 Thu Mar 3 06:06:52 2022 +++ src/sys/dev/usb/if_atu.c Tue May 14 19:00:44 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: if_atu.c,v 1.75 2022/03/03 06:06:52 riastradh Exp $ */ +/* $NetBSD: if_atu.c,v 1.76 2024/05/14 19:00:44 andvar Exp $ */ /* $OpenBSD: if_atu.c,v 1.48 2004/12/30 01:53:21 dlg Exp $ */ /* * Copyright (c) 2003, 2004 @@ -48,7 +48,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_atu.c,v 1.75 2022/03/03 06:06:52 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_atu.c,v 1.76 2024/05/14 19:00:44 andvar Exp $"); #ifdef _KERNEL_OPT #include "opt_usb.h" @@ -967,7 +967,7 @@ atu_internal_firmware(device_t arg) } /* after a lot of trying and measuring I found out the device needs - * about 56 miliseconds after sending the remap command before + * about 56 milliseconds after sending the remap command before * it's ready to communicate again. So we'll wait just a little bit * longer than that to be sure... */ Index: src/sys/fs/ntfs/TODO diff -u src/sys/fs/ntfs/TODO:1.4 src/sys/fs/ntfs/TODO:1.5 --- src/sys/fs/ntfs/TODO:1.4 Sun Feb 28 15:52:17 2010 +++ src/sys/fs/ntfs/TODO Tue May 14 19:00:44 2024 @@ -1,4 +1,4 @@ -$NetBSD: TODO,v 1.4 2010/02/28 15:52:17 snj Exp $ +$NetBSD: TODO,v 1.5 2024/05/14 19:00:44 andvar Exp $ - convert the code to do caching in buffer cache indexed by file-vnode/file-offset so that NTFS would take advantage of UBC; @@ -10,7 +10,7 @@ $NetBSD: TODO,v 1.4 2010/02/28 15:52:17 - working VOP_BALLOC() (new in UBC) (from Chuq) -- readdir: evalutate impact of using variable length reclen - should +- readdir: evaluate impact of using variable length reclen - should enable us to store much more entries into buf in typical case with short filenames, though more work would need to be done in offset != 0 case Index: src/sys/kern/kern_fork.c diff -u src/sys/kern/kern_fork.c:1.230 src/sys/kern/kern_fork.c:1.231 --- src/sys/kern/kern_fork.c:1.230 Sat Feb 25 08:22:00 2023 +++ src/sys/kern/kern_fork.c Tue May 14 19:00:44 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: kern_fork.c,v 1.230 2023/02/25 08:22:00 skrll Exp $ */ +/* $NetBSD: kern_fork.c,v 1.231 2024/05/14 19:00:44 andvar Exp $ */ /*- * Copyright (c) 1999, 2001, 2004, 2006, 2007, 2008, 2019 @@ -68,7 +68,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: kern_fork.c,v 1.230 2023/02/25 08:22:00 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kern_fork.c,v 1.231 2024/05/14 19:00:44 andvar Exp $"); #include "opt_ktrace.h" #include "opt_dtrace.h" @@ -109,7 +109,7 @@ u_int nprocs __cacheline_aligned = 1; / /* * Number of ticks to sleep if fork() would fail due to process hitting - * limits. Exported in miliseconds to userland via sysctl. + * limits. Exported in milliseconds to userland via sysctl. */ int forkfsleep = 0; Index: src/sys/netinet/tcp_congctl.c diff -u src/sys/netinet/tcp_congctl.c:1.28 src/sys/netinet/tcp_congctl.c:1.29 --- src/sys/netinet/tcp_congctl.c:1.28 Sat Jul 31 20:29:37 2021 +++ src/sys/netinet/tcp_congctl.c Tue May 14 19:00:44 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: tcp_congctl.c,v 1.28 2021/07/31 20:29:37 andvar Exp $ */ +/* $NetBSD: tcp_congctl.c,v 1.29 2024/05/14 19:00:44 andvar Exp $ */ /*- * Copyright (c) 1997, 1998, 1999, 2001, 2005, 2006 The NetBSD Foundation, Inc. @@ -135,7 +135,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: tcp_congctl.c,v 1.28 2021/07/31 20:29:37 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: tcp_congctl.c,v 1.29 2024/05/14 19:00:44 andvar Exp $"); #ifdef _KERNEL_OPT #include "opt_inet.h" @@ -815,7 +815,7 @@ tcp_cubic_update_ctime(struct tcpcb *tp) } /* - * miliseconds from last congestion + * milliseconds from last congestion */ static uint32_t tcp_cubic_diff_ctime(struct tcpcb *tp) Index: src/sys/ufs/ext2fs/ext2fs_alloc.c diff -u src/sys/ufs/ext2fs/ext2fs_alloc.c:1.57 src/sys/ufs/ext2fs/ext2fs_alloc.c:1.58 --- src/sys/ufs/ext2fs/ext2fs_alloc.c:1.57 Mon May 13 00:24:19 2024 +++ src/sys/ufs/ext2fs/ext2fs_alloc.c Tue May 14 19:00:44 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: ext2fs_alloc.c,v 1.57 2024/05/13 00:24:19 msaitoh Exp $ */ +/* $NetBSD: ext2fs_alloc.c,v 1.58 2024/05/14 19:00:44 andvar Exp $ */ /* * Copyright (c) 1982, 1986, 1989, 1993 @@ -60,7 +60,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ext2fs_alloc.c,v 1.57 2024/05/13 00:24:19 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ext2fs_alloc.c,v 1.58 2024/05/14 19:00:44 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -252,8 +252,8 @@ ext2fs_blkpref(struct inode *ip, daddr_t fs = ip->i_e2fs; /* - * if we are doing contigous lbn allocation, try to alloc blocks - * contigously on disk + * if we are doing contiguous lbn allocation, try to alloc blocks + * contiguously on disk */ if ( ip->i_e2fs_last_blk && lbn == ip->i_e2fs_last_lblk + 1) { @@ -381,7 +381,7 @@ ext2fs_alloccg(struct inode *ip, int cg, /* * no blocks in the requested cylinder, so take next * available one in this cylinder group. - * first try to get 8 contigous blocks, then fall back to a single + * first try to get 8 contiguous blocks, then fall back to a single * block. */ if (bpref)