Source-Changes-HG archive

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

[src/trunk]: src fix mainly same typos as in my previous commit but outside s...



details:   https://anonhg.NetBSD.org/src/rev/5b3fd2bb1b0d
branches:  trunk
changeset: 985383:5b3fd2bb1b0d
user:      andvar <andvar%NetBSD.org@localhost>
date:      Sat Aug 21 23:00:30 2021 +0000

description:
fix mainly same typos as in my previous commit but outside sys/dev/dm.

diffstat:

 etc/rc.d/lvm                                 |  4 ++--
 lib/libc/rpc/clnt_dg.c                       |  8 ++++----
 lib/libc/rpc/clnt_vc.c                       |  8 ++++----
 lib/libc/rpc/svc.c                           |  6 +++---
 lib/libc/rpc/xdr_rec.c                       |  6 +++---
 lib/libisns/isns_pdu.c                       |  6 +++---
 sys/arch/amiga/dev/amidisplaycc.c            |  6 +++---
 sys/arch/arm/broadcom/bcm2835_gpio.c         |  6 +++---
 sys/arch/m68k/fpe/README                     |  4 ++--
 sys/arch/m68k/fpsp/ssin.sa                   |  4 ++--
 sys/arch/prep/stand/boot/siop.c              |  4 ++--
 sys/ddb/db_command.c                         |  6 +++---
 sys/dev/acpi/acpica/OsdEnvironment.c         |  6 +++---
 sys/dev/ic/ibm82660reg.h                     |  4 ++--
 sys/dev/scsipi/cd.c                          |  6 +++---
 sys/kern/subr_kobj.c                         |  6 +++---
 tests/lib/libc/gen/posix_spawn/h_spawnattr.c |  4 ++--
 usr.sbin/mopd/common/print.c                 |  6 +++---
 18 files changed, 50 insertions(+), 50 deletions(-)

diffs (truncated from 440 to 300 lines):

diff -r f5d8b046c4fb -r 5b3fd2bb1b0d etc/rc.d/lvm
--- a/etc/rc.d/lvm      Sat Aug 21 22:23:33 2021 +0000
+++ b/etc/rc.d/lvm      Sat Aug 21 23:00:30 2021 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: lvm,v 1.7 2021/08/03 05:15:20 mlelstv Exp $
+# $NetBSD: lvm,v 1.8 2021/08/21 23:00:30 andvar Exp $
 #
 
 # PROVIDE: lvm
@@ -32,7 +32,7 @@
                # Scan for all available VG's
                /sbin/lvm vgscan --mknodes --ignorelockingfailure >/dev/null
 
-               # Activate all LV's and create apropriate nodes in /dev
+               # Activate all LV's and create appropriate nodes in /dev
                /sbin/lvm vgchange --ignorelockingfailure -a y >/dev/null
                LV_LIST=$(/sbin/lvm vgdisplay -C -o vg_name --noheadings 2>/dev/null)
                echo " Activated Volume Groups:" $LV_LIST
diff -r f5d8b046c4fb -r 5b3fd2bb1b0d lib/libc/rpc/clnt_dg.c
--- a/lib/libc/rpc/clnt_dg.c    Sat Aug 21 22:23:33 2021 +0000
+++ b/lib/libc/rpc/clnt_dg.c    Sat Aug 21 23:00:30 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: clnt_dg.c,v 1.29 2013/05/07 21:08:44 christos Exp $    */
+/*     $NetBSD: clnt_dg.c,v 1.30 2021/08/21 23:00:30 andvar Exp $      */
 
 /*
  * Copyright (c) 2010, Oracle America, Inc.
@@ -41,7 +41,7 @@
 #if 0
 static char sccsid[] = "@(#)clnt_dg.c 1.19 89/03/16 Copyr 1988 Sun Micro";
 #else
-__RCSID("$NetBSD: clnt_dg.c,v 1.29 2013/05/07 21:08:44 christos Exp $");
+__RCSID("$NetBSD: clnt_dg.c,v 1.30 2021/08/21 23:00:30 andvar Exp $");
 #endif
 #endif
 
@@ -92,9 +92,9 @@
  *     This machinery implements per-fd locks for MT-safety.  It is not
  *     sufficient to do per-CLIENT handle locks for MT-safety because a
  *     user may create more than one CLIENT handle with the same fd behind
- *     it.  Therfore, we allocate an array of flags (dg_fd_locks), protected
+ *     it.  Therefore, we allocate an array of flags (dg_fd_locks), protected
  *     by the clnt_fd_lock mutex, and an array (dg_cv) of condition variables
- *     similarly protected.  Dg_fd_lock[fd] == 1 => a call is activte on some
+ *     similarly protected.  Dg_fd_lock[fd] == 1 => a call is active on some
  *     CLIENT handle created for that fd.
  *     The current implementation holds locks across the entire RPC and reply,
  *     including retransmissions.  Yes, this is silly, and as soon as this
diff -r f5d8b046c4fb -r 5b3fd2bb1b0d lib/libc/rpc/clnt_vc.c
--- a/lib/libc/rpc/clnt_vc.c    Sat Aug 21 22:23:33 2021 +0000
+++ b/lib/libc/rpc/clnt_vc.c    Sat Aug 21 23:00:30 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: clnt_vc.c,v 1.26 2015/01/20 18:31:25 christos Exp $    */
+/*     $NetBSD: clnt_vc.c,v 1.27 2021/08/21 23:00:30 andvar Exp $      */
 
 /*
  * Copyright (c) 2010, Oracle America, Inc.
@@ -38,7 +38,7 @@
 static char *sccsid = "@(#)clnt_tcp.c  2.2 88/08/01 4.0 RPCSRC";
 static char sccsid[] = "@(#)clnt_vc.c 1.19 89/03/16 Copyr 1988 Sun Micro";
 #else
-__RCSID("$NetBSD: clnt_vc.c,v 1.26 2015/01/20 18:31:25 christos Exp $");
+__RCSID("$NetBSD: clnt_vc.c,v 1.27 2021/08/21 23:00:30 andvar Exp $");
 #endif
 #endif
  
@@ -119,9 +119,9 @@
  *      This machinery implements per-fd locks for MT-safety.  It is not
  *      sufficient to do per-CLIENT handle locks for MT-safety because a
  *      user may create more than one CLIENT handle with the same fd behind
- *      it.  Therfore, we allocate an array of flags (vc_fd_locks), protected
+ *      it.  Therefore, we allocate an array of flags (vc_fd_locks), protected
  *      by the clnt_fd_lock mutex, and an array (vc_cv) of condition variables
- *      similarly protected.  Vc_fd_lock[fd] == 1 => a call is activte on some
+ *      similarly protected.  Vc_fd_lock[fd] == 1 => a call is active on some
  *      CLIENT handle created for that fd.
  *      The current implementation holds locks across the entire RPC and reply.
  *      Yes, this is silly, and as soon as this code is proven to work, this
diff -r f5d8b046c4fb -r 5b3fd2bb1b0d lib/libc/rpc/svc.c
--- a/lib/libc/rpc/svc.c        Sat Aug 21 22:23:33 2021 +0000
+++ b/lib/libc/rpc/svc.c        Sat Aug 21 23:00:30 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: svc.c,v 1.39 2015/11/13 15:22:12 christos Exp $        */
+/*     $NetBSD: svc.c,v 1.40 2021/08/21 23:00:30 andvar Exp $  */
 
 /*
  * Copyright (c) 2010, Oracle America, Inc.
@@ -37,7 +37,7 @@
 static char *sccsid = "@(#)svc.c 1.44 88/02/08 Copyr 1984 Sun Micro";
 static char *sccsid = "@(#)svc.c       2.4 88/08/11 4.0 RPCSRC";
 #else
-__RCSID("$NetBSD: svc.c,v 1.39 2015/11/13 15:22:12 christos Exp $");
+__RCSID("$NetBSD: svc.c,v 1.40 2021/08/21 23:00:30 andvar Exp $");
 #endif
 #endif
 
@@ -106,7 +106,7 @@
  * The services list
  * Each entry represents a set of procedures (an rpc program).
  * The dispatch routine takes request structs and runs the
- * apropriate procedure.
+ * appropriate procedure.
  */
 static struct svc_callout {
        struct svc_callout *sc_next;
diff -r f5d8b046c4fb -r 5b3fd2bb1b0d lib/libc/rpc/xdr_rec.c
--- a/lib/libc/rpc/xdr_rec.c    Sat Aug 21 22:23:33 2021 +0000
+++ b/lib/libc/rpc/xdr_rec.c    Sat Aug 21 23:00:30 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xdr_rec.c,v 1.37 2018/07/25 23:59:08 kamil Exp $       */
+/*     $NetBSD: xdr_rec.c,v 1.38 2021/08/21 23:00:30 andvar Exp $      */
 
 /*
  * Copyright (c) 2010, Oracle America, Inc.
@@ -37,7 +37,7 @@
 static char *sccsid = "@(#)xdr_rec.c 1.21 87/08/11 Copyr 1984 Sun Micro";
 static char *sccsid = "@(#)xdr_rec.c   2.2 88/08/01 4.0 RPCSRC";
 #else
-__RCSID("$NetBSD: xdr_rec.c,v 1.37 2018/07/25 23:59:08 kamil Exp $");
+__RCSID("$NetBSD: xdr_rec.c,v 1.38 2021/08/21 23:00:30 andvar Exp $");
 #endif
 #endif
 
@@ -479,7 +479,7 @@
 }
 
 /*
- * Look ahead fuction.
+ * Look ahead function.
  * Returns TRUE iff there is no more input in the buffer 
  * after consuming the rest of the current record.
  */
diff -r f5d8b046c4fb -r 5b3fd2bb1b0d lib/libisns/isns_pdu.c
--- a/lib/libisns/isns_pdu.c    Sat Aug 21 22:23:33 2021 +0000
+++ b/lib/libisns/isns_pdu.c    Sat Aug 21 23:00:30 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: isns_pdu.c,v 1.4 2018/02/08 09:05:17 dholland Exp $    */
+/*     $NetBSD: isns_pdu.c,v 1.5 2021/08/21 23:00:30 andvar Exp $      */
 
 /*-
  * Copyright (c) 2004,2009 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
 
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: isns_pdu.c,v 1.4 2018/02/08 09:05:17 dholland Exp $");
+__RCSID("$NetBSD: isns_pdu.c,v 1.5 2021/08/21 23:00:30 andvar Exp $");
 
 
 #include <sys/types.h>
@@ -768,7 +768,7 @@
 
 
 /*
- * isns_new_pdu - allocates a new PDU and assigns funtion ID and flags
+ * isns_new_pdu - allocates a new PDU and assigns function ID and flags
  */
 struct isns_pdu_s *
 isns_new_pdu(struct isns_config_s *cfg_p, uint16_t trans_id, uint16_t func_id,
diff -r f5d8b046c4fb -r 5b3fd2bb1b0d sys/arch/amiga/dev/amidisplaycc.c
--- a/sys/arch/amiga/dev/amidisplaycc.c Sat Aug 21 22:23:33 2021 +0000
+++ b/sys/arch/amiga/dev/amidisplaycc.c Sat Aug 21 23:00:30 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: amidisplaycc.c,v 1.37 2021/08/07 16:18:41 thorpej Exp $ */
+/*     $NetBSD: amidisplaycc.c,v 1.38 2021/08/21 23:00:31 andvar Exp $ */
 
 /*-
  * Copyright (c) 2000 Jukka Andberg.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amidisplaycc.c,v 1.37 2021/08/07 16:18:41 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: amidisplaycc.c,v 1.38 2021/08/21 23:00:31 andvar Exp $");
 
 /*
  * wscons interface to amiga custom chips. Contains the necessary functions
@@ -1930,7 +1930,7 @@
  * These dummy functions are here just so that we can compete of
  * the console at init.
  * If we win the console then the wscons system will provide the
- * real ones which in turn will call the apropriate wskbd device.
+ * real ones which in turn will call the appropriate wskbd device.
  * These should never be called.
  */
 
diff -r f5d8b046c4fb -r 5b3fd2bb1b0d sys/arch/arm/broadcom/bcm2835_gpio.c
--- a/sys/arch/arm/broadcom/bcm2835_gpio.c      Sat Aug 21 22:23:33 2021 +0000
+++ b/sys/arch/arm/broadcom/bcm2835_gpio.c      Sat Aug 21 23:00:30 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bcm2835_gpio.c,v 1.22 2021/08/07 16:18:43 thorpej Exp $        */
+/*     $NetBSD: bcm2835_gpio.c,v 1.23 2021/08/21 23:00:31 andvar Exp $ */
 
 /*-
  * Copyright (c) 2013, 2014, 2017 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm2835_gpio.c,v 1.22 2021/08/07 16:18:43 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm2835_gpio.c,v 1.23 2021/08/21 23:00:31 andvar Exp $");
 
 /*
  * Driver for BCM2835 GPIO
@@ -196,7 +196,7 @@
        const u_int *func = fdtbus_get_prop(phandle, "brcm,function", &func_len);
 
        if (!pull && !func) {
-               aprint_error_dev(dev, "one of brcm,pull or brcm,funcion must "
+               aprint_error_dev(dev, "one of brcm,pull or brcm,function must "
                    "be specified");
                return -1;
        }
diff -r f5d8b046c4fb -r 5b3fd2bb1b0d sys/arch/m68k/fpe/README
--- a/sys/arch/m68k/fpe/README  Sat Aug 21 22:23:33 2021 +0000
+++ b/sys/arch/m68k/fpe/README  Sat Aug 21 23:00:30 2021 +0000
@@ -1,4 +1,4 @@
-* $NetBSD: README,v 1.6 2013/04/20 03:26:11 isaki Exp $
+* $NetBSD: README,v 1.7 2021/08/21 23:00:31 andvar Exp $
 * NetBSD/m68k FPE (floating point emulation) README file
 * Created Oct/??/95 by kenn%remus.rutgers.edu@localhost (Ken Nakata)
 * Last updated Oct/15/2011 by tsutsui
@@ -116,7 +116,7 @@
 
 Where fe is a pointer to a struct fpemu in which frame, fpframe, and
 fetched operands are accessible.  That's right, you don't have to
-fetch the operands by yourself in your emulation funtion.  For
+fetch the operands by yourself in your emulation function.  For
 instance, the parts calling FSQRT, FSUB, FADD and FTST look like:
 
        switch(word1 & 0x3F) {
diff -r f5d8b046c4fb -r 5b3fd2bb1b0d sys/arch/m68k/fpsp/ssin.sa
--- a/sys/arch/m68k/fpsp/ssin.sa        Sat Aug 21 22:23:33 2021 +0000
+++ b/sys/arch/m68k/fpsp/ssin.sa        Sat Aug 21 23:00:30 2021 +0000
@@ -1,4 +1,4 @@
-*      $NetBSD: ssin.sa,v 1.4 2000/03/13 23:52:32 soren Exp $
+*      $NetBSD: ssin.sa,v 1.5 2021/08/21 23:00:31 andvar Exp $
 
 *      MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP
 *      M68000 Hi-Performance Microprocessor Division
@@ -41,7 +41,7 @@
 *      Input: Double-extended number X in location pointed to
 *              by address register a0.
 *
-*      Output: The funtion value sin(X) or cos(X) returned in Fp0 if SIN or
+*      Output: The function value sin(X) or cos(X) returned in Fp0 if SIN or
 *              COS is requested. Otherwise, for SINCOS, sin(X) is returned
 *              in Fp0, and cos(X) is returned in Fp1.
 *
diff -r f5d8b046c4fb -r 5b3fd2bb1b0d sys/arch/prep/stand/boot/siop.c
--- a/sys/arch/prep/stand/boot/siop.c   Sat Aug 21 22:23:33 2021 +0000
+++ b/sys/arch/prep/stand/boot/siop.c   Sat Aug 21 23:00:30 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: siop.c,v 1.4 2021/07/24 21:31:35 andvar Exp $  */
+/*     $NetBSD: siop.c,v 1.5 2021/08/21 23:00:31 andvar Exp $  */
 /*
  * Copyright (c) 2010 KIYOHARA Takashi
  * All rights reserved.
@@ -180,7 +180,7 @@
 
                siop_cmd->flags &= ~CMDFL_RESID;
                table = &xfer->siop_tables.data[offset];
-               /* "cut" already transfered data from this table */
+               /* "cut" already transferred data from this table */
                table->addr =
                    htoc32(ctoh32(table->addr) + ctoh32(table->count) -
                                                        siop_cmd->resid);
diff -r f5d8b046c4fb -r 5b3fd2bb1b0d sys/ddb/db_command.c
--- a/sys/ddb/db_command.c      Sat Aug 21 22:23:33 2021 +0000
+++ b/sys/ddb/db_command.c      Sat Aug 21 23:00:30 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_command.c,v 1.177 2021/08/13 20:47:55 andvar Exp $  */
+/*     $NetBSD: db_command.c,v 1.178 2021/08/21 23:00:31 andvar Exp $  */
 
 /*
  * Copyright (c) 1996, 1997, 1998, 1999, 2002, 2009, 2019
@@ -61,7 +61,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_command.c,v 1.177 2021/08/13 20:47:55 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_command.c,v 1.178 2021/08/21 23:00:31 andvar Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_aio.h"
@@ -837,7 +837,7 @@
 }
 
 /*
- * Parse command line and execute apropriate function.
+ * Parse command line and execute appropriate function.
  */
 static void
 db_command(const struct db_command **last_cmdp)
diff -r f5d8b046c4fb -r 5b3fd2bb1b0d sys/dev/acpi/acpica/OsdEnvironment.c
--- a/sys/dev/acpi/acpica/OsdEnvironment.c      Sat Aug 21 22:23:33 2021 +0000
+++ b/sys/dev/acpi/acpica/OsdEnvironment.c      Sat Aug 21 23:00:30 2021 +0000
@@ -1,4 +1,4 @@



Home | Main Index | Thread Index | Old Index