Module Name: src
Committed By: andvar
Date: Sun Apr 10 09:50:47 UTC 2022
Modified Files:
src/bin/sh: memalloc.c
src/lib/libcurses: cr_put.c
src/lib/libpam/modules/pam_unix: pam_unix.c
src/libexec/httpd: bozohttpd.c
src/sbin/route: route.c
src/sys/arch/hp300/dev: dcm.c
src/sys/arch/riscv/riscv: locore.S
src/sys/arch/vax/include: scb.h
src/sys/ddb: TODO
src/sys/dev/fdt: fdt_port.h
src/sys/dev/ic: icp.c spic.c spicvar.h
src/sys/dev/pci: agpvar.h
src/sys/fs/nilfs: nilfs_vnops.c
src/sys/fs/udf: udf_subr.c udf_vnops.c
src/sys/miscfs/genfs: layer_subr.c
src/sys/net: if_tap.c
src/sys/net/lagg: if_lagg_lacp.c
src/sys/netinet: ip_var.h
src/sys/netipsec: ipsec_output.c
src/sys/rump/kern/lib/libsimplehook_tester: simplehook_tester.c
src/sys/uvm: uvm_map.c
src/tests/lib/libcurses/tests: inwstr
src/usr.bin/scmdctl: uart.c
src/usr.sbin/mopd/mopcopy: mopcopy.c
Log Message:
fix various typos in comments and output/log messages.
To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/bin/sh/memalloc.c
cvs rdiff -u -r1.38 -r1.39 src/lib/libcurses/cr_put.c
cvs rdiff -u -r1.17 -r1.18 src/lib/libpam/modules/pam_unix/pam_unix.c
cvs rdiff -u -r1.139 -r1.140 src/libexec/httpd/bozohttpd.c
cvs rdiff -u -r1.168 -r1.169 src/sbin/route/route.c
cvs rdiff -u -r1.89 -r1.90 src/sys/arch/hp300/dev/dcm.c
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/riscv/riscv/locore.S
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/vax/include/scb.h
cvs rdiff -u -r1.18 -r1.19 src/sys/ddb/TODO
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/fdt/fdt_port.h
cvs rdiff -u -r1.36 -r1.37 src/sys/dev/ic/icp.c
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/ic/spic.c
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/ic/spicvar.h
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/pci/agpvar.h
cvs rdiff -u -r1.45 -r1.46 src/sys/fs/nilfs/nilfs_vnops.c
cvs rdiff -u -r1.167 -r1.168 src/sys/fs/udf/udf_subr.c
cvs rdiff -u -r1.122 -r1.123 src/sys/fs/udf/udf_vnops.c
cvs rdiff -u -r1.38 -r1.39 src/sys/miscfs/genfs/layer_subr.c
cvs rdiff -u -r1.126 -r1.127 src/sys/net/if_tap.c
cvs rdiff -u -r1.24 -r1.25 src/sys/net/lagg/if_lagg_lacp.c
cvs rdiff -u -r1.133 -r1.134 src/sys/netinet/ip_var.h
cvs rdiff -u -r1.84 -r1.85 src/sys/netipsec/ipsec_output.c
cvs rdiff -u -r1.1 -r1.2 \
src/sys/rump/kern/lib/libsimplehook_tester/simplehook_tester.c
cvs rdiff -u -r1.393 -r1.394 src/sys/uvm/uvm_map.c
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libcurses/tests/inwstr
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/scmdctl/uart.c
cvs rdiff -u -r1.10 -r1.11 src/usr.sbin/mopd/mopcopy/mopcopy.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/sh/memalloc.c
diff -u src/bin/sh/memalloc.c:1.35 src/bin/sh/memalloc.c:1.36
--- src/bin/sh/memalloc.c:1.35 Tue Oct 26 10:07:20 2021
+++ src/bin/sh/memalloc.c Sun Apr 10 09:50:44 2022
@@ -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 @@ ungrabstackstr(char *s, char *p)
*
* 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
Index: src/lib/libcurses/cr_put.c
diff -u src/lib/libcurses/cr_put.c:1.38 src/lib/libcurses/cr_put.c:1.39
--- src/lib/libcurses/cr_put.c:1.38 Tue Jan 25 03:05:06 2022
+++ src/lib/libcurses/cr_put.c Sun Apr 10 09:50:44 2022
@@ -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 @@ fgoto(int in_refresh)
* 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);
Index: src/lib/libpam/modules/pam_unix/pam_unix.c
diff -u src/lib/libpam/modules/pam_unix/pam_unix.c:1.17 src/lib/libpam/modules/pam_unix/pam_unix.c:1.18
--- src/lib/libpam/modules/pam_unix/pam_unix.c:1.17 Wed May 16 13:55:39 2018
+++ src/lib/libpam/modules/pam_unix/pam_unix.c Sun Apr 10 09:50:44 2022
@@ -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 @@ yp_set_password(pam_handle_t *pamh, stru
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);
}
Index: src/libexec/httpd/bozohttpd.c
diff -u src/libexec/httpd/bozohttpd.c:1.139 src/libexec/httpd/bozohttpd.c:1.140
--- src/libexec/httpd/bozohttpd.c:1.139 Mon Mar 14 05:58:36 2022
+++ src/libexec/httpd/bozohttpd.c Sun Apr 10 09:50:44 2022
@@ -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,
Index: src/sbin/route/route.c
diff -u src/sbin/route/route.c:1.168 src/sbin/route/route.c:1.169
--- src/sbin/route/route.c:1.168 Thu Apr 2 18:32:31 2020
+++ src/sbin/route/route.c Sun Apr 10 09:50:45 2022
@@ -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 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 19
#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 @@ usage(const char *cp)
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 */
}
Index: src/sys/arch/hp300/dev/dcm.c
diff -u src/sys/arch/hp300/dev/dcm.c:1.89 src/sys/arch/hp300/dev/dcm.c:1.90
--- src/sys/arch/hp300/dev/dcm.c:1.89 Tue Dec 29 16:02:01 2020
+++ src/sys/arch/hp300/dev/dcm.c Sun Apr 10 09:50:45 2022
@@ -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 @@ dcmsetischeme(int brd, int flags)
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;
}
Index: src/sys/arch/riscv/riscv/locore.S
diff -u src/sys/arch/riscv/riscv/locore.S:1.23 src/sys/arch/riscv/riscv/locore.S:1.24
--- src/sys/arch/riscv/riscv/locore.S:1.23 Tue Aug 3 23:12:14 2021
+++ src/sys/arch/riscv/riscv/locore.S Sun Apr 10 09:50:45 2022
@@ -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 @@ ENTRY_NP(cpu_exception_handler)
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)
Index: src/sys/arch/vax/include/scb.h
diff -u src/sys/arch/vax/include/scb.h:1.14 src/sys/arch/vax/include/scb.h:1.15
--- src/sys/arch/vax/include/scb.h:1.14 Mon May 22 17:12:11 2017
+++ src/sys/arch/vax/include/scb.h Sun Apr 10 09:50:45 2022
@@ -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 @@ struct scb {
/*
* 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 {
Index: src/sys/ddb/TODO
diff -u src/sys/ddb/TODO:1.18 src/sys/ddb/TODO:1.19
--- src/sys/ddb/TODO:1.18 Sat Dec 19 23:32:36 2020
+++ src/sys/ddb/TODO Sun Apr 10 09:50:45 2022
@@ -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 @@ done Numbers starting with [a-f] should
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,
Index: src/sys/dev/fdt/fdt_port.h
diff -u src/sys/dev/fdt/fdt_port.h:1.4 src/sys/dev/fdt/fdt_port.h:1.5
--- src/sys/dev/fdt/fdt_port.h:1.4 Fri Dec 11 09:40:28 2020
+++ src/sys/dev/fdt/fdt_port.h Sun Apr 10 09:50:45 2022
@@ -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 @@ enum endpoint_type {
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);
Index: src/sys/dev/ic/icp.c
diff -u src/sys/dev/ic/icp.c:1.36 src/sys/dev/ic/icp.c:1.37
--- src/sys/dev/ic/icp.c:1.36 Sat Aug 7 16:19:12 2021
+++ src/sys/dev/ic/icp.c Sun Apr 10 09:50:45 2022
@@ -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 @@ icp_init(struct icp_softc *icp, const ch
*/
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));
Index: src/sys/dev/ic/spic.c
diff -u src/sys/dev/ic/spic.c:1.21 src/sys/dev/ic/spic.c:1.22
--- src/sys/dev/ic/spic.c:1.21 Sat Aug 7 16:19:12 2021
+++ src/sys/dev/ic/spic.c Sun Apr 10 09:50:45 2022
@@ -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>
Index: src/sys/dev/ic/spicvar.h
diff -u src/sys/dev/ic/spicvar.h:1.8 src/sys/dev/ic/spicvar.h:1.9
--- src/sys/dev/ic/spicvar.h:1.8 Mon Jun 27 07:37:54 2016
+++ src/sys/dev/ic/spicvar.h Sun Apr 10 09:50:45 2022
@@ -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.
Index: src/sys/dev/pci/agpvar.h
diff -u src/sys/dev/pci/agpvar.h:1.21 src/sys/dev/pci/agpvar.h:1.22
--- src/sys/dev/pci/agpvar.h:1.21 Sun Nov 2 00:05:03 2014
+++ src/sys/dev/pci/agpvar.h Sun Apr 10 09:50:45 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: agpvar.h,v 1.21 2014/11/02 00:05:03 christos Exp $ */
+/* $NetBSD: agpvar.h,v 1.22 2022/04/10 09:50:45 andvar Exp $ */
/*-
* Copyright (c) 2000 Doug Rabson
@@ -231,7 +231,7 @@ int agp_acquire(void *);
int agp_release(void *);
/*
- * Enable the agp hardware with the relavent mode. The mode bits are
+ * Enable the agp hardware with the relevant mode. The mode bits are
* defined in <dev/pci/agpreg.h>
*/
int agp_enable(void *, u_int32_t);
Index: src/sys/fs/nilfs/nilfs_vnops.c
diff -u src/sys/fs/nilfs/nilfs_vnops.c:1.45 src/sys/fs/nilfs/nilfs_vnops.c:1.46
--- src/sys/fs/nilfs/nilfs_vnops.c:1.45 Wed Oct 20 03:08:17 2021
+++ src/sys/fs/nilfs/nilfs_vnops.c Sun Apr 10 09:50:45 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: nilfs_vnops.c,v 1.45 2021/10/20 03:08:17 thorpej Exp $ */
+/* $NetBSD: nilfs_vnops.c,v 1.46 2022/04/10 09:50:45 andvar Exp $ */
/*
* Copyright (c) 2008, 2009 Reinoud Zandijk
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: nilfs_vnops.c,v 1.45 2021/10/20 03:08:17 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nilfs_vnops.c,v 1.46 2022/04/10 09:50:45 andvar Exp $");
#endif /* not lint */
@@ -753,7 +753,7 @@ out:
cache_enter(dvp, *vpp, cnp->cn_nameptr, cnp->cn_namelen,
cnp->cn_flags);
- DPRINTFIF(LOOKUP, error, ("nilfs_lookup returing error %d\n", error));
+ DPRINTFIF(LOOKUP, error, ("nilfs_lookup returning error %d\n", error));
if (error)
return error;
Index: src/sys/fs/udf/udf_subr.c
diff -u src/sys/fs/udf/udf_subr.c:1.167 src/sys/fs/udf/udf_subr.c:1.168
--- src/sys/fs/udf/udf_subr.c:1.167 Tue Mar 8 18:30:43 2022
+++ src/sys/fs/udf/udf_subr.c Sun Apr 10 09:50:46 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_subr.c,v 1.167 2022/03/08 18:30:43 reinoud Exp $ */
+/* $NetBSD: udf_subr.c,v 1.168 2022/04/10 09:50:46 andvar Exp $ */
/*
* Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -29,7 +29,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.167 2022/03/08 18:30:43 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.168 2022/04/10 09:50:46 andvar Exp $");
#endif /* not lint */
@@ -5921,7 +5921,7 @@ udf_newvnode(struct mount *mp, struct vn
/* initialise genfs */
genfs_node_init(vp, &udf_genfsops);
- /* get parent's unique ID for refering '..' if its a directory */
+ /* get parent's unique ID for referring '..' if its a directory */
if (dir_node->fe) {
parent_unique_id = udf_rw64(dir_node->fe->unique_id);
parent_gid = (gid_t) udf_rw32(dir_node->fe->gid);
Index: src/sys/fs/udf/udf_vnops.c
diff -u src/sys/fs/udf/udf_vnops.c:1.122 src/sys/fs/udf/udf_vnops.c:1.123
--- src/sys/fs/udf/udf_vnops.c:1.122 Fri Apr 1 08:26:27 2022
+++ src/sys/fs/udf/udf_vnops.c Sun Apr 10 09:50:46 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_vnops.c,v 1.122 2022/04/01 08:26:27 reinoud Exp $ */
+/* $NetBSD: udf_vnops.c,v 1.123 2022/04/10 09:50:46 andvar Exp $ */
/*
* Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -32,7 +32,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_vnops.c,v 1.122 2022/04/01 08:26:27 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_vnops.c,v 1.123 2022/04/10 09:50:46 andvar Exp $");
#endif /* not lint */
@@ -847,7 +847,7 @@ done:
out:
if (error == 0 && *vpp != dvp)
VOP_UNLOCK(*vpp);
- DPRINTFIF(LOOKUP, error, ("udf_lookup returing error %d\n", error));
+ DPRINTFIF(LOOKUP, error, ("udf_lookup returning error %d\n", error));
return error;
}
Index: src/sys/miscfs/genfs/layer_subr.c
diff -u src/sys/miscfs/genfs/layer_subr.c:1.38 src/sys/miscfs/genfs/layer_subr.c:1.39
--- src/sys/miscfs/genfs/layer_subr.c:1.38 Mon Apr 13 19:23:19 2020
+++ src/sys/miscfs/genfs/layer_subr.c Sun Apr 10 09:50:46 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: layer_subr.c,v 1.38 2020/04/13 19:23:19 ad Exp $ */
+/* $NetBSD: layer_subr.c,v 1.39 2022/04/10 09:50:46 andvar Exp $ */
/*
* Copyright (c) 1999 National Aeronautics & Space Administration
@@ -69,7 +69,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: layer_subr.c,v 1.38 2020/04/13 19:23:19 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: layer_subr.c,v 1.39 2022/04/10 09:50:46 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -108,7 +108,7 @@ layerfs_done(void)
}
/*
- * layer_node_create: try to find an existing layerfs vnode refering to it,
+ * layer_node_create: try to find an existing layerfs vnode referring to it,
* otherwise make a new vnode which contains a reference to the lower vnode.
*/
int
Index: src/sys/net/if_tap.c
diff -u src/sys/net/if_tap.c:1.126 src/sys/net/if_tap.c:1.127
--- src/sys/net/if_tap.c:1.126 Thu Mar 31 19:30:17 2022
+++ src/sys/net/if_tap.c Sun Apr 10 09:50:46 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: if_tap.c,v 1.126 2022/03/31 19:30:17 pgoyette Exp $ */
+/* $NetBSD: if_tap.c,v 1.127 2022/04/10 09:50:46 andvar Exp $ */
/*
* Copyright (c) 2003, 2004, 2008, 2009 The NetBSD Foundation.
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_tap.c,v 1.126 2022/03/31 19:30:17 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_tap.c,v 1.127 2022/04/10 09:50:46 andvar Exp $");
#if defined(_KERNEL_OPT)
@@ -555,7 +555,7 @@ tap_init(struct ifnet *ifp)
/*
* _stop() is called when an interface goes down. It is our
- * responsability to validate that state by clearing the
+ * responsibility to validate that state by clearing the
* IFF_RUNNING flag.
*
* We have to wake up all the sleeping processes to have the pending
Index: src/sys/net/lagg/if_lagg_lacp.c
diff -u src/sys/net/lagg/if_lagg_lacp.c:1.24 src/sys/net/lagg/if_lagg_lacp.c:1.25
--- src/sys/net/lagg/if_lagg_lacp.c:1.24 Mon Apr 4 06:12:27 2022
+++ src/sys/net/lagg/if_lagg_lacp.c Sun Apr 10 09:50:46 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: if_lagg_lacp.c,v 1.24 2022/04/04 06:12:27 yamaguchi Exp $ */
+/* $NetBSD: if_lagg_lacp.c,v 1.25 2022/04/10 09:50:46 andvar Exp $ */
/*-
* SPDX-License-Identifier: BSD-2-Clause-NetBSD
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_lagg_lacp.c,v 1.24 2022/04/04 06:12:27 yamaguchi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_lagg_lacp.c,v 1.25 2022/04/10 09:50:46 andvar Exp $");
#ifdef _KERNEL_OPT
#include "opt_lagg.h"
@@ -507,8 +507,8 @@ lacp_attach(struct lagg_softc *sc, struc
"%s-lacp", sc->sc_if.if_xname);
lacp_evcnt_attach(lsc, &lsc->lsc_mgethdr_failed, "MGETHDR failed");
lacp_evcnt_attach(lsc, &lsc->lsc_mpullup_failed, "m_pullup failed");
- lacp_evcnt_attach(lsc, &lsc->lsc_badlacpdu, "Bad LACPDU recieved");
- lacp_evcnt_attach(lsc, &lsc->lsc_badmarkerdu, "Bad MarkerDU recieved");
+ lacp_evcnt_attach(lsc, &lsc->lsc_badlacpdu, "Bad LACPDU received");
+ lacp_evcnt_attach(lsc, &lsc->lsc_badmarkerdu, "Bad MarkerDU received");
lacp_evcnt_attach(lsc, &lsc->lsc_norcvif, "No received interface");
lacp_evcnt_attach(lsc, &lsc->lsc_nolaggport, "No lagg context");
lacp_evcnt_attach(lsc, &lsc->lsc_duq_nospc, "No space left on queues");
Index: src/sys/netinet/ip_var.h
diff -u src/sys/netinet/ip_var.h:1.133 src/sys/netinet/ip_var.h:1.134
--- src/sys/netinet/ip_var.h:1.133 Wed Feb 3 18:13:13 2021
+++ src/sys/netinet/ip_var.h Sun Apr 10 09:50:46 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_var.h,v 1.133 2021/02/03 18:13:13 roy Exp $ */
+/* $NetBSD: ip_var.h,v 1.134 2022/04/10 09:50:46 andvar Exp $ */
/*
* Copyright (c) 1982, 1986, 1993
@@ -64,7 +64,7 @@ struct ipflow {
struct route ipf_ro; /* associated route entry */
u_long ipf_uses; /* number of uses in this period */
u_long ipf_last_uses; /* number of uses in last period */
- u_long ipf_dropped; /* ENOBUFS retured by if_output */
+ u_long ipf_dropped; /* ENOBUFS returned by if_output */
u_long ipf_errors; /* other errors returned by if_output */
u_int ipf_timer; /* lifetime timer */
};
Index: src/sys/netipsec/ipsec_output.c
diff -u src/sys/netipsec/ipsec_output.c:1.84 src/sys/netipsec/ipsec_output.c:1.85
--- src/sys/netipsec/ipsec_output.c:1.84 Fri Nov 1 04:23:21 2019
+++ src/sys/netipsec/ipsec_output.c Sun Apr 10 09:50:46 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: ipsec_output.c,v 1.84 2019/11/01 04:23:21 knakahara Exp $ */
+/* $NetBSD: ipsec_output.c,v 1.85 2022/04/10 09:50:46 andvar Exp $ */
/*
* Copyright (c) 2002, 2003 Sam Leffler, Errno Consulting
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipsec_output.c,v 1.84 2019/11/01 04:23:21 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipsec_output.c,v 1.85 2022/04/10 09:50:46 andvar Exp $");
#if defined(_KERNEL_OPT)
#include "opt_inet.h"
@@ -616,7 +616,7 @@ noneed:
* bypass this call because of the explicit call done above
* (necessary to deal with IP_DF handling for IPv4).
*
- * NB: m & sav are ``passed to caller'' who's reponsible for
+ * NB: m & sav are ``passed to caller'' who's responsible for
* for reclaiming their resources.
*/
if (sav->tdb_xform->xf_type != XF_IP4) {
Index: src/sys/rump/kern/lib/libsimplehook_tester/simplehook_tester.c
diff -u src/sys/rump/kern/lib/libsimplehook_tester/simplehook_tester.c:1.1 src/sys/rump/kern/lib/libsimplehook_tester/simplehook_tester.c:1.2
--- src/sys/rump/kern/lib/libsimplehook_tester/simplehook_tester.c:1.1 Thu Sep 30 02:00:20 2021
+++ src/sys/rump/kern/lib/libsimplehook_tester/simplehook_tester.c Sun Apr 10 09:50:46 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: simplehook_tester.c,v 1.1 2021/09/30 02:00:20 yamaguchi Exp $ */
+/* $NetBSD: simplehook_tester.c,v 1.2 2022/04/10 09:50:46 andvar Exp $ */
/*
* Copyright (c) 2021 Internet Initiative Japan Inc.
* All rights reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: simplehook_tester.c,v 1.1 2021/09/30 02:00:20 yamaguchi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: simplehook_tester.c,v 1.2 2022/04/10 09:50:46 andvar Exp $");
#include <sys/param.h>
@@ -239,7 +239,7 @@ simplehook_tester_hook(void *xth)
th->th_count++;
if (th->th_disestablish && th->th_hook != NULL) {
- HK_DPRINTF(("[%s, %d]: disestablish runing hook%zu\n",
+ HK_DPRINTF(("[%s, %d]: disestablish running hook%zu\n",
__func__, __LINE__, th->th_idx));
simplehook_disestablish(ctx->ctx_hooks,
th->th_hook, &ctx->ctx_mutex);
Index: src/sys/uvm/uvm_map.c
diff -u src/sys/uvm/uvm_map.c:1.393 src/sys/uvm/uvm_map.c:1.394
--- src/sys/uvm/uvm_map.c:1.393 Sat Apr 9 23:38:33 2022
+++ src/sys/uvm/uvm_map.c Sun Apr 10 09:50:46 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_map.c,v 1.393 2022/04/09 23:38:33 riastradh Exp $ */
+/* $NetBSD: uvm_map.c,v 1.394 2022/04/10 09:50:46 andvar Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.393 2022/04/09 23:38:33 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.394 2022/04/10 09:50:46 andvar Exp $");
#include "opt_ddb.h"
#include "opt_pax.h"
@@ -4361,7 +4361,7 @@ uvm_mapent_forkcopy(struct vm_map *new_m
* process is sharing the amap with another
* process. if we do not clear needs_copy here
* we will end up in a situation where both the
- * parent and child process are refering to the
+ * parent and child process are referring to the
* same amap with "needs_copy" set. if the
* parent write-faults, the fault routine will
* clear "needs_copy" in the parent by allocating
Index: src/tests/lib/libcurses/tests/inwstr
diff -u src/tests/lib/libcurses/tests/inwstr:1.1 src/tests/lib/libcurses/tests/inwstr:1.2
--- src/tests/lib/libcurses/tests/inwstr:1.1 Sat Oct 24 04:46:17 2020
+++ src/tests/lib/libcurses/tests/inwstr Sun Apr 10 09:50:47 2022
@@ -5,7 +5,7 @@ call OK refresh
call OK move 0 73
call2 OK $WSTR inwstr
-# this one fails (non-spacing character should also be recieved)
+# this one fails (non-spacing character should also be received)
# wchar WSTR2 [0x3401, 0x300]
# call OK mvaddwstr 2 78 $WSTR2
# call OK refresh
Index: src/usr.bin/scmdctl/uart.c
diff -u src/usr.bin/scmdctl/uart.c:1.1 src/usr.bin/scmdctl/uart.c:1.2
--- src/usr.bin/scmdctl/uart.c:1.1 Tue Dec 7 17:39:55 2021
+++ src/usr.bin/scmdctl/uart.c Sun Apr 10 09:50:47 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: uart.c,v 1.1 2021/12/07 17:39:55 brad Exp $ */
+/* $NetBSD: uart.c,v 1.2 2022/04/10 09:50:47 andvar Exp $ */
/*
* Copyright (c) 2021 Brad Spencer <[email protected]>
@@ -17,7 +17,7 @@
*/
#ifdef __RCSID
-__RCSID("$NetBSD: uart.c,v 1.1 2021/12/07 17:39:55 brad Exp $");
+__RCSID("$NetBSD: uart.c,v 1.2 2022/04/10 09:50:47 andvar Exp $");
#endif
/* Functions that know how to talk to a SCMD using the uart tty
@@ -132,7 +132,7 @@ uart_get_response(int fd, bool debug, ch
return EINVAL;
while (c != '>') {
if (debug)
- fprintf(stderr,"uart_get_reponse: draining: %d -%c-\n",i,c);
+ fprintf(stderr,"uart_get_response: draining: %d -%c-\n",i,c);
i = read(fd,&c,1);
if (i == -1)
return EINVAL;
Index: src/usr.sbin/mopd/mopcopy/mopcopy.c
diff -u src/usr.sbin/mopd/mopcopy/mopcopy.c:1.10 src/usr.sbin/mopd/mopcopy/mopcopy.c:1.11
--- src/usr.sbin/mopd/mopcopy/mopcopy.c:1.10 Sun Feb 13 00:30:10 2022
+++ src/usr.sbin/mopd/mopcopy/mopcopy.c Sun Apr 10 09:50:47 2022
@@ -1,9 +1,9 @@
-/* $NetBSD: mopcopy.c,v 1.10 2022/02/13 00:30:10 andvar Exp $ */
+/* $NetBSD: mopcopy.c,v 1.11 2022/04/10 09:50:47 andvar Exp $ */
/* mopcopy - Convert a Unix format kernel into something that
* can be transferred via MOP.
*
- * This code was written while refering to the NetBSD/vax boot
+ * This code was written while referring to the NetBSD/vax boot
* loader. Therefore anything that can be booted by the Vax
* should be convertable with this program.
*
@@ -49,7 +49,7 @@
#include "port.h"
#ifndef lint
-__RCSID("$NetBSD: mopcopy.c,v 1.10 2022/02/13 00:30:10 andvar Exp $");
+__RCSID("$NetBSD: mopcopy.c,v 1.11 2022/04/10 09:50:47 andvar Exp $");
#endif
#include "os.h"