Source-Changes-HG archive

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

[src/trunk]: src fix various typos in comments and output/log messages.



details:   https://anonhg.NetBSD.org/src/rev/6bb953064011
branches:  trunk
changeset: 365179:6bb953064011
user:      andvar <andvar%NetBSD.org@localhost>
date:      Sun Apr 10 09:50:44 2022 +0000

description:
fix various typos in comments and output/log messages.

diffstat:

 bin/sh/memalloc.c                                          |  6 +++---
 lib/libcurses/cr_put.c                                     |  6 +++---
 lib/libpam/modules/pam_unix/pam_unix.c                     |  6 +++---
 libexec/httpd/bozohttpd.c                                  |  4 ++--
 sbin/route/route.c                                         |  6 +++---
 sys/arch/hp300/dev/dcm.c                                   |  6 +++---
 sys/arch/riscv/riscv/locore.S                              |  4 ++--
 sys/arch/vax/include/scb.h                                 |  4 ++--
 sys/ddb/TODO                                               |  4 ++--
 sys/dev/fdt/fdt_port.h                                     |  4 ++--
 sys/dev/ic/icp.c                                           |  6 +++---
 sys/dev/ic/spic.c                                          |  6 +++---
 sys/dev/ic/spicvar.h                                       |  4 ++--
 sys/dev/pci/agpvar.h                                       |  4 ++--
 sys/fs/nilfs/nilfs_vnops.c                                 |  6 +++---
 sys/fs/udf/udf_subr.c                                      |  6 +++---
 sys/fs/udf/udf_vnops.c                                     |  6 +++---
 sys/miscfs/genfs/layer_subr.c                              |  6 +++---
 sys/net/if_tap.c                                           |  6 +++---
 sys/net/lagg/if_lagg_lacp.c                                |  8 ++++----
 sys/netinet/ip_var.h                                       |  4 ++--
 sys/netipsec/ipsec_output.c                                |  6 +++---
 sys/rump/kern/lib/libsimplehook_tester/simplehook_tester.c |  6 +++---
 sys/uvm/uvm_map.c                                          |  6 +++---
 tests/lib/libcurses/tests/inwstr                           |  2 +-
 usr.bin/scmdctl/uart.c                                     |  6 +++---
 usr.sbin/mopd/mopcopy/mopcopy.c                            |  6 +++---
 27 files changed, 72 insertions(+), 72 deletions(-)

diffs (truncated from 641 to 300 lines):

diff -r c04896486de4 -r 6bb953064011 bin/sh/memalloc.c
--- a/bin/sh/memalloc.c Sun Apr 10 09:22:35 2022 +0000
+++ b/bin/sh/memalloc.c Sun Apr 10 09:50:44 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: memalloc.c,v 1.35 2021/10/26 10:07:20 kre Exp $        */
+/*     $NetBSD: memalloc.c,v 1.36 2022/04/10 09:50:44 andvar Exp $     */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)memalloc.c 8.3 (Berkeley) 5/4/95";
 #else
-__RCSID("$NetBSD: memalloc.c,v 1.35 2021/10/26 10:07:20 kre Exp $");
+__RCSID("$NetBSD: memalloc.c,v 1.36 2022/04/10 09:50:44 andvar Exp $");
 #endif
 #endif /* not lint */
 
@@ -349,7 +349,7 @@
  *
  * Remaining args are pointers to strings - sufficient space to hold
  * the concat of the strings is allocated on the stack, the strings
- * are copied into that space, and a pointer to its start is retured.
+ * are copied into that space, and a pointer to its start is returned.
  * The arg list is terminated with STSTRC_END.
  *
  * Use stunalloc(string) (in proper sequence) to release the string
diff -r c04896486de4 -r 6bb953064011 lib/libcurses/cr_put.c
--- a/lib/libcurses/cr_put.c    Sun Apr 10 09:22:35 2022 +0000
+++ b/lib/libcurses/cr_put.c    Sun Apr 10 09:50:44 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cr_put.c,v 1.38 2022/01/25 03:05:06 blymn Exp $        */
+/*     $NetBSD: cr_put.c,v 1.39 2022/04/10 09:50:44 andvar Exp $       */
 
 /*
  * Copyright (c) 1981, 1993, 1994
@@ -36,7 +36,7 @@
 #if 0
 static char sccsid[] = "@(#)cr_put.c   8.3 (Berkeley) 5/4/94";
 #else
-__RCSID("$NetBSD: cr_put.c,v 1.38 2022/01/25 03:05:06 blymn Exp $");
+__RCSID("$NetBSD: cr_put.c,v 1.39 2022/04/10 09:50:44 andvar Exp $");
 #endif
 #endif                         /* not lint */
 
@@ -151,7 +151,7 @@
                         * essential in some SB's because CRLF mode puts
                         * garbage in at end of memory), but you must use
                         * linefeed to scroll since down arrow won't go past
-                        * memory end. I turned this off after recieving Paul
+                        * memory end. I turned this off after receiving Paul
                         * Eggert's Superbee description which wins better. */
                        if (cursor_down /* && !__tc_xb */ && __pfast)
                                tputs(cursor_down, 0, __cputchar);
diff -r c04896486de4 -r 6bb953064011 lib/libpam/modules/pam_unix/pam_unix.c
--- a/lib/libpam/modules/pam_unix/pam_unix.c    Sun Apr 10 09:22:35 2022 +0000
+++ b/lib/libpam/modules/pam_unix/pam_unix.c    Sun Apr 10 09:50:44 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pam_unix.c,v 1.17 2018/05/16 13:55:39 joerg Exp $      */
+/*     $NetBSD: pam_unix.c,v 1.18 2022/04/10 09:50:44 andvar Exp $     */
 
 /*-
  * Copyright 1998 Juniper Networks, Inc.
@@ -40,7 +40,7 @@
 #ifdef __FreeBSD__
 __FBSDID("$FreeBSD: src/lib/libpam/modules/pam_unix/pam_unix.c,v 1.49 2004/02/10 10:13:21 des Exp $");
 #else
-__RCSID("$NetBSD: pam_unix.c,v 1.17 2018/05/16 13:55:39 joerg Exp $");
+__RCSID("$NetBSD: pam_unix.c,v 1.18 2022/04/10 09:50:44 andvar Exp $");
 #endif
 
 
@@ -271,7 +271,7 @@
        if ((rpcport = getrpcport(master, YPPASSWDPROG,
                                  YPPASSWDPROC_UPDATE, IPPROTO_UDP)) == 0) {
                pam_error(pamh,
-                   "Master NIS server not runing yppasswd daemon.\n\t"
+                   "Master NIS server not running yppasswd daemon.\n\t"
                    "Can't change NIS password.");
                return (PAM_SERVICE_ERR);
        }
diff -r c04896486de4 -r 6bb953064011 libexec/httpd/bozohttpd.c
--- a/libexec/httpd/bozohttpd.c Sun Apr 10 09:22:35 2022 +0000
+++ b/libexec/httpd/bozohttpd.c Sun Apr 10 09:50:44 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bozohttpd.c,v 1.139 2022/03/14 05:58:36 mrg Exp $      */
+/*     $NetBSD: bozohttpd.c,v 1.140 2022/04/10 09:50:44 andvar Exp $   */
 
 /*     $eterna: bozohttpd.c,v 1.178 2011/11/18 09:21:15 mrg Exp $      */
 
@@ -75,7 +75,7 @@
  *
  *     - 3.5/3.6: content/transfer codings.  probably can ignore
  *       this?  we "SHOULD"n't.  but 4.4 says we should ignore a
- *       `content-length' header upon reciept of a `transfer-encoding'
+ *       `content-length' header upon receipt of a `transfer-encoding'
  *       header.
  *
  *     - 5.1.1: request methods.  only MUST support GET and HEAD,
diff -r c04896486de4 -r 6bb953064011 sbin/route/route.c
--- a/sbin/route/route.c        Sun Apr 10 09:22:35 2022 +0000
+++ b/sbin/route/route.c        Sun Apr 10 09:50:44 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: route.c,v 1.168 2020/04/02 18:32:31 christos Exp $     */
+/*     $NetBSD: route.c,v 1.169 2022/04/10 09:50:45 andvar Exp $       */
 
 /*
  * Copyright (c) 1983, 1989, 1991, 1993
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)route.c    8.6 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: route.c,v 1.168 2020/04/02 18:32:31 christos Exp $");
+__RCSID("$NetBSD: route.c,v 1.169 2022/04/10 09:50:45 andvar Exp $");
 #endif
 #endif /* not lint */
 
@@ -145,7 +145,7 @@
        if (cp)
                warnx("botched keyword: %s", cp);
        (void)fprintf(stderr,
-           "Usage: %s [-%s] cmd [[-<qualifers>] args]\n", getprogname(), opts);
+           "Usage: %s [-%s] cmd [[-<qualifiers>] args]\n", getprogname(), opts);
        exit(1);
        /* NOTREACHED */
 }
diff -r c04896486de4 -r 6bb953064011 sys/arch/hp300/dev/dcm.c
--- a/sys/arch/hp300/dev/dcm.c  Sun Apr 10 09:22:35 2022 +0000
+++ b/sys/arch/hp300/dev/dcm.c  Sun Apr 10 09:50:44 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dcm.c,v 1.89 2020/12/29 16:02:01 tsutsui Exp $ */
+/*     $NetBSD: dcm.c,v 1.90 2022/04/10 09:50:45 andvar Exp $  */
 
 /*-
  * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -78,7 +78,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dcm.c,v 1.89 2020/12/29 16:02:01 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dcm.c,v 1.90 2022/04/10 09:50:45 andvar Exp $");
 
 #include "opt_kgdb.h"
 
@@ -1365,7 +1365,7 @@
                    device_xname(sc->sc_dev), perchar, dis->dis_perchar,
                    dis->dis_intr, dis->dis_char);
        if ((flags & DIS_RESET) == 0 && perchar == dis->dis_perchar) {
-               printf("%s: dcmsetischeme: redundent request %d\n",
+               printf("%s: dcmsetischeme: redundant request %d\n",
                    device_xname(sc->sc_dev), perchar);
                return;
        }
diff -r c04896486de4 -r 6bb953064011 sys/arch/riscv/riscv/locore.S
--- a/sys/arch/riscv/riscv/locore.S     Sun Apr 10 09:22:35 2022 +0000
+++ b/sys/arch/riscv/riscv/locore.S     Sun Apr 10 09:50:44 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.23 2021/08/03 23:12:14 andvar Exp $ */
+/* $NetBSD: locore.S,v 1.24 2022/04/10 09:50:45 andvar Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -357,7 +357,7 @@
 
        bltz    a3, intr_handler        // MSB is set if interrupt
 
-       // stval is only relavent for non-interrupts
+       // stval is only relevant for non-interrupts
        csrr    a4, stval               // get stval
        REG_S   a4, TF_TVAL(sp)
 
diff -r c04896486de4 -r 6bb953064011 sys/arch/vax/include/scb.h
--- a/sys/arch/vax/include/scb.h        Sun Apr 10 09:22:35 2022 +0000
+++ b/sys/arch/vax/include/scb.h        Sun Apr 10 09:50:44 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: scb.h,v 1.14 2017/05/22 17:12:11 ragge Exp $   */
+/*     $NetBSD: scb.h,v 1.15 2022/04/10 09:50:45 andvar Exp $  */
 
 /*
  * Copyright (c) 1994 Ludd, University of Lule}, Sweden.
@@ -109,7 +109,7 @@
 
 /*
  * This struct is used when setting up interrupt vectors dynamically.
- * It put a opaque 32 bit quanity on the stack and also has a placeholder
+ * It put a opaque 32 bit quantity on the stack and also has a placeholder
  * for evcnt structure.
  */
 struct ivec_dsp {
diff -r c04896486de4 -r 6bb953064011 sys/ddb/TODO
--- a/sys/ddb/TODO      Sun Apr 10 09:22:35 2022 +0000
+++ b/sys/ddb/TODO      Sun Apr 10 09:50:44 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: TODO,v 1.18 2020/12/19 23:32:36 mrg Exp $
+$NetBSD: TODO,v 1.19 2022/04/10 09:50:45 andvar Exp $
 
 In rough order.
 
@@ -46,7 +46,7 @@
 
 10.    macros ("macro", "dmacro", "show macro"). from Mach.
 
-11.    !! command repitition (mostly unnecessary, just for consistency).
+11.    !! command repetition (mostly unnecessary, just for consistency).
        from Mach.
 
 12.    "continue" should honor _count as a number of breakpoints to ignore,
diff -r c04896486de4 -r 6bb953064011 sys/dev/fdt/fdt_port.h
--- a/sys/dev/fdt/fdt_port.h    Sun Apr 10 09:22:35 2022 +0000
+++ b/sys/dev/fdt/fdt_port.h    Sun Apr 10 09:50:44 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fdt_port.h,v 1.4 2020/12/11 09:40:28 skrll Exp $       */
+/*     $NetBSD: fdt_port.h,v 1.5 2022/04/10 09:50:45 andvar Exp $      */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -82,7 +82,7 @@
 int fdt_ports_register(struct fdt_device_ports *, device_t,
                                        int, enum endpoint_type);
 
-/* various methods to retrive an enpoint descriptor */
+/* various methods to retrieve an enpoint descriptor */
 struct fdt_endpoint *fdt_endpoint_get_from_phandle(int);
 struct fdt_endpoint *fdt_endpoint_get_from_index(struct fdt_device_ports *,
                                                        int, int);
diff -r c04896486de4 -r 6bb953064011 sys/dev/ic/icp.c
--- a/sys/dev/ic/icp.c  Sun Apr 10 09:22:35 2022 +0000
+++ b/sys/dev/ic/icp.c  Sun Apr 10 09:50:44 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: icp.c,v 1.36 2021/08/07 16:19:12 thorpej Exp $ */
+/*     $NetBSD: icp.c,v 1.37 2022/04/10 09:50:45 andvar Exp $  */
 
 /*-
  * Copyright (c) 2002, 2003 The NetBSD Foundation, Inc.
@@ -76,7 +76,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: icp.c,v 1.36 2021/08/07 16:19:12 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: icp.c,v 1.37 2022/04/10 09:50:45 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -279,7 +279,7 @@
         */
        if (!icp_cmd(icp, ICP_CACHESERVICE, ICP_IOCTL, ICP_BOARD_INFO,
            ICP_INVALID_CHANNEL, sizeof(struct icp_binfo))) {
-               aprint_error_dev(icp->icp_dv, "unable to retrive board info\n");
+               aprint_error_dev(icp->icp_dv, "unable to retrieve board info\n");
                goto bail_out;
        }
        memcpy(&binfo, icp->icp_scr, sizeof(binfo));
diff -r c04896486de4 -r 6bb953064011 sys/dev/ic/spic.c
--- a/sys/dev/ic/spic.c Sun Apr 10 09:22:35 2022 +0000
+++ b/sys/dev/ic/spic.c Sun Apr 10 09:50:44 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: spic.c,v 1.21 2021/08/07 16:19:12 thorpej Exp $        */
+/*     $NetBSD: spic.c,v 1.22 2022/04/10 09:50:45 andvar Exp $ */
 
 /*
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -40,7 +40,7 @@
  *
  * The general way of talking to the SPIC was gleaned from the Linux and
  * FreeBSD drivers.  The hex numbers were taken from these drivers (they
- * come from reverese engineering.)
+ * come from reverse engineering.)
  *
  * TODO:
  *   Make it handle more models.
@@ -49,7 +49,7 @@
 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: spic.c,v 1.21 2021/08/07 16:19:12 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: spic.c,v 1.22 2022/04/10 09:50:45 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
diff -r c04896486de4 -r 6bb953064011 sys/dev/ic/spicvar.h
--- a/sys/dev/ic/spicvar.h      Sun Apr 10 09:22:35 2022 +0000
+++ b/sys/dev/ic/spicvar.h      Sun Apr 10 09:50:44 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: spicvar.h,v 1.8 2016/06/27 07:37:54 pgoyette Exp $ */
+/*     $NetBSD: spicvar.h,v 1.9 2022/04/10 09:50:45 andvar Exp $ */
 
 /*
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -40,7 +40,7 @@
  *
  * The general way of talking to the SPIC was gleaned from the Linux and
  * FreeBSD drivers.  The hex numbers were taken from these drivers (they
- * come from reverese engineering.)
+ * come from reverse engineering.)
  *
  * TODO:
  *   Make it handle more models.
diff -r c04896486de4 -r 6bb953064011 sys/dev/pci/agpvar.h
--- a/sys/dev/pci/agpvar.h      Sun Apr 10 09:22:35 2022 +0000
+++ b/sys/dev/pci/agpvar.h      Sun Apr 10 09:50:44 2022 +0000



Home | Main Index | Thread Index | Old Index