Module Name: src Committed By: andvar Date: Sun Apr 17 21:24:53 UTC 2022
Modified Files: src/bin/sh: parser.c src/libexec/ftpd: extern.h src/sys/arch/hppa/hppa: db_disasm.c src/sys/arch/mips/cavium/dev: octeon_gmxreg.h src/sys/dev/i2o: iopio.h src/sys/dev/qbus: ts.c src/sys/netinet: ip.h Log Message: fix various typos in comments. To generate a diff of this commit: cvs rdiff -u -r1.178 -r1.179 src/bin/sh/parser.c cvs rdiff -u -r1.65 -r1.66 src/libexec/ftpd/extern.h cvs rdiff -u -r1.17 -r1.18 src/sys/arch/hppa/hppa/db_disasm.c cvs rdiff -u -r1.5 -r1.6 src/sys/arch/mips/cavium/dev/octeon_gmxreg.h cvs rdiff -u -r1.8 -r1.9 src/sys/dev/i2o/iopio.h cvs rdiff -u -r1.35 -r1.36 src/sys/dev/qbus/ts.c cvs rdiff -u -r1.38 -r1.39 src/sys/netinet/ip.h 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/parser.c diff -u src/bin/sh/parser.c:1.178 src/bin/sh/parser.c:1.179 --- src/bin/sh/parser.c:1.178 Sat Apr 16 14:20:45 2022 +++ src/bin/sh/parser.c Sun Apr 17 21:24:52 2022 @@ -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 /* * 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 Index: src/libexec/ftpd/extern.h diff -u src/libexec/ftpd/extern.h:1.65 src/libexec/ftpd/extern.h:1.66 --- src/libexec/ftpd/extern.h:1.65 Tue Oct 15 18:29:32 2019 +++ src/libexec/ftpd/extern.h Sun Apr 17 21:24:53 2022 @@ -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 */ Index: src/sys/arch/hppa/hppa/db_disasm.c diff -u src/sys/arch/hppa/hppa/db_disasm.c:1.17 src/sys/arch/hppa/hppa/db_disasm.c:1.18 --- src/sys/arch/hppa/hppa/db_disasm.c:1.17 Wed Feb 21 10:42:16 2018 +++ src/sys/arch/hppa/hppa/db_disasm.c Sun Apr 17 21:24:53 2022 @@ -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) */ Index: src/sys/arch/mips/cavium/dev/octeon_gmxreg.h diff -u src/sys/arch/mips/cavium/dev/octeon_gmxreg.h:1.5 src/sys/arch/mips/cavium/dev/octeon_gmxreg.h:1.6 --- src/sys/arch/mips/cavium/dev/octeon_gmxreg.h:1.5 Tue Jun 23 05:17:13 2020 +++ src/sys/arch/mips/cavium/dev/octeon_gmxreg.h Sun Apr 17 21:24:53 2022 @@ -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) Index: src/sys/dev/i2o/iopio.h diff -u src/sys/dev/i2o/iopio.h:1.8 src/sys/dev/i2o/iopio.h:1.9 --- src/sys/dev/i2o/iopio.h:1.8 Sat Oct 28 06:27:32 2017 +++ src/sys/dev/i2o/iopio.h Sun Apr 17 21:24:53 2022 @@ -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; Index: src/sys/dev/qbus/ts.c diff -u src/sys/dev/qbus/ts.c:1.35 src/sys/dev/qbus/ts.c:1.36 --- src/sys/dev/qbus/ts.c:1.35 Sat Feb 12 02:40:20 2022 +++ src/sys/dev/qbus/ts.c Sun Apr 17 21:24:53 2022 @@ -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 /* * 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 Index: src/sys/netinet/ip.h diff -u src/sys/netinet/ip.h:1.38 src/sys/netinet/ip.h:1.39 --- src/sys/netinet/ip.h:1.38 Wed Feb 3 18:13:13 2021 +++ src/sys/netinet/ip.h Sun Apr 17 21:24:53 2022 @@ -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)