Module Name: src Committed By: andvar Date: Sat Feb 10 18:43:54 UTC 2024
Modified Files: src/common/lib/libprop: prop_array_util.3 src/lib/libc/stdlib: strtoi.3 src/sys/arch/arm/include: proc.h src/sys/arch/atari/atari: atari_init.c src/sys/arch/evbmips/sbmips: disksubr.c src/sys/arch/hpc/hpc: disksubr.c src/sys/arch/macppc/stand/ofwboot: ofdev.c src/sys/arch/playstation2/playstation2: disksubr.c src/sys/arch/sbmips/sbmips: disksubr.c src/sys/arch/sh3/sh3: disksubr.c src/sys/arch/shark/stand/ofwboot: ofdev.c src/sys/arch/vax/conf: files.vax src/sys/compat/linux/common: linux_misc.c src/sys/dev/ic: cs89x0.c mpt_mpilib.h src/sys/dev/marvell: if_mvxpe.c src/sys/dev/microcode/aic7xxx: aicasm_macro_gram.y src/sys/dev/sysmon: swsensor.c src/sys/net: if_gif.c if_ipsec.c src/sys/netipsec: ipsec_input.c src/sys/ufs/lfs: ulfs_extattr.c src/sys/ufs/ufs: ufs_extattr.c src/tests/lib/libdes: t_des.c src/usr.sbin/cpuctl/arch: i386.c src/usr.sbin/sysinst/arch/luna68k: md.c src/usr.sbin/sysinst/arch/ofppc: md.c Log Message: Fix various typos in comments, log messages and documentation. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/common/lib/libprop/prop_array_util.3 cvs rdiff -u -r1.9 -r1.10 src/lib/libc/stdlib/strtoi.3 cvs rdiff -u -r1.19 -r1.20 src/sys/arch/arm/include/proc.h cvs rdiff -u -r1.112 -r1.113 src/sys/arch/atari/atari/atari_init.c cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbmips/sbmips/disksubr.c cvs rdiff -u -r1.22 -r1.23 src/sys/arch/hpc/hpc/disksubr.c cvs rdiff -u -r1.30 -r1.31 src/sys/arch/macppc/stand/ofwboot/ofdev.c cvs rdiff -u -r1.20 -r1.21 src/sys/arch/playstation2/playstation2/disksubr.c cvs rdiff -u -r1.22 -r1.23 src/sys/arch/sbmips/sbmips/disksubr.c cvs rdiff -u -r1.30 -r1.31 src/sys/arch/sh3/sh3/disksubr.c cvs rdiff -u -r1.8 -r1.9 src/sys/arch/shark/stand/ofwboot/ofdev.c cvs rdiff -u -r1.127 -r1.128 src/sys/arch/vax/conf/files.vax cvs rdiff -u -r1.262 -r1.263 src/sys/compat/linux/common/linux_misc.c cvs rdiff -u -r1.53 -r1.54 src/sys/dev/ic/cs89x0.c cvs rdiff -u -r1.5 -r1.6 src/sys/dev/ic/mpt_mpilib.h cvs rdiff -u -r1.40 -r1.41 src/sys/dev/marvell/if_mvxpe.c cvs rdiff -u -r1.3 -r1.4 src/sys/dev/microcode/aic7xxx/aicasm_macro_gram.y cvs rdiff -u -r1.19 -r1.20 src/sys/dev/sysmon/swsensor.c cvs rdiff -u -r1.157 -r1.158 src/sys/net/if_gif.c cvs rdiff -u -r1.35 -r1.36 src/sys/net/if_ipsec.c cvs rdiff -u -r1.79 -r1.80 src/sys/netipsec/ipsec_input.c cvs rdiff -u -r1.17 -r1.18 src/sys/ufs/lfs/ulfs_extattr.c cvs rdiff -u -r1.54 -r1.55 src/sys/ufs/ufs/ufs_extattr.c cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libdes/t_des.c cvs rdiff -u -r1.142 -r1.143 src/usr.sbin/cpuctl/arch/i386.c cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/sysinst/arch/luna68k/md.c cvs rdiff -u -r1.13 -r1.14 src/usr.sbin/sysinst/arch/ofppc/md.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/lib/libprop/prop_array_util.3 diff -u src/common/lib/libprop/prop_array_util.3:1.12 src/common/lib/libprop/prop_array_util.3:1.13 --- src/common/lib/libprop/prop_array_util.3:1.12 Sun Mar 26 19:10:32 2023 +++ src/common/lib/libprop/prop_array_util.3 Sat Feb 10 18:43:51 2024 @@ -1,4 +1,4 @@ -.\" $NetBSD: prop_array_util.3,v 1.12 2023/03/26 19:10:32 andvar Exp $ +.\" $NetBSD: prop_array_util.3,v 1.13 2024/02/10 18:43:51 andvar Exp $ .\" .\" Copyright (c) 2006, 2020 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -339,7 +339,7 @@ The getters check the type of the return ensure that the returned value is within the range implied by the getter's value type. .Pp -The setters and addders handle object creation and release for the caller. +The setters and adders handle object creation and release for the caller. .Pp If the .Fa sizep Index: src/lib/libc/stdlib/strtoi.3 diff -u src/lib/libc/stdlib/strtoi.3:1.9 src/lib/libc/stdlib/strtoi.3:1.10 --- src/lib/libc/stdlib/strtoi.3:1.9 Sat Jan 20 16:45:07 2024 +++ src/lib/libc/stdlib/strtoi.3 Sat Feb 10 18:43:51 2024 @@ -1,4 +1,4 @@ -.\" $NetBSD: strtoi.3,v 1.9 2024/01/20 16:45:07 christos Exp $ +.\" $NetBSD: strtoi.3,v 1.10 2024/02/10 18:43:51 andvar Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -71,7 +71,7 @@ and ensures that the result is always in .Fa lo .. .Fa hi ]. -In adddition it always places +In addition it always places .Dv 0 on success or a conversion status in the .Fa rstatus Index: src/sys/arch/arm/include/proc.h diff -u src/sys/arch/arm/include/proc.h:1.19 src/sys/arch/arm/include/proc.h:1.20 --- src/sys/arch/arm/include/proc.h:1.19 Fri Aug 14 16:18:36 2020 +++ src/sys/arch/arm/include/proc.h Sat Feb 10 18:43:51 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: proc.h,v 1.19 2020/08/14 16:18:36 skrll Exp $ */ +/* $NetBSD: proc.h,v 1.20 2024/02/10 18:43:51 andvar Exp $ */ /* * Copyright (c) 1994 Mark Brinicombe. @@ -48,7 +48,7 @@ struct mdlwp { volatile uint32_t md_astpending; }; -/* Flags setttings for md_flags */ +/* Flags settings for md_flags */ #define MDLWP_NOALIGNFLT 0x00000002 /* For EXEC_AOUT */ #define MDLWP_VFPINTR 0x00000004 /* VFP used in intr */ Index: src/sys/arch/atari/atari/atari_init.c diff -u src/sys/arch/atari/atari/atari_init.c:1.112 src/sys/arch/atari/atari/atari_init.c:1.113 --- src/sys/arch/atari/atari/atari_init.c:1.112 Sat Jan 20 00:15:30 2024 +++ src/sys/arch/atari/atari/atari_init.c Sat Feb 10 18:43:51 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: atari_init.c,v 1.112 2024/01/20 00:15:30 thorpej Exp $ */ +/* $NetBSD: atari_init.c,v 1.113 2024/02/10 18:43:51 andvar Exp $ */ /* * Copyright (c) 1995 Leo Weppelman @@ -33,7 +33,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: atari_init.c,v 1.112 2024/01/20 00:15:30 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: atari_init.c,v 1.113 2024/02/10 18:43:51 andvar Exp $"); #include "opt_ddb.h" #include "opt_mbtype.h" @@ -288,7 +288,7 @@ start_c(int id, u_int ttphystart, u_int * If we have enough RAMs reserve ST memory including for the Xserver. * Otherwise just allocate minimum one for SCSI and FDC. * - * The round_page() call is ment to correct errors made by + * The round_page() call is meant to correct errors made by * binpatching! */ if (st_pool_size > ST_POOL_SIZE_MIN * PAGE_SIZE && Index: src/sys/arch/evbmips/sbmips/disksubr.c diff -u src/sys/arch/evbmips/sbmips/disksubr.c:1.2 src/sys/arch/evbmips/sbmips/disksubr.c:1.3 --- src/sys/arch/evbmips/sbmips/disksubr.c:1.2 Wed Apr 3 22:10:50 2019 +++ src/sys/arch/evbmips/sbmips/disksubr.c Sat Feb 10 18:43:51 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: disksubr.c,v 1.2 2019/04/03 22:10:50 christos Exp $ */ +/* $NetBSD: disksubr.c,v 1.3 2024/02/10 18:43:51 andvar Exp $ */ /* * Copyright (c) 1982, 1986, 1988 Regents of the University of California. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.2 2019/04/03 22:10:50 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.3 2024/02/10 18:43:51 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -45,7 +45,7 @@ static struct mbr_partition * mbr_findslice(struct mbr_partition* dp, struct buf *bp); /* - * Scan MBR for NetBSD partittion. Return NO_MBR_SIGNATURE if no MBR found + * Scan MBR for NetBSD partition. Return NO_MBR_SIGNATURE if no MBR found * Otherwise, copy valid MBR partition-table into dp, and if a NetBSD * partition is found, return a pointer to it; else return NULL. */ Index: src/sys/arch/hpc/hpc/disksubr.c diff -u src/sys/arch/hpc/hpc/disksubr.c:1.22 src/sys/arch/hpc/hpc/disksubr.c:1.23 --- src/sys/arch/hpc/hpc/disksubr.c:1.22 Wed Apr 3 22:10:50 2019 +++ src/sys/arch/hpc/hpc/disksubr.c Sat Feb 10 18:43:51 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: disksubr.c,v 1.22 2019/04/03 22:10:50 christos Exp $ */ +/* $NetBSD: disksubr.c,v 1.23 2024/02/10 18:43:51 andvar Exp $ */ /* * Copyright (c) 1982, 1986, 1988 Regents of the University of California. @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.22 2019/04/03 22:10:50 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.23 2024/02/10 18:43:51 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -54,7 +54,7 @@ static struct mbr_partition * mbr_findslice(struct mbr_partition* dp, struct buf *bp); /* - * Scan MBR for NetBSD partittion. Return NO_MBR_SIGNATURE if no MBR found + * Scan MBR for NetBSD partition. Return NO_MBR_SIGNATURE if no MBR found * Otherwise, copy valid MBR partition-table into dp, and if a NetBSD * partition is found, return a pointer to it; else return NULL. */ Index: src/sys/arch/macppc/stand/ofwboot/ofdev.c diff -u src/sys/arch/macppc/stand/ofwboot/ofdev.c:1.30 src/sys/arch/macppc/stand/ofwboot/ofdev.c:1.31 --- src/sys/arch/macppc/stand/ofwboot/ofdev.c:1.30 Tue Aug 17 22:00:30 2021 +++ src/sys/arch/macppc/stand/ofwboot/ofdev.c Sat Feb 10 18:43:51 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: ofdev.c,v 1.30 2021/08/17 22:00:30 andvar Exp $ */ +/* $NetBSD: ofdev.c,v 1.31 2024/02/10 18:43:51 andvar Exp $ */ /* * Copyright (C) 1995, 1996 Wolfgang Solfrank. @@ -464,7 +464,7 @@ devopen(struct open_file *of, const char if (error == ERDLAB) { if (partition) /* - * User specified a parititon, + * User specified a partition, * but there is none */ goto bad; Index: src/sys/arch/playstation2/playstation2/disksubr.c diff -u src/sys/arch/playstation2/playstation2/disksubr.c:1.20 src/sys/arch/playstation2/playstation2/disksubr.c:1.21 --- src/sys/arch/playstation2/playstation2/disksubr.c:1.20 Wed Apr 3 22:10:51 2019 +++ src/sys/arch/playstation2/playstation2/disksubr.c Sat Feb 10 18:43:52 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: disksubr.c,v 1.20 2019/04/03 22:10:51 christos Exp $ */ +/* $NetBSD: disksubr.c,v 1.21 2024/02/10 18:43:52 andvar Exp $ */ /* * Copyright (c) 1982, 1986, 1988 Regents of the University of California. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.20 2019/04/03 22:10:51 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.21 2024/02/10 18:43:52 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -44,7 +44,7 @@ static struct mbr_partition * mbr_findslice(struct mbr_partition* dp, struct buf *bp); /* - * Scan MBR for NetBSD partittion. Return NO_MBR_SIGNATURE if no MBR found + * Scan MBR for NetBSD partition. Return NO_MBR_SIGNATURE if no MBR found * Otherwise, copy valid MBR partition-table into dp, and if a NetBSD * partition is found, return a pointer to it; else return NULL. */ Index: src/sys/arch/sbmips/sbmips/disksubr.c diff -u src/sys/arch/sbmips/sbmips/disksubr.c:1.22 src/sys/arch/sbmips/sbmips/disksubr.c:1.23 --- src/sys/arch/sbmips/sbmips/disksubr.c:1.22 Wed Apr 3 22:10:51 2019 +++ src/sys/arch/sbmips/sbmips/disksubr.c Sat Feb 10 18:43:52 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: disksubr.c,v 1.22 2019/04/03 22:10:51 christos Exp $ */ +/* $NetBSD: disksubr.c,v 1.23 2024/02/10 18:43:52 andvar Exp $ */ /* * Copyright (c) 1982, 1986, 1988 Regents of the University of California. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.22 2019/04/03 22:10:51 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.23 2024/02/10 18:43:52 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -45,7 +45,7 @@ static struct mbr_partition * mbr_findslice(struct mbr_partition* dp, struct buf *bp); /* - * Scan MBR for NetBSD partittion. Return NO_MBR_SIGNATURE if no MBR found + * Scan MBR for NetBSD partition. Return NO_MBR_SIGNATURE if no MBR found * Otherwise, copy valid MBR partition-table into dp, and if a NetBSD * partition is found, return a pointer to it; else return NULL. */ Index: src/sys/arch/sh3/sh3/disksubr.c diff -u src/sys/arch/sh3/sh3/disksubr.c:1.30 src/sys/arch/sh3/sh3/disksubr.c:1.31 --- src/sys/arch/sh3/sh3/disksubr.c:1.30 Wed Apr 3 22:10:51 2019 +++ src/sys/arch/sh3/sh3/disksubr.c Sat Feb 10 18:43:52 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: disksubr.c,v 1.30 2019/04/03 22:10:51 christos Exp $ */ +/* $NetBSD: disksubr.c,v 1.31 2024/02/10 18:43:52 andvar Exp $ */ /* * Copyright (c) 1982, 1986, 1988 Regents of the University of California. @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.30 2019/04/03 22:10:51 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.31 2024/02/10 18:43:52 andvar Exp $"); #include "opt_mbr.h" @@ -254,7 +254,7 @@ dkcksum_mmeye(struct disklabel *lp) #endif /* - * Scan MBR for NetBSD partittion. Return NO_MBR_SIGNATURE if no MBR found + * Scan MBR for NetBSD partition. Return NO_MBR_SIGNATURE if no MBR found * Otherwise, copy valid MBR partition-table into dp, and if a NetBSD * partition is found, return a pointer to it; else return NULL. */ Index: src/sys/arch/shark/stand/ofwboot/ofdev.c diff -u src/sys/arch/shark/stand/ofwboot/ofdev.c:1.8 src/sys/arch/shark/stand/ofwboot/ofdev.c:1.9 --- src/sys/arch/shark/stand/ofwboot/ofdev.c:1.8 Wed Sep 13 06:47:28 2006 +++ src/sys/arch/shark/stand/ofwboot/ofdev.c Sat Feb 10 18:43:52 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: ofdev.c,v 1.8 2006/09/13 06:47:28 uebayasi Exp $ */ +/* $NetBSD: ofdev.c,v 1.9 2024/02/10 18:43:52 andvar Exp $ */ /* * Copyright (C) 1995, 1996 Wolfgang Solfrank. @@ -311,7 +311,7 @@ devopen(struct open_file *of, const char if (error == ERDLAB) { if (partition) - /* User specified a parititon, but there is none */ + /* User specified a partition, but there is none */ goto bad; /* No, label, just use complete disk */ ofdev.partoff = 0; Index: src/sys/arch/vax/conf/files.vax diff -u src/sys/arch/vax/conf/files.vax:1.127 src/sys/arch/vax/conf/files.vax:1.128 --- src/sys/arch/vax/conf/files.vax:1.127 Wed Jan 17 16:33:56 2024 +++ src/sys/arch/vax/conf/files.vax Sat Feb 10 18:43:52 2024 @@ -1,4 +1,4 @@ -# $NetBSD: files.vax,v 1.127 2024/01/17 16:33:56 tsutsui Exp $ +# $NetBSD: files.vax,v 1.128 2024/02/10 18:43:52 andvar Exp $ # # new style config file for vax architecture # @@ -225,7 +225,7 @@ file arch/vax/vsa/spx.c spx needs-flag attach le at vsbus with le_vsbus: le24 file arch/vax/if/if_le_vsbus.c le_vsbus -# builtin NCR53C95 SCSI Controlller on VAXstation 4000 VLC/60/9x +# builtin NCR53C95 SCSI Controller on VAXstation 4000 VLC/60/9x #device asc: scsi, ncr53c9x attach asc at vsbus with asc_vsbus file arch/vax/vsa/asc_vsbus.c asc_vsbus Index: src/sys/compat/linux/common/linux_misc.c diff -u src/sys/compat/linux/common/linux_misc.c:1.262 src/sys/compat/linux/common/linux_misc.c:1.263 --- src/sys/compat/linux/common/linux_misc.c:1.262 Fri Aug 18 19:41:19 2023 +++ src/sys/compat/linux/common/linux_misc.c Sat Feb 10 18:43:52 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: linux_misc.c,v 1.262 2023/08/18 19:41:19 christos Exp $ */ +/* $NetBSD: linux_misc.c,v 1.263 2024/02/10 18:43:52 andvar Exp $ */ /*- * Copyright (c) 1995, 1998, 1999, 2008 The NetBSD Foundation, Inc. @@ -57,7 +57,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_misc.c,v 1.262 2023/08/18 19:41:19 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_misc.c,v 1.263 2024/02/10 18:43:52 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -331,7 +331,7 @@ linux_sys_waitid(struct lwp *l, const st } /* - * Convert the opttions argument for wait4(2) and waitid(2) from what + * Convert the options argument for wait4(2) and waitid(2) from what * Linux wants to what NetBSD wants. */ static int Index: src/sys/dev/ic/cs89x0.c diff -u src/sys/dev/ic/cs89x0.c:1.53 src/sys/dev/ic/cs89x0.c:1.54 --- src/sys/dev/ic/cs89x0.c:1.53 Fri Feb 9 22:08:34 2024 +++ src/sys/dev/ic/cs89x0.c Sat Feb 10 18:43:52 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: cs89x0.c,v 1.53 2024/02/09 22:08:34 andvar Exp $ */ +/* $NetBSD: cs89x0.c,v 1.54 2024/02/10 18:43:52 andvar Exp $ */ /* * Copyright (c) 2004 Christopher Gilbert @@ -212,7 +212,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: cs89x0.c,v 1.53 2024/02/09 22:08:34 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cs89x0.c,v 1.54 2024/02/10 18:43:52 andvar Exp $"); #include "opt_inet.h" @@ -302,7 +302,7 @@ static int cs_read_pktpg_from_eeprom(str * worse is the next 'worse' state in the table. * * Transition to the next worse state happens automatically when a - * transmittion underrun occurs. + * transmission underrun occurs. */ struct cs_xmit_early { uint16_t txcmd; Index: src/sys/dev/ic/mpt_mpilib.h diff -u src/sys/dev/ic/mpt_mpilib.h:1.5 src/sys/dev/ic/mpt_mpilib.h:1.6 --- src/sys/dev/ic/mpt_mpilib.h:1.5 Mon Apr 4 19:33:45 2022 +++ src/sys/dev/ic/mpt_mpilib.h Sat Feb 10 18:43:52 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: mpt_mpilib.h,v 1.5 2022/04/04 19:33:45 andvar Exp $ */ +/* $NetBSD: mpt_mpilib.h,v 1.6 2024/02/10 18:43:52 andvar Exp $ */ /* * Copyright (c) 2000, 2001 by LSI Logic Corporation @@ -2948,7 +2948,7 @@ typedef struct _MSG_SEP_REPLY * 08-08-01 01.02.01 Original release for v1.2 work. * New format for FWVersion and ProductId in * MSG_IOC_FACTS_REPLY and MPI_FW_HEADER. - * 08-31-01 01.02.02 Addded event MPI_EVENT_SCSI_DEVICE_STATUS_CHANGE and + * 08-31-01 01.02.02 Added event MPI_EVENT_SCSI_DEVICE_STATUS_CHANGE and * related structure and defines. * Added event MPI_EVENT_ON_BUS_TIMER_EXPIRED. * Added MPI_IOCINIT_FLAGS_DISCARD_FW_IMAGE. Index: src/sys/dev/marvell/if_mvxpe.c diff -u src/sys/dev/marvell/if_mvxpe.c:1.40 src/sys/dev/marvell/if_mvxpe.c:1.41 --- src/sys/dev/marvell/if_mvxpe.c:1.40 Mon Apr 4 19:33:45 2022 +++ src/sys/dev/marvell/if_mvxpe.c Sat Feb 10 18:43:52 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: if_mvxpe.c,v 1.40 2022/04/04 19:33:45 andvar Exp $ */ +/* $NetBSD: if_mvxpe.c,v 1.41 2024/02/10 18:43:52 andvar Exp $ */ /* * Copyright (c) 2015 Internet Initiative Japan Inc. * All rights reserved. @@ -25,7 +25,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_mvxpe.c,v 1.40 2022/04/04 19:33:45 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_mvxpe.c,v 1.41 2024/02/10 18:43:52 andvar Exp $"); #include "opt_multiprocessor.h" @@ -449,7 +449,7 @@ mvxpe_attach(device_t parent, device_t s strlcpy(ifp->if_xname, device_xname(sc->sc_dev), sizeof(ifp->if_xname)); /* - * Enable DMA engines and Initiazlie Device Registers. + * Enable DMA engines and Initialize Device Registers. */ MVXPE_WRITE(sc, MVXPE_PRXINIT, 0x00000000); MVXPE_WRITE(sc, MVXPE_PTXINIT, 0x00000000); Index: src/sys/dev/microcode/aic7xxx/aicasm_macro_gram.y diff -u src/sys/dev/microcode/aic7xxx/aicasm_macro_gram.y:1.3 src/sys/dev/microcode/aic7xxx/aicasm_macro_gram.y:1.4 --- src/sys/dev/microcode/aic7xxx/aicasm_macro_gram.y:1.3 Sat Jun 27 16:19:38 2020 +++ src/sys/dev/microcode/aic7xxx/aicasm_macro_gram.y Sat Feb 10 18:43:53 2024 @@ -1,5 +1,5 @@ %{ -/* $NetBSD: aicasm_macro_gram.y,v 1.3 2020/06/27 16:19:38 jdolecek Exp $ */ +/* $NetBSD: aicasm_macro_gram.y,v 1.4 2024/02/10 18:43:53 andvar Exp $ */ /* * Sub-parser for macro invocation in the Aic7xxx SCSI @@ -140,7 +140,7 @@ add_macro_arg(const char *argtext, int a } /* * Macro Invocation. Find the appropriate argument and fill - * in the replace ment text for this call. + * in the replacement text for this call. */ i = 0; STAILQ_FOREACH(marg, ¯o_symbol->info.macroinfo->args, links) { Index: src/sys/dev/sysmon/swsensor.c diff -u src/sys/dev/sysmon/swsensor.c:1.19 src/sys/dev/sysmon/swsensor.c:1.20 --- src/sys/dev/sysmon/swsensor.c:1.19 Fri Dec 31 11:05:41 2021 +++ src/sys/dev/sysmon/swsensor.c Sat Feb 10 18:43:53 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: swsensor.c,v 1.19 2021/12/31 11:05:41 riastradh Exp $ */ +/* $NetBSD: swsensor.c,v 1.20 2024/02/10 18:43:53 andvar Exp $ */ /* * Copyright (c) 2008 The NetBSD Foundation, Inc. * All rights reserved. @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: swsensor.c,v 1.19 2021/12/31 11:05:41 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: swsensor.c,v 1.20 2024/02/10 18:43:53 andvar Exp $"); #include <sys/param.h> #include <sys/kernel.h> @@ -305,7 +305,7 @@ swsensor_init(void *arg) continue; } - /* Unrecognized dicttionary object */ + /* Unrecognized dictionary object */ #ifdef DEBUG printf("%s: unknown attribute %s\n", __func__, key); #endif Index: src/sys/net/if_gif.c diff -u src/sys/net/if_gif.c:1.157 src/sys/net/if_gif.c:1.158 --- src/sys/net/if_gif.c:1.157 Sat Sep 3 02:47:59 2022 +++ src/sys/net/if_gif.c Sat Feb 10 18:43:53 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: if_gif.c,v 1.157 2022/09/03 02:47:59 thorpej Exp $ */ +/* $NetBSD: if_gif.c,v 1.158 2024/02/10 18:43:53 andvar Exp $ */ /* $KAME: if_gif.c,v 1.76 2001/08/20 02:01:02 kjc Exp $ */ /* @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_gif.c,v 1.157 2022/09/03 02:47:59 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_gif.c,v 1.158 2024/02/10 18:43:53 andvar Exp $"); #ifdef _KERNEL_OPT #include "opt_inet.h" @@ -863,7 +863,7 @@ gif_ioctl(struct ifnet *ifp, u_long cmd, /* * calls gif_getref_variant() for other softcs to check - * address pair duplicattion + * address pair duplication */ bound = curlwp_bind(); error = gif_set_tunnel(&sc->gif_if, src, dst); Index: src/sys/net/if_ipsec.c diff -u src/sys/net/if_ipsec.c:1.35 src/sys/net/if_ipsec.c:1.36 --- src/sys/net/if_ipsec.c:1.35 Tue Sep 26 03:43:27 2023 +++ src/sys/net/if_ipsec.c Sat Feb 10 18:43:53 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: if_ipsec.c,v 1.35 2023/09/26 03:43:27 knakahara Exp $ */ +/* $NetBSD: if_ipsec.c,v 1.36 2024/02/10 18:43:53 andvar Exp $ */ /* * Copyright (c) 2017 Internet Initiative Japan Inc. @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_ipsec.c,v 1.35 2023/09/26 03:43:27 knakahara Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_ipsec.c,v 1.36 2024/02/10 18:43:53 andvar Exp $"); #ifdef _KERNEL_OPT #include "opt_inet.h" @@ -900,7 +900,7 @@ if_ipsec_ioctl(struct ifnet *ifp, u_long } /* * calls if_ipsec_getref_variant() for other softcs to check - * address pair duplicattion + * address pair duplication */ bound = curlwp_bind(); error = if_ipsec_set_tunnel(&sc->ipsec_if, src, dst); Index: src/sys/netipsec/ipsec_input.c diff -u src/sys/netipsec/ipsec_input.c:1.79 src/sys/netipsec/ipsec_input.c:1.80 --- src/sys/netipsec/ipsec_input.c:1.79 Fri Jan 27 09:33:43 2023 +++ src/sys/netipsec/ipsec_input.c Sat Feb 10 18:43:53 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: ipsec_input.c,v 1.79 2023/01/27 09:33:43 ozaki-r Exp $ */ +/* $NetBSD: ipsec_input.c,v 1.80 2024/02/10 18:43:53 andvar Exp $ */ /* $FreeBSD: ipsec_input.c,v 1.2.4.2 2003/03/28 20:32:53 sam Exp $ */ /* $OpenBSD: ipsec_input.c,v 1.63 2003/02/20 18:35:43 deraadt Exp $ */ @@ -39,7 +39,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ipsec_input.c,v 1.79 2023/01/27 09:33:43 ozaki-r Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ipsec_input.c,v 1.80 2024/02/10 18:43:53 andvar Exp $"); /* * IPsec input processing. @@ -431,7 +431,7 @@ cantpull: } /* - * There is no struct ifnet for tunnel mode IP-IP tunnel connecttion, + * There is no struct ifnet for tunnel mode IP-IP tunnel connection, * so we cannot write filtering rule to the inner packet. */ if (saidx->mode == IPSEC_MODE_TUNNEL) @@ -586,7 +586,7 @@ ipsec6_common_input_cb(struct mbuf *m, s } /* - * There is no struct ifnet for tunnel mode IP-IP tunnel connecttion, + * There is no struct ifnet for tunnel mode IP-IP tunnel connection, * so we cannot write filtering rule to the inner packet. */ if (saidx->mode == IPSEC_MODE_TUNNEL) Index: src/sys/ufs/lfs/ulfs_extattr.c diff -u src/sys/ufs/lfs/ulfs_extattr.c:1.17 src/sys/ufs/lfs/ulfs_extattr.c:1.18 --- src/sys/ufs/lfs/ulfs_extattr.c:1.17 Tue Jun 29 22:40:54 2021 +++ src/sys/ufs/lfs/ulfs_extattr.c Sat Feb 10 18:43:53 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: ulfs_extattr.c,v 1.17 2021/06/29 22:40:54 dholland Exp $ */ +/* $NetBSD: ulfs_extattr.c,v 1.18 2024/02/10 18:43:53 andvar Exp $ */ /* from NetBSD: ulfs_extattr.c,v 1.48 2016/11/09 05:08:35 dholland Exp */ /*- @@ -49,7 +49,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ulfs_extattr.c,v 1.17 2021/06/29 22:40:54 dholland Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ulfs_extattr.c,v 1.18 2024/02/10 18:43:53 andvar Exp $"); #ifdef _KERNEL_OPT #include "opt_lfs.h" @@ -288,7 +288,7 @@ ulfs_extattr_autocreate_attr(struct vnod uele = ulfs_extattr_find_attr(ump, attrnamespace, attrname); if (uele == NULL) { - printf("%s: atttribute %s created but not found!\n", + printf("%s: attribute %s created but not found!\n", __func__, attrname); vn_close(backing_vp, FREAD|FWRITE, l->l_cred); *uelep = NULL; Index: src/sys/ufs/ufs/ufs_extattr.c diff -u src/sys/ufs/ufs/ufs_extattr.c:1.54 src/sys/ufs/ufs/ufs_extattr.c:1.55 --- src/sys/ufs/ufs/ufs_extattr.c:1.54 Wed Feb 22 21:49:45 2023 +++ src/sys/ufs/ufs/ufs_extattr.c Sat Feb 10 18:43:53 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: ufs_extattr.c,v 1.54 2023/02/22 21:49:45 riastradh Exp $ */ +/* $NetBSD: ufs_extattr.c,v 1.55 2024/02/10 18:43:53 andvar Exp $ */ /*- * Copyright (c) 1999-2002 Robert N. M. Watson @@ -48,7 +48,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ufs_extattr.c,v 1.54 2023/02/22 21:49:45 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ufs_extattr.c,v 1.55 2024/02/10 18:43:53 andvar Exp $"); #ifdef _KERNEL_OPT #include "opt_ffs.h" @@ -285,7 +285,7 @@ ufs_extattr_autocreate_attr(struct vnode uele = ufs_extattr_find_attr(ump, attrnamespace, attrname); if (uele == NULL) { - printf("%s: atttribute `%s' created but not found!\n", + printf("%s: attribute `%s' created but not found!\n", __func__, attrname); vn_close(backing_vp, FREAD|FWRITE, l->l_cred); *uelep = NULL; Index: src/tests/lib/libdes/t_des.c diff -u src/tests/lib/libdes/t_des.c:1.2 src/tests/lib/libdes/t_des.c:1.3 --- src/tests/lib/libdes/t_des.c:1.2 Sun Dec 5 07:33:56 2021 +++ src/tests/lib/libdes/t_des.c Sat Feb 10 18:43:53 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: t_des.c,v 1.2 2021/12/05 07:33:56 msaitoh Exp $ */ +/* $NetBSD: t_des.c,v 1.3 2024/02/10 18:43:53 andvar Exp $ */ /* * Copyright (C) 1995-1998 Eric Young (e...@cryptsoft.com) All rights @@ -247,7 +247,7 @@ static unsigned char cbc_ok[32] = { }; #ifdef SCREW_THE_PARITY -#error "SCREW_THE_PARITY is not ment to be defined." +#error "SCREW_THE_PARITY is not meant to be defined." #error "Original vectors are preserved for reference only." static unsigned char cbc2_key[8] = { 0xf0, 0xe1, 0xd2, 0xc3, 0xb4, 0xa5, 0x96, 0x87, Index: src/usr.sbin/cpuctl/arch/i386.c diff -u src/usr.sbin/cpuctl/arch/i386.c:1.142 src/usr.sbin/cpuctl/arch/i386.c:1.143 --- src/usr.sbin/cpuctl/arch/i386.c:1.142 Thu Jan 18 03:19:26 2024 +++ src/usr.sbin/cpuctl/arch/i386.c Sat Feb 10 18:43:53 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: i386.c,v 1.142 2024/01/18 03:19:26 msaitoh Exp $ */ +/* $NetBSD: i386.c,v 1.143 2024/02/10 18:43:53 andvar Exp $ */ /*- * Copyright (c) 1999, 2000, 2001, 2006, 2007, 2008 The NetBSD Foundation, Inc. @@ -57,7 +57,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: i386.c,v 1.142 2024/01/18 03:19:26 msaitoh Exp $"); +__RCSID("$NetBSD: i386.c,v 1.143 2024/02/10 18:43:53 andvar Exp $"); #endif /* not lint */ #include <sys/types.h> @@ -139,11 +139,11 @@ static const char * const i386_intel_bra "Mobile Pentium 4", /* Mobile Intel (R) Pentium (R) 4 processor-M */ "Mobile Celeron", /* Mobile Intel (R) Celeron (R) processor */ "", /* 0x10: Reserved */ - "Mobile Genuine", /* Moblie Genuine Intel (R) processor */ + "Mobile Genuine", /* Mobile Genuine Intel (R) processor */ "Celeron M", /* Intel (R) Celeron (R) M processor */ "Mobile Celeron", /* Mobile Intel (R) Celeron (R) processor */ "Celeron", /* Intel (R) Celeron (R) processor */ - "Mobile Genuine", /* Moblie Genuine Intel (R) processor */ + "Mobile Genuine", /* Mobile Genuine Intel (R) processor */ "Pentium M", /* Intel (R) Pentium (R) M processor */ "Mobile Celeron", /* Mobile Intel (R) Celeron (R) processor */ }; Index: src/usr.sbin/sysinst/arch/luna68k/md.c diff -u src/usr.sbin/sysinst/arch/luna68k/md.c:1.11 src/usr.sbin/sysinst/arch/luna68k/md.c:1.12 --- src/usr.sbin/sysinst/arch/luna68k/md.c:1.11 Fri Jan 6 18:14:56 2023 +++ src/usr.sbin/sysinst/arch/luna68k/md.c Sat Feb 10 18:43:54 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: md.c,v 1.11 2023/01/06 18:14:56 martin Exp $ */ +/* $NetBSD: md.c,v 1.12 2024/02/10 18:43:54 andvar Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -270,7 +270,7 @@ md_update(struct install_partition_desc return 0; /* - * Check if there is a boot UFS parttion and it has the old bootloader. + * Check if there is a boot UFS partition and it has the old bootloader. * We'll update bootloader only if the old one was installed. */ if (!run_program(RUN_SILENT | RUN_ERROR_OK, Index: src/usr.sbin/sysinst/arch/ofppc/md.c diff -u src/usr.sbin/sysinst/arch/ofppc/md.c:1.13 src/usr.sbin/sysinst/arch/ofppc/md.c:1.14 --- src/usr.sbin/sysinst/arch/ofppc/md.c:1.13 Sat Jan 29 16:01:19 2022 +++ src/usr.sbin/sysinst/arch/ofppc/md.c Sat Feb 10 18:43:54 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: md.c,v 1.13 2022/01/29 16:01:19 martin Exp $ */ +/* $NetBSD: md.c,v 1.14 2024/02/10 18:43:54 andvar Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -587,7 +587,7 @@ md_check_mbr(struct disk_partitions *par return ask_reedit(parts); } - /* check the fat12 parititons */ + /* check the fat12 partitions */ if (pm->bootsize > 0 && pm->bootsize < (MIN_FAT12_BOOT/512)) { if (quiet) return 0;