Module Name:    src
Committed By:   andvar
Date:           Mon Jan 15 19:44:07 UTC 2024

Modified Files:
        src/sys/arch/emips/emips: machdep.c
        src/sys/arch/evbppc/obs405/dev: obsled.c
        src/sys/arch/luna68k/luna68k: machdep.c
        src/sys/arch/pmax/pmax: machdep.c
        src/sys/netinet: sctp_indata.c
        src/usr.sbin/altq/libaltq: parser.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/emips/emips/machdep.c
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/evbppc/obs405/dev/obsled.c
cvs rdiff -u -r1.110 -r1.111 src/sys/arch/luna68k/luna68k/machdep.c
cvs rdiff -u -r1.254 -r1.255 src/sys/arch/pmax/pmax/machdep.c
cvs rdiff -u -r1.13 -r1.14 src/sys/netinet/sctp_indata.c
cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/altq/libaltq/parser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/emips/emips/machdep.c
diff -u src/sys/arch/emips/emips/machdep.c:1.18 src/sys/arch/emips/emips/machdep.c:1.19
--- src/sys/arch/emips/emips/machdep.c:1.18	Fri Sep  1 06:16:45 2023
+++ src/sys/arch/emips/emips/machdep.c	Mon Jan 15 19:44:06 2024
@@ -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

Index: src/sys/arch/evbppc/obs405/dev/obsled.c
diff -u src/sys/arch/evbppc/obs405/dev/obsled.c:1.10 src/sys/arch/evbppc/obs405/dev/obsled.c:1.11
--- src/sys/arch/evbppc/obs405/dev/obsled.c:1.10	Tue Feb 25 18:30:08 2014
+++ src/sys/arch/evbppc/obs405/dev/obsled.c	Mon Jan 15 19:44:07 2024
@@ -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)

Index: src/sys/arch/luna68k/luna68k/machdep.c
diff -u src/sys/arch/luna68k/luna68k/machdep.c:1.110 src/sys/arch/luna68k/luna68k/machdep.c:1.111
--- src/sys/arch/luna68k/luna68k/machdep.c:1.110	Wed Dec 20 00:40:43 2023
+++ src/sys/arch/luna68k/luna68k/machdep.c	Mon Jan 15 19:44:07 2024
@@ -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++) {

Index: src/sys/arch/pmax/pmax/machdep.c
diff -u src/sys/arch/pmax/pmax/machdep.c:1.254 src/sys/arch/pmax/pmax/machdep.c:1.255
--- src/sys/arch/pmax/pmax/machdep.c:1.254	Mon Sep 28 01:20:29 2020
+++ src/sys/arch/pmax/pmax/machdep.c	Mon Jan 15 19:44:07 2024
@@ -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

Index: src/sys/netinet/sctp_indata.c
diff -u src/sys/netinet/sctp_indata.c:1.13 src/sys/netinet/sctp_indata.c:1.14
--- src/sys/netinet/sctp_indata.c:1.13	Wed Apr  5 21:53:56 2023
+++ src/sys/netinet/sctp_indata.c	Mon Jan 15 19:44:07 2024
@@ -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 *st
 	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++;

Index: src/usr.sbin/altq/libaltq/parser.c
diff -u src/usr.sbin/altq/libaltq/parser.c:1.12 src/usr.sbin/altq/libaltq/parser.c:1.13
--- src/usr.sbin/altq/libaltq/parser.c:1.12	Wed Jul 14 08:33:05 2021
+++ src/usr.sbin/altq/libaltq/parser.c	Mon Jan 15 19:44:07 2024
@@ -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;

Reply via email to