fix various typos in comments.
This commit is contained in:
parent
d90e99ab09
commit
e2710f6fc4
|
@ -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
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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) */
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue