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.
details: https://anonhg.NetBSD.org/src/rev/3846d2382476
branches: trunk
changeset: 365291:3846d2382476
user: andvar <andvar%NetBSD.org@localhost>
date: Sun Apr 17 21:24:52 2022 +0000
description:
fix various typos in comments.
diffstat:
bin/sh/parser.c | 12 ++++++------
libexec/ftpd/extern.h | 4 ++--
sys/arch/hppa/hppa/db_disasm.c | 6 +++---
sys/arch/mips/cavium/dev/octeon_gmxreg.h | 4 ++--
sys/dev/i2o/iopio.h | 4 ++--
sys/dev/qbus/ts.c | 8 ++++----
sys/netinet/ip.h | 4 ++--
7 files changed, 21 insertions(+), 21 deletions(-)
diffs (189 lines):
diff -r 78455bea0f19 -r 3846d2382476 bin/sh/parser.c
--- a/bin/sh/parser.c Sun Apr 17 15:20:36 2022 +0000
+++ b/bin/sh/parser.c Sun Apr 17 21:24:52 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: parser.c,v 1.178 2022/04/16 14:20:45 kre Exp $ */
+/* $NetBSD: parser.c,v 1.179 2022/04/17 21:24:52 andvar Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)parser.c 8.7 (Berkeley) 5/16/95";
#else
-__RCSID("$NetBSD: parser.c,v 1.178 2022/04/16 14:20:45 kre Exp $");
+__RCSID("$NetBSD: parser.c,v 1.179 2022/04/17 21:24:52 andvar Exp $");
#endif
#endif /* not lint */
@@ -362,7 +362,7 @@
}
tokpushback++;
-#ifdef BOGUS_NOT_COMMAND /* only in pileline() */
+#ifdef BOGUS_NOT_COMMAND /* only in pipeline() */
while (readtoken() == TNOT) {
CTRACE(DBG_PARSE, ("command: TNOT (bogus) recognized\n"));
negate++;
@@ -891,7 +891,7 @@
/*
* in single quoted mode (eofmark quoted)
* all we look for is \n so we can check
- * for the epfmark - everything saved literally.
+ * for the eofmark - everything saved literally.
*/
STPUTC(c, out);
if (c == '\n') {
@@ -1767,7 +1767,7 @@
/*
* Add a byte to output string, while checking if it needs to
* be escaped -- if its value happens to match the value of one
- * of our internal CTL* chars - which would (at a minumum) be
+ * of our internal CTL* chars - which would (at a minimum) be
* summarily removed later, if not escaped.
*
* The current definition of ISCTL() allows the compiler to
@@ -2675,7 +2675,7 @@
* expanded half way through reading a "command line")
*
* on error, expandonstack() cleans up the parser state, but then
- * simply jumps out through expandstr() withut doing any stack cleanup,
+ * simply jumps out through expandstr() without doing any stack cleanup,
* which is OK, as the error handler must deal with that anyway.
*
* The split into two funcs is to avoid problems with setjmp/longjmp
diff -r 78455bea0f19 -r 3846d2382476 libexec/ftpd/extern.h
--- a/libexec/ftpd/extern.h Sun Apr 17 15:20:36 2022 +0000
+++ b/libexec/ftpd/extern.h Sun Apr 17 21:24:52 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: extern.h,v 1.65 2019/10/15 18:29:32 christos Exp $ */
+/* $NetBSD: extern.h,v 1.66 2022/04/17 21:24:53 andvar Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -280,7 +280,7 @@
LLT maxtimeout; /* Maximum permitted timeout */
char *motd; /* MotD file to display after login */
char *notify; /* Files to notify about upon chdir */
- LLT portmin; /* Minumum port for passive mode */
+ LLT portmin; /* Minimum port for passive mode */
LLT portmax; /* Maximum port for passive mode */
LLT rateget; /* Get (RETR) transfer rate throttle */
LLT rateput; /* Put (STOR) transfer rate throttle */
diff -r 78455bea0f19 -r 3846d2382476 sys/arch/hppa/hppa/db_disasm.c
--- a/sys/arch/hppa/hppa/db_disasm.c Sun Apr 17 15:20:36 2022 +0000
+++ b/sys/arch/hppa/hppa/db_disasm.c Sun Apr 17 21:24:52 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_disasm.c,v 1.17 2018/02/21 10:42:16 skrll Exp $ */
+/* $NetBSD: db_disasm.c,v 1.18 2022/04/17 21:24:53 andvar Exp $ */
/* $OpenBSD: db_disasm.c,v 1.9 2000/04/18 20:02:45 mickey Exp $ */
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.17 2018/02/21 10:42:16 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.18 2022/04/17 21:24:53 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -990,7 +990,7 @@
/* To replace instr function, do the following: */
/* a) locate the desired entry in instrs[] below */
-/* b) change the 3rd field if an alternate mneumonic is */
+/* b) change the 3rd field if an alternate mnemonic is */
/* desired for window disassembly */
/* c) change the 4th field to the name of the function being */
/* used for replacement (i.e. ldwRepl instead of ldw) */
diff -r 78455bea0f19 -r 3846d2382476 sys/arch/mips/cavium/dev/octeon_gmxreg.h
--- a/sys/arch/mips/cavium/dev/octeon_gmxreg.h Sun Apr 17 15:20:36 2022 +0000
+++ b/sys/arch/mips/cavium/dev/octeon_gmxreg.h Sun Apr 17 21:24:52 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: octeon_gmxreg.h,v 1.5 2020/06/23 05:17:13 simonb Exp $ */
+/* $NetBSD: octeon_gmxreg.h,v 1.6 2022/04/17 21:24:53 andvar Exp $ */
/*
* Copyright (c) 2007 Internet Initiative Japan, Inc.
@@ -238,7 +238,7 @@
#define RXN_STATS_CTL_XXX_63_1 UINT64_C(0xfffffffffffffffe)
#define RXN_STATS_CTL_RD_CLR UINT64_C(0x0000000000000001)
-/* GMX Minimun Interface-Gap Cycles Registers */
+/* GMX Minimum Interface-Gap Cycles Registers */
#define RXN_IFG_XXX_63_4 UINT64_C(0xfffffffffffffff0)
#define RXN_IFG_IFG UINT64_C(0x000000000000000f)
diff -r 78455bea0f19 -r 3846d2382476 sys/dev/i2o/iopio.h
--- a/sys/dev/i2o/iopio.h Sun Apr 17 15:20:36 2022 +0000
+++ b/sys/dev/i2o/iopio.h Sun Apr 17 21:24:52 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: iopio.h,v 1.8 2017/10/28 06:27:32 riastradh Exp $ */
+/* $NetBSD: iopio.h,v 1.9 2022/04/17 21:24:53 andvar Exp $ */
/*-
* Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
#define IOP_MF_RESERVE 4 /* Frames to reserve for ctl ops */
#define IOP_MAX_XFER 64*1024 /* Maximum transfer size */
#define IOP_MAX_MSG_SIZE 160 /* Maximum message frame size */
-#define IOP_MIN_MSG_SIZE 128 /* Minumum size supported by IOP */
+#define IOP_MIN_MSG_SIZE 128 /* Minimum size supported by IOP */
struct iop_tidmap {
u_short it_tid;
diff -r 78455bea0f19 -r 3846d2382476 sys/dev/qbus/ts.c
--- a/sys/dev/qbus/ts.c Sun Apr 17 15:20:36 2022 +0000
+++ b/sys/dev/qbus/ts.c Sun Apr 17 21:24:52 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ts.c,v 1.35 2022/02/12 02:40:20 riastradh Exp $ */
+/* $NetBSD: ts.c,v 1.36 2022/04/17 21:24:53 andvar Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ts.c,v 1.35 2022/02/12 02:40:20 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ts.c,v 1.36 2022/04/17 21:24:53 andvar Exp $");
#undef TSDEBUG
@@ -368,7 +368,7 @@
/*
* Load the buffer. The b_count field gets used to hold the command
- * count. the b_resid field gets used to hold the command mneumonic.
+ * count. the b_resid field gets used to hold the command mnemonic.
* These 2 fields are "known" to be "safe" to use for this purpose.
* (Most other drivers also use these fields in this way.)
*/
@@ -639,7 +639,7 @@
case TS_TC_NORM:
/*
* Normal termination -- The operation is completed
- * witout incident.
+ * without incident.
*/
if (sc->sc_state == TS_FASTREPOS) {
#ifdef TSDEBUG
diff -r 78455bea0f19 -r 3846d2382476 sys/netinet/ip.h
--- a/sys/netinet/ip.h Sun Apr 17 15:20:36 2022 +0000
+++ b/sys/netinet/ip.h Sun Apr 17 21:24:52 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip.h,v 1.38 2021/02/03 18:13:13 roy Exp $ */
+/* $NetBSD: ip.h,v 1.39 2022/04/17 21:24:53 andvar Exp $ */
/*
* Copyright (c) 1982, 1986, 1993
@@ -73,7 +73,7 @@
};
#define IP_MAXPACKET 65535 /* maximum packet size */
-#define IP_MINFRAGSIZE 69 /* minumum size that can be fraged */
+#define IP_MINFRAGSIZE 69 /* minimum size that can be fraged */
/*
* Definitions for IP type of service (ip_tos)
Home |
Main Index |
Thread Index |
Old Index