diff options
| author | andvar <andvar@NetBSD.org> | 2022-04-17 21:24:52 +0000 |
|---|---|---|
| committer | andvar <andvar@NetBSD.org> | 2022-04-17 21:24:52 +0000 |
| commit | bcbc1fcf66293d2ccf37cd6aa1b1121562b28133 (patch) | |
| tree | 1d7ff8bc0c5a6697fde4a9f3f63c3aebf0ca396e | |
| parent | 68ab89ee24c9efdbf0f7c6a3be221bef68475f6e (diff) | |
fix various typos in comments.
| -rw-r--r-- | bin/sh/parser.c | 12 | ||||
| -rw-r--r-- | libexec/ftpd/extern.h | 4 | ||||
| -rw-r--r-- | sys/arch/hppa/hppa/db_disasm.c | 6 | ||||
| -rw-r--r-- | sys/arch/mips/cavium/dev/octeon_gmxreg.h | 4 | ||||
| -rw-r--r-- | sys/dev/i2o/iopio.h | 4 | ||||
| -rw-r--r-- | sys/dev/qbus/ts.c | 8 | ||||
| -rw-r--r-- | sys/netinet/ip.h | 4 |
7 files changed, 21 insertions, 21 deletions
diff --git a/bin/sh/parser.c b/bin/sh/parser.c index 3494988d97d..b6257349038 100644 --- a/bin/sh/parser.c +++ b/bin/sh/parser.c @@ -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 @@ command(void) } 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 @@ slurp_heredoc(char *const eofmark, const int striptabs, const int sq) /* * 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 @@ readcstyleesc(char *out) /* * 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 @@ getprompt(void *unused) * 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 --git a/libexec/ftpd/extern.h b/libexec/ftpd/extern.h index 8e0bdf1d1ad..1acd51f0f35 100644 --- a/libexec/ftpd/extern.h +++ b/libexec/ftpd/extern.h @@ -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 @@ struct ftpclass { 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 --git a/sys/arch/hppa/hppa/db_disasm.c b/sys/arch/hppa/hppa/db_disasm.c index 1a393a35d25..a10dbbfb029 100644 --- a/sys/arch/hppa/hppa/db_disasm.c +++ b/sys/arch/hppa/hppa/db_disasm.c @@ -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 @@ static const char fdreg[][4] = { /* 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 --git a/sys/arch/mips/cavium/dev/octeon_gmxreg.h b/sys/arch/mips/cavium/dev/octeon_gmxreg.h index 1360c6f12d2..2e6f9eb5c1b 100644 --- a/sys/arch/mips/cavium/dev/octeon_gmxreg.h +++ b/sys/arch/mips/cavium/dev/octeon_gmxreg.h @@ -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 --git a/sys/dev/i2o/iopio.h b/sys/dev/i2o/iopio.h index 287643e41b8..1c6df2a7859 100644 --- a/sys/dev/i2o/iopio.h +++ b/sys/dev/i2o/iopio.h @@ -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 --git a/sys/dev/qbus/ts.c b/sys/dev/qbus/ts.c index 44a50ba4553..558e75b3226 100644 --- a/sys/dev/qbus/ts.c +++ b/sys/dev/qbus/ts.c @@ -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 @@ tscommand(struct ts_softc *sc, dev_t dev, int cmd, int count) /* * 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 @@ tsintr(void *arg) case TS_TC_NORM: /* * Normal termination -- The operation is completed - * witout incident. + * without incident. */ if (sc->sc_state == TS_FASTREPOS) { #ifdef TSDEBUG diff --git a/sys/netinet/ip.h b/sys/netinet/ip.h index 211c8f7ede8..51158dcbf33 100644 --- a/sys/netinet/ip.h +++ b/sys/netinet/ip.h @@ -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 @@ struct ip { }; #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) |
