Fix few typos in comments, mainly s/argment/argument/.

This commit is contained in:
andvar 2024-01-15 19:44:06 +00:00
parent 80f761e933
commit 915340d5d2
6 changed files with 17 additions and 17 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.18 2023/09/01 06:16:45 andvar Exp $ */
/* $NetBSD: machdep.c,v 1.19 2024/01/15 19:44:06 andvar Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.18 2023/09/01 06:16:45 andvar Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.19 2024/01/15 19:44:06 andvar Exp $");
#include "opt_ddb.h"
@ -133,7 +133,7 @@ extern const struct callback callvec;
/*
* Do all the stuff that locore normally does before calling main().
* The first 4 argments are passed by PROM monitor, and remaining two
* The first 4 arguments are passed by PROM monitor, and remaining two
* are built on temporary stack by our boot loader.
*/
void

View File

@ -1,4 +1,4 @@
/* $NetBSD: obsled.c,v 1.10 2014/02/25 18:30:08 pooka Exp $ */
/* $NetBSD: obsled.c,v 1.11 2024/01/15 19:44:07 andvar Exp $ */
/*
* Copyright (c) 2004 Shigeyuki Fukushima.
@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: obsled.c,v 1.10 2014/02/25 18:30:08 pooka Exp $");
__KERNEL_RCSID(0, "$NetBSD: obsled.c,v 1.11 2024/01/15 19:44:07 andvar Exp $");
#include <sys/param.h>
#include <sys/device.h>
@ -165,7 +165,7 @@ obsled_set_state(struct obsled_softc *sc)
/*
* Setting LED interface for inside kernel.
* Argumnt `led' is 3-bit LED state (led=0-7/ON=1/OFF=0).
* Argument `led' is 3-bit LED state (led=0-7/ON=1/OFF=0).
*/
void
obs266_led_set(int led)

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.110 2023/12/20 00:40:43 thorpej Exp $ */
/* $NetBSD: machdep.c,v 1.111 2024/01/15 19:44:07 andvar Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -31,7 +31,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.110 2023/12/20 00:40:43 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.111 2024/01/15 19:44:07 andvar Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -222,7 +222,7 @@ luna68k_init(void)
*
* 'bootarg' on LUNA-II has "<args of x command>" only.
*
* NetBSD/luna68k cares only the first argment; any of "sda".
* NetBSD/luna68k cares only the first argument; any of "sda".
*/
bootarg[63] = '\0';
for (cp = bootarg; *cp != '\0'; cp++) {

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.254 2020/09/28 01:20:29 simonb Exp $ */
/* $NetBSD: machdep.c,v 1.255 2024/01/15 19:44:07 andvar Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.254 2020/09/28 01:20:29 simonb Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.255 2024/01/15 19:44:07 andvar Exp $");
#include "opt_ddb.h"
#include "opt_modular.h"
@ -128,7 +128,7 @@ extern struct consdev promcd; /* XXX */
/*
* Do all the stuff that locore normally does before calling main().
* The first 4 argments are passed by PROM monitor, and remaining two
* The first 4 arguments are passed by PROM monitor, and remaining two
* are built on temporary stack by our boot loader (or in reg if N32/N64).
*/
void

View File

@ -1,4 +1,4 @@
/* $NetBSD: sctp_indata.c,v 1.13 2023/04/05 21:53:56 andvar Exp $ */
/* $NetBSD: sctp_indata.c,v 1.14 2024/01/15 19:44:07 andvar Exp $ */
/* $KAME: sctp_indata.c,v 1.36 2005/03/06 16:04:17 itojun Exp $ */
/*
@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sctp_indata.c,v 1.13 2023/04/05 21:53:56 andvar Exp $");
__KERNEL_RCSID(0, "$NetBSD: sctp_indata.c,v 1.14 2024/01/15 19:44:07 andvar Exp $");
#ifdef _KERNEL_OPT
#include "opt_ipsec.h"
@ -2732,7 +2732,7 @@ sctp_handle_segments(struct sctp_tcb *stcb, struct sctp_association *asoc,
for (i = 0; i < num_seg; i++) {
frag_strt = ntohs(frag->start);
frag_end = ntohs(frag->end);
/* some sanity checks on the fargment offsets */
/* some sanity checks on the fragment offsets */
if (frag_strt > frag_end) {
/* this one is malformed, skip */
frag++;

View File

@ -1,4 +1,4 @@
/* $NetBSD: parser.c,v 1.12 2021/07/14 08:33:05 ozaki-r Exp $ */
/* $NetBSD: parser.c,v 1.13 2024/01/15 19:44:07 andvar Exp $ */
/* $KAME: parser.c,v 1.16 2002/02/20 10:40:39 kjc Exp $ */
/*
* Copyright (C) 1999-2002
@ -469,7 +469,7 @@ interface_parser(char *cmdbuf)
return (0);
}
/* create argment list & look for scheduling discipline options. */
/* create argument list & look for scheduling discipline options. */
snprintf(qdisc_name, sizeof qdisc_name, "null");
argc = 0;
ap = w;