Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet s/aquire/acquire/ in comments, also one typo fix...



details:   https://anonhg.NetBSD.org/src/rev/694eaa826747
branches:  trunk
changeset: 1023442:694eaa826747
user:      andvar <andvar%NetBSD.org@localhost>
date:      Tue Sep 07 13:24:45 2021 +0000

description:
s/aquire/acquire/ in comments, also one typo fix acqure->acquire.

diffstat:

 common/lib/libprop/prop_string.c    |  4 ++--
 sys/arch/hppa/hppa/intr.c           |  6 +++---
 sys/arch/sparc64/sparc64/autoconf.c |  6 +++---
 sys/dev/audio/audio.c               |  6 +++---
 sys/dev/sysmon/sysmon_envsys.c      |  6 +++---
 sys/kern/sys_pipe.c                 |  6 +++---
 sys/netinet/dccp_tfrc.c             |  6 +++---
 sys/netinet/sctp_output.c           |  6 +++---
 8 files changed, 23 insertions(+), 23 deletions(-)

diffs (208 lines):

diff -r 0e3428debc70 -r 694eaa826747 common/lib/libprop/prop_string.c
--- a/common/lib/libprop/prop_string.c  Tue Sep 07 12:36:57 2021 +0000
+++ b/common/lib/libprop/prop_string.c  Tue Sep 07 13:24:45 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: prop_string.c,v 1.15 2020/06/20 00:16:50 christos Exp $        */
+/*     $NetBSD: prop_string.c,v 1.16 2021/09/07 13:24:45 andvar Exp $  */
 
 /*-
  * Copyright (c) 2006, 2020 The NetBSD Foundation, Inc.
@@ -146,7 +146,7 @@
                _PROP_MUTEX_LOCK(_prop_string_tree_mutex);
                /*
                 * Double-check the retain count now that we've
-                * acqured the tree lock; holding this lock prevents
+                * acquired the tree lock; holding this lock prevents
                 * new retains from coming in by finding it in the
                 * tree.
                 */
diff -r 0e3428debc70 -r 694eaa826747 sys/arch/hppa/hppa/intr.c
--- a/sys/arch/hppa/hppa/intr.c Tue Sep 07 12:36:57 2021 +0000
+++ b/sys/arch/hppa/hppa/intr.c Tue Sep 07 13:24:45 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.c,v 1.4 2021/07/01 22:57:45 macallan Exp $        */
+/*     $NetBSD: intr.c,v 1.5 2021/09/07 13:24:45 andvar Exp $  */
 /*     $OpenBSD: intr.c,v 1.27 2009/12/31 12:52:35 jsing Exp $ */
 
 /*
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.4 2021/07/01 22:57:45 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.5 2021/09/07 13:24:45 andvar Exp $");
 
 #define __MUTEX_PRIVATE
 
@@ -349,7 +349,7 @@
        /*
         * If we interrupted in the middle of mutex_enter(), we must patch up
         * the lock owner value quickly if we got the interlock.  If any of the
-        * interrupt handlers need to aquire the mutex, they could deadlock if
+        * interrupt handlers need to acquire the mutex, they could deadlock if
         * the owner value is left unset.
         */
        if (frame->tf_iisq_head == HPPA_SID_KERNEL &&
diff -r 0e3428debc70 -r 694eaa826747 sys/arch/sparc64/sparc64/autoconf.c
--- a/sys/arch/sparc64/sparc64/autoconf.c       Tue Sep 07 12:36:57 2021 +0000
+++ b/sys/arch/sparc64/sparc64/autoconf.c       Tue Sep 07 13:24:45 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.235 2021/08/21 11:55:25 andvar Exp $ */
+/*     $NetBSD: autoconf.c,v 1.236 2021/09/07 13:24:46 andvar Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -48,7 +48,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.235 2021/08/21 11:55:25 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.236 2021/09/07 13:24:46 andvar Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -1457,7 +1457,7 @@
 
                /*
                 * If this is a FC-AL drive it will have
-                * aquired its WWN device property by now,
+                * acquired its WWN device property by now,
                 * so we can properly match it.
                 */
                if (prop_dictionary_get_uint64(device_properties(dev),
diff -r 0e3428debc70 -r 694eaa826747 sys/dev/audio/audio.c
--- a/sys/dev/audio/audio.c     Tue Sep 07 12:36:57 2021 +0000
+++ b/sys/dev/audio/audio.c     Tue Sep 07 13:24:45 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: audio.c,v 1.106 2021/08/07 16:19:09 thorpej Exp $      */
+/*     $NetBSD: audio.c,v 1.107 2021/09/07 13:24:46 andvar Exp $       */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -138,7 +138,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.106 2021/08/07 16:19:09 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.107 2021/09/07 13:24:46 andvar Exp $");
 
 #ifdef _KERNEL_OPT
 #include "audio.h"
@@ -1645,7 +1645,7 @@
 
 /*
  * Try to acquire track lock.
- * It doesn't block if the track lock is already aquired.
+ * It doesn't block if the track lock is already acquired.
  * Returns true if the track lock was acquired, or false if the track
  * lock was already acquired.
  */
diff -r 0e3428debc70 -r 694eaa826747 sys/dev/sysmon/sysmon_envsys.c
--- a/sys/dev/sysmon/sysmon_envsys.c    Tue Sep 07 12:36:57 2021 +0000
+++ b/sys/dev/sysmon/sysmon_envsys.c    Tue Sep 07 13:24:45 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sysmon_envsys.c,v 1.147 2020/06/11 02:39:31 thorpej Exp $      */
+/*     $NetBSD: sysmon_envsys.c,v 1.148 2021/09/07 13:24:46 andvar Exp $       */
 
 /*-
  * Copyright (c) 2007, 2008 Juan Romero Pardines.
@@ -64,7 +64,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sysmon_envsys.c,v 1.147 2020/06/11 02:39:31 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sysmon_envsys.c,v 1.148 2021/09/07 13:24:46 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -1540,7 +1540,7 @@
  * returns false). Example usage: callback selects temperature
  * sensors in a given thermal zone, the function calculates the
  * maximum currently reported temperature in this zone.
- * If the parameter "refresh" is true, new values will be aquired
+ * If the parameter "refresh" is true, new values will be acquired
  * from the hardware, if not, the last reported value will be used.
  */
 uint32_t
diff -r 0e3428debc70 -r 694eaa826747 sys/kern/sys_pipe.c
--- a/sys/kern/sys_pipe.c       Tue Sep 07 12:36:57 2021 +0000
+++ b/sys/kern/sys_pipe.c       Tue Sep 07 13:24:45 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sys_pipe.c,v 1.152 2021/01/25 19:21:11 dholland Exp $  */
+/*     $NetBSD: sys_pipe.c,v 1.153 2021/09/07 13:24:46 andvar Exp $    */
 
 /*-
  * Copyright (c) 2003, 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_pipe.c,v 1.152 2021/01/25 19:21:11 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_pipe.c,v 1.153 2021/09/07 13:24:46 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -584,7 +584,7 @@
        }
        ++wpipe->pipe_busy;
 
-       /* Aquire the long-term pipe lock */
+       /* Acquire the long-term pipe lock */
        if ((error = pipelock(wpipe, true)) != 0) {
                --wpipe->pipe_busy;
                if (wpipe->pipe_busy == 0) {
diff -r 0e3428debc70 -r 694eaa826747 sys/netinet/dccp_tfrc.c
--- a/sys/netinet/dccp_tfrc.c   Tue Sep 07 12:36:57 2021 +0000
+++ b/sys/netinet/dccp_tfrc.c   Tue Sep 07 13:24:45 2021 +0000
@@ -1,5 +1,5 @@
 /*     $KAME: dccp_tfrc.c,v 1.16 2006/03/01 17:34:08 nishida Exp $     */
-/*     $NetBSD: dccp_tfrc.c,v 1.6 2019/12/27 09:25:58 msaitoh Exp $ */
+/*     $NetBSD: dccp_tfrc.c,v 1.7 2021/09/07 13:24:46 andvar Exp $ */
 
 /*
  * Copyright (c) 2003  Nils-Erik Mattsson
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dccp_tfrc.c,v 1.6 2019/12/27 09:25:58 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dccp_tfrc.c,v 1.7 2021/09/07 13:24:46 andvar Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_dccp.h"
@@ -244,7 +244,7 @@
                    "TFRC - Callout pending. (tfrc_time_send)\n"));
                return;
        }
-       /* aquire locks for dccp_output */
+       /* acquire locks for dccp_output */
        s = splsoftnet();
        INP_INFO_RLOCK(&dccpbinfo);
        /*inp = cb->pcb->d_inpcb;*/
diff -r 0e3428debc70 -r 694eaa826747 sys/netinet/sctp_output.c
--- a/sys/netinet/sctp_output.c Tue Sep 07 12:36:57 2021 +0000
+++ b/sys/netinet/sctp_output.c Tue Sep 07 13:24:45 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sctp_output.c,v 1.24 2021/09/03 21:55:01 andvar Exp $ */
+/*     $NetBSD: sctp_output.c,v 1.25 2021/09/07 13:24:46 andvar Exp $ */
 /*     $KAME: sctp_output.c,v 1.48 2005/06/16 18:29:24 jinmei Exp $    */
 
 /*
@@ -30,7 +30,7 @@
  * SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sctp_output.c,v 1.24 2021/09/03 21:55:01 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sctp_output.c,v 1.25 2021/09/07 13:24:46 andvar Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ipsec.h"
@@ -9413,7 +9413,7 @@
                        }
                        error = sblock(&so->so_snd, M_WAITOK);
                        if (error) {
-                               /* Can't aquire the lock */
+                               /* Can't acquire the lock */
                                goto out_locked;
                        }
 #if defined(__FreeBSD__) && __FreeBSD_version >= 502115



Home | Main Index | Thread Index | Old Index