Module Name: src Committed By: msaitoh Date: Fri Dec 27 09:45:27 UTC 2019
Modified Files: src/lib/libpthread: pthread_mutex.3 src/lib/libutil: pidfile.c src/sys/arch/arm/arm32: arm32_machdep.c src/sys/arch/mips/mips: cpu_subr.c src/sys/arch/powerpc/booke: booke_machdep.c src/sys/arch/x86/x86: bios32.c src/sys/dev/audio: audio.c src/sys/dev/ic: aic79xx.c aic7xxx.c src/sys/dev/ppbus: ppbus_conf.c src/sys/stand/efiboot: smbios.c src/usr.bin/vmstat: vmstat.c Log Message: s/sucess/success/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/lib/libpthread/pthread_mutex.3 cvs rdiff -u -r1.14 -r1.15 src/lib/libutil/pidfile.c cvs rdiff -u -r1.129 -r1.130 src/sys/arch/arm/arm32/arm32_machdep.c cvs rdiff -u -r1.42 -r1.43 src/sys/arch/mips/mips/cpu_subr.c cvs rdiff -u -r1.27 -r1.28 src/sys/arch/powerpc/booke/booke_machdep.c cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x86/x86/bios32.c cvs rdiff -u -r1.35 -r1.36 src/sys/dev/audio/audio.c cvs rdiff -u -r1.52 -r1.53 src/sys/dev/ic/aic79xx.c cvs rdiff -u -r1.138 -r1.139 src/sys/dev/ic/aic7xxx.c cvs rdiff -u -r1.20 -r1.21 src/sys/dev/ppbus/ppbus_conf.c cvs rdiff -u -r1.1 -r1.2 src/sys/stand/efiboot/smbios.c cvs rdiff -u -r1.229 -r1.230 src/usr.bin/vmstat/vmstat.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/libpthread/pthread_mutex.3 diff -u src/lib/libpthread/pthread_mutex.3:1.10 src/lib/libpthread/pthread_mutex.3:1.11 --- src/lib/libpthread/pthread_mutex.3:1.10 Sun Oct 22 16:37:24 2017 +++ src/lib/libpthread/pthread_mutex.3 Fri Dec 27 09:45:26 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: pthread_mutex.3,v 1.10 2017/10/22 16:37:24 abhinav Exp $ +.\" $NetBSD: pthread_mutex.3,v 1.11 2019/12/27 09:45:26 msaitoh Exp $ .\" .\" Copyright (c) 2002, 2010 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -176,7 +176,7 @@ function shall return the current priori The .Fn pthread_mutex_setprioceiling function shall either lock the mutex if it is unlocked, or block until -it can sucessfully lock the mutex, then it shall change the mutex's priority +it can successfully lock the mutex, then it shall change the mutex's priority ceiling and release the mutex. When the change is successful, the previous value of the priority ceiling shall be returned Index: src/lib/libutil/pidfile.c diff -u src/lib/libutil/pidfile.c:1.14 src/lib/libutil/pidfile.c:1.15 --- src/lib/libutil/pidfile.c:1.14 Tue Apr 12 20:40:43 2016 +++ src/lib/libutil/pidfile.c Fri Dec 27 09:45:26 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: pidfile.c,v 1.14 2016/04/12 20:40:43 roy Exp $ */ +/* $NetBSD: pidfile.c,v 1.15 2019/12/27 09:45:26 msaitoh Exp $ */ /*- * Copyright (c) 1999, 2016 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ #include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: pidfile.c,v 1.14 2016/04/12 20:40:43 roy Exp $"); +__RCSID("$NetBSD: pidfile.c,v 1.15 2019/12/27 09:45:26 msaitoh Exp $"); #endif #include <sys/param.h> @@ -205,7 +205,7 @@ pidfile_lock(const char *path) if (errno == EAGAIN) { /* The pidfile is locked, return the process ID * it contains. - * If sucessful, set errno to EEXIST. */ + * If successful, set errno to EEXIST. */ if ((pid = pidfile_read(path)) != -1) errno = EEXIST; } else Index: src/sys/arch/arm/arm32/arm32_machdep.c diff -u src/sys/arch/arm/arm32/arm32_machdep.c:1.129 src/sys/arch/arm/arm32/arm32_machdep.c:1.130 --- src/sys/arch/arm/arm32/arm32_machdep.c:1.129 Wed Dec 18 21:45:44 2019 +++ src/sys/arch/arm/arm32/arm32_machdep.c Fri Dec 27 09:45:26 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: arm32_machdep.c,v 1.129 2019/12/18 21:45:44 riastradh Exp $ */ +/* $NetBSD: arm32_machdep.c,v 1.130 2019/12/27 09:45:26 msaitoh Exp $ */ /* * Copyright (c) 1994-1998 Mark Brinicombe. @@ -42,7 +42,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: arm32_machdep.c,v 1.129 2019/12/18 21:45:44 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: arm32_machdep.c,v 1.130 2019/12/27 09:45:26 msaitoh Exp $"); #include "opt_arm_debug.h" #include "opt_arm_start.h" @@ -734,7 +734,7 @@ cpu_uarea_alloc_idlelwp(struct cpu_info void cpu_init_secondary_processor(int cpuindex) { - // pmap_kernel has been sucessfully built and we can switch to it + // pmap_kernel has been successfully built and we can switch to it cpu_domains(DOMAIN_DEFAULT); cpu_idcache_wbinv_all(); Index: src/sys/arch/mips/mips/cpu_subr.c diff -u src/sys/arch/mips/mips/cpu_subr.c:1.42 src/sys/arch/mips/mips/cpu_subr.c:1.43 --- src/sys/arch/mips/mips/cpu_subr.c:1.42 Sat Dec 21 13:00:22 2019 +++ src/sys/arch/mips/mips/cpu_subr.c Fri Dec 27 09:45:26 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: cpu_subr.c,v 1.42 2019/12/21 13:00:22 ad Exp $ */ +/* $NetBSD: cpu_subr.c,v 1.43 2019/12/27 09:45:26 msaitoh Exp $ */ /*- * Copyright (c) 2010, 2019 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: cpu_subr.c,v 1.42 2019/12/21 13:00:22 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cpu_subr.c,v 1.43 2019/12/27 09:45:26 msaitoh Exp $"); #include "opt_cputype.h" #include "opt_ddb.h" @@ -962,7 +962,7 @@ cpu_boot_secondary_processors(void) KASSERT(ci->ci_data.cpu_idlelwp); /* - * Skip this CPU if it didn't sucessfully hatch. + * Skip this CPU if it didn't successfully hatch. */ if (!kcpuset_isset(cpus_hatched, cpu_index(ci))) continue; Index: src/sys/arch/powerpc/booke/booke_machdep.c diff -u src/sys/arch/powerpc/booke/booke_machdep.c:1.27 src/sys/arch/powerpc/booke/booke_machdep.c:1.28 --- src/sys/arch/powerpc/booke/booke_machdep.c:1.27 Sat Dec 21 13:00:22 2019 +++ src/sys/arch/powerpc/booke/booke_machdep.c Fri Dec 27 09:45:26 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: booke_machdep.c,v 1.27 2019/12/21 13:00:22 ad Exp $ */ +/* $NetBSD: booke_machdep.c,v 1.28 2019/12/27 09:45:26 msaitoh Exp $ */ /*- * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc. * All rights reserved. @@ -38,7 +38,7 @@ #define _POWERPC_BUS_DMA_PRIVATE #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: booke_machdep.c,v 1.27 2019/12/21 13:00:22 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: booke_machdep.c,v 1.28 2019/12/27 09:45:26 msaitoh Exp $"); #include "opt_modular.h" @@ -515,7 +515,7 @@ cpu_boot_secondary_processors(void) for (CPU_INFO_FOREACH(cii, ci)) { /* - * Skip this CPU if it didn't sucessfully hatch. + * Skip this CPU if it didn't successfully hatch. */ if (!kcpuset_isset(csi->cpus_hatched, cpu_index(ci))) continue; Index: src/sys/arch/x86/x86/bios32.c diff -u src/sys/arch/x86/x86/bios32.c:1.3 src/sys/arch/x86/x86/bios32.c:1.4 --- src/sys/arch/x86/x86/bios32.c:1.3 Mon Feb 11 14:59:33 2019 +++ src/sys/arch/x86/x86/bios32.c Fri Dec 27 09:45:26 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: bios32.c,v 1.3 2019/02/11 14:59:33 cherry Exp $ */ +/* $NetBSD: bios32.c,v 1.4 2019/12/27 09:45:26 msaitoh Exp $ */ /* * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -86,7 +86,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: bios32.c,v 1.3 2019/02/11 14:59:33 cherry Exp $"); +__KERNEL_RCSID(0, "$NetBSD: bios32.c,v 1.4 2019/12/27 09:45:26 msaitoh Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -357,7 +357,7 @@ smbios3_map_kva(const uint8_t *p) /* * smbios_find_table() takes a caller supplied smbios struct type and * a pointer to a handle (struct smbtable) returning one if the structure - * is sucessfully located and zero otherwise. Callers should take care + * is successfully located and zero otherwise. Callers should take care * to initilize the cookie field of the smbtable structure to zero before * the first invocation of this function. * Multiple tables of the same type can be located by repeadtly calling Index: src/sys/dev/audio/audio.c diff -u src/sys/dev/audio/audio.c:1.35 src/sys/dev/audio/audio.c:1.36 --- src/sys/dev/audio/audio.c:1.35 Thu Dec 26 11:27:03 2019 +++ src/sys/dev/audio/audio.c Fri Dec 27 09:45:26 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: audio.c,v 1.35 2019/12/26 11:27:03 isaki Exp $ */ +/* $NetBSD: audio.c,v 1.36 2019/12/27 09:45:26 msaitoh Exp $ */ /*- * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -142,7 +142,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.35 2019/12/26 11:27:03 isaki Exp $"); +__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.36 2019/12/27 09:45:26 msaitoh Exp $"); #ifdef _KERNEL_OPT #include "audio.h" @@ -4525,7 +4525,7 @@ audio_mixer_calc_blktime(struct audio_so * Initialize the mixer corresponding to the mode. * Set AUMODE_PLAY to the 'mode' for playback or AUMODE_RECORD for recording. * sc->sc_[pr]mixer (corresponding to the 'mode') must be zero-filled. - * This function returns 0 on sucessful. Otherwise returns errno. + * This function returns 0 on successful. Otherwise returns errno. * Must be called with sc_lock held. */ static int Index: src/sys/dev/ic/aic79xx.c diff -u src/sys/dev/ic/aic79xx.c:1.52 src/sys/dev/ic/aic79xx.c:1.53 --- src/sys/dev/ic/aic79xx.c:1.52 Sun Nov 10 21:16:35 2019 +++ src/sys/dev/ic/aic79xx.c Fri Dec 27 09:45:26 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: aic79xx.c,v 1.52 2019/11/10 21:16:35 chs Exp $ */ +/* $NetBSD: aic79xx.c,v 1.53 2019/12/27 09:45:26 msaitoh Exp $ */ /* * Core routines and tables shareable across OS platforms. @@ -49,7 +49,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: aic79xx.c,v 1.52 2019/11/10 21:16:35 chs Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aic79xx.c,v 1.53 2019/12/27 09:45:26 msaitoh Exp $"); #include <dev/ic/aic79xx_osm.h> #include <dev/ic/aic79xx_inline.h> @@ -1579,7 +1579,7 @@ ahd_handle_scsiint(struct ahd_softc *ahd /* * Although the driver does not care about the * 'Selection in Progress' status bit, the busy - * LED does. SELINGO is only cleared by a sucessfull + * LED does. SELINGO is only cleared by a successful * selection, so we must manually clear it to insure * the LED turns off just incase no future successful * selections occur (e.g. no devices on the bus). Index: src/sys/dev/ic/aic7xxx.c diff -u src/sys/dev/ic/aic7xxx.c:1.138 src/sys/dev/ic/aic7xxx.c:1.139 --- src/sys/dev/ic/aic7xxx.c:1.138 Fri Dec 27 09:18:00 2019 +++ src/sys/dev/ic/aic7xxx.c Fri Dec 27 09:45:26 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: aic7xxx.c,v 1.138 2019/12/27 09:18:00 msaitoh Exp $ */ +/* $NetBSD: aic7xxx.c,v 1.139 2019/12/27 09:45:26 msaitoh Exp $ */ /* * Core routines and tables shareable across OS platforms. @@ -39,7 +39,7 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGES. * - * $Id: aic7xxx.c,v 1.138 2019/12/27 09:18:00 msaitoh Exp $ + * $Id: aic7xxx.c,v 1.139 2019/12/27 09:45:26 msaitoh Exp $ * * //depot/aic7xxx/aic7xxx/aic7xxx.c#112 $ * @@ -50,7 +50,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: aic7xxx.c,v 1.138 2019/12/27 09:18:00 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aic7xxx.c,v 1.139 2019/12/27 09:45:26 msaitoh Exp $"); #include <dev/ic/aic7xxx_osm.h> #include <dev/ic/aic7xxx_inline.h> @@ -1165,7 +1165,7 @@ ahc_handle_scsiint(struct ahc_softc *ahc /* * Although the driver does not care about the * 'Selection in Progress' status bit, the busy - * LED does. SELINGO is only cleared by a sucessfull + * LED does. SELINGO is only cleared by a successful * selection, so we must manually clear it to insure * the LED turns off just incase no future successful * selections occur (e.g. no devices on the bus). Index: src/sys/dev/ppbus/ppbus_conf.c diff -u src/sys/dev/ppbus/ppbus_conf.c:1.20 src/sys/dev/ppbus/ppbus_conf.c:1.21 --- src/sys/dev/ppbus/ppbus_conf.c:1.20 Sat Oct 27 17:18:37 2012 +++ src/sys/dev/ppbus/ppbus_conf.c Fri Dec 27 09:45:27 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: ppbus_conf.c,v 1.20 2012/10/27 17:18:37 chs Exp $ */ +/* $NetBSD: ppbus_conf.c,v 1.21 2019/12/27 09:45:27 msaitoh Exp $ */ /*- * Copyright (c) 1997, 1998, 1999 Nicolas Souchu @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ppbus_conf.c,v 1.20 2012/10/27 17:18:37 chs Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ppbus_conf.c,v 1.21 2019/12/27 09:45:27 msaitoh Exp $"); #include "opt_ppbus.h" #include "opt_ppbus_1284.h" @@ -144,7 +144,7 @@ ppbus_attach(device_t parent, device_t s ppbus->sc_1284_state = PPBUS_FORWARD_IDLE; ppbus->sc_1284_error = PPBUS_NO_ERROR; - /* Record device's sucessful attachment */ + /* Record device's successful attachment */ ppbus->sc_dev_ok = PPBUS_OK; #ifndef DONTPROBE_1284 Index: src/sys/stand/efiboot/smbios.c diff -u src/sys/stand/efiboot/smbios.c:1.1 src/sys/stand/efiboot/smbios.c:1.2 --- src/sys/stand/efiboot/smbios.c:1.1 Sat Nov 30 13:02:18 2019 +++ src/sys/stand/efiboot/smbios.c Fri Dec 27 09:45:27 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: smbios.c,v 1.1 2019/11/30 13:02:18 jmcneill Exp $ */ +/* $NetBSD: smbios.c,v 1.2 2019/12/27 09:45:27 msaitoh Exp $ */ /* * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -82,7 +82,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: smbios.c,v 1.1 2019/11/30 13:02:18 jmcneill Exp $"); +__KERNEL_RCSID(0, "$NetBSD: smbios.c,v 1.2 2019/12/27 09:45:27 msaitoh Exp $"); #include <sys/param.h> @@ -108,7 +108,7 @@ smbios_init(uint8_t *p) /* * smbios_find_table() takes a caller supplied smbios struct type and * a pointer to a handle (struct smbtable) returning one if the structure - * is sucessfully located and zero otherwise. Callers should take care + * is successfully located and zero otherwise. Callers should take care * to initilize the cookie field of the smbtable structure to zero before * the first invocation of this function. * Multiple tables of the same type can be located by repeadtly calling Index: src/usr.bin/vmstat/vmstat.c diff -u src/usr.bin/vmstat/vmstat.c:1.229 src/usr.bin/vmstat/vmstat.c:1.230 --- src/usr.bin/vmstat/vmstat.c:1.229 Sun Dec 22 17:27:53 2019 +++ src/usr.bin/vmstat/vmstat.c Fri Dec 27 09:45:27 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: vmstat.c,v 1.229 2019/12/22 17:27:53 ad Exp $ */ +/* $NetBSD: vmstat.c,v 1.230 2019/12/27 09:45:27 msaitoh Exp $ */ /*- * Copyright (c) 1998, 2000, 2001, 2007, 2019 The NetBSD Foundation, Inc. @@ -70,7 +70,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 19 #if 0 static char sccsid[] = "@(#)vmstat.c 8.2 (Berkeley) 3/1/95"; #else -__RCSID("$NetBSD: vmstat.c,v 1.229 2019/12/22 17:27:53 ad Exp $"); +__RCSID("$NetBSD: vmstat.c,v 1.230 2019/12/27 09:45:27 msaitoh Exp $"); #endif #endif /* not lint */ @@ -2029,7 +2029,7 @@ dohashstat(int verbose, int todo, const } /* - * kreadc like kread but returns 1 if sucessful, 0 otherwise + * kreadc like kread but returns 1 if successful, 0 otherwise */ int kreadc(struct nlist *nl, int nlx, void *addr, size_t size)