Module Name: src
Committed By: andvar
Date: Thu Aug 10 06:44:12 UTC 2023
Modified Files:
src/sys/arch/hpc/stand/hpcboot/mips: mips_arch.h
src/sys/netinet: sctp_structs.h
src/sys/netipsec: key.c
Log Message:
fix typos in comments s/iton/tion/ or s/ton/tion/.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/hpc/stand/hpcboot/mips/mips_arch.h
cvs rdiff -u -r1.3 -r1.4 src/sys/netinet/sctp_structs.h
cvs rdiff -u -r1.281 -r1.282 src/sys/netipsec/key.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/hpc/stand/hpcboot/mips/mips_arch.h
diff -u src/sys/arch/hpc/stand/hpcboot/mips/mips_arch.h:1.6 src/sys/arch/hpc/stand/hpcboot/mips/mips_arch.h:1.7
--- src/sys/arch/hpc/stand/hpcboot/mips/mips_arch.h:1.6 Mon Apr 28 20:23:20 2008
+++ src/sys/arch/hpc/stand/hpcboot/mips/mips_arch.h Thu Aug 10 06:44:11 2023
@@ -1,4 +1,4 @@
-/* -*-C++-*- $NetBSD: mips_arch.h,v 1.6 2008/04/28 20:23:20 martin Exp $ */
+/* -*-C++-*- $NetBSD: mips_arch.h,v 1.7 2023/08/10 06:44:11 andvar Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -79,7 +79,7 @@ public:
/*
* 2nd-bootloader. make sure that PIC and its size is lower than page size.
* and can't call subroutine.
- * naked funciton can't use stack. if you want to use, remove its declare.
+ * naked function can't use stack. if you want to use, remove its declare.
* interrupts are disabled. but if access kuseg,(should not occur)
* it causes TLB exception and then Windows CE enable interrupts again.
*/
Index: src/sys/netinet/sctp_structs.h
diff -u src/sys/netinet/sctp_structs.h:1.3 src/sys/netinet/sctp_structs.h:1.4
--- src/sys/netinet/sctp_structs.h:1.3 Sat Jun 24 05:35:00 2023
+++ src/sys/netinet/sctp_structs.h Thu Aug 10 06:44:12 2023
@@ -1,5 +1,5 @@
/* $KAME: sctp_structs.h,v 1.13 2005/03/06 16:04:18 itojun Exp $ */
-/* $NetBSD: sctp_structs.h,v 1.3 2023/06/24 05:35:00 msaitoh Exp $ */
+/* $NetBSD: sctp_structs.h,v 1.4 2023/08/10 06:44:12 andvar Exp $ */
#ifndef __SCTP_STRUCTS_H__
#define __SCTP_STRUCTS_H__
@@ -491,7 +491,7 @@ struct sctp_association {
unsigned int total_flight;
/* Total book size in flight */
unsigned int total_flight_count; /* count of chunks used with book total */
- /* count of destinaton nets and list of destination nets */
+ /* count of destination nets and list of destination nets */
unsigned int numnets;
/* Total error count on this association */
Index: src/sys/netipsec/key.c
diff -u src/sys/netipsec/key.c:1.281 src/sys/netipsec/key.c:1.282
--- src/sys/netipsec/key.c:1.281 Fri Jul 21 00:44:38 2023
+++ src/sys/netipsec/key.c Thu Aug 10 06:44:12 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: key.c,v 1.281 2023/07/21 00:44:38 knakahara Exp $ */
+/* $NetBSD: key.c,v 1.282 2023/08/10 06:44:12 andvar Exp $ */
/* $FreeBSD: key.c,v 1.3.2.3 2004/02/14 22:23:23 bms Exp $ */
/* $KAME: key.c,v 1.191 2001/06/27 10:46:49 sakane Exp $ */
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: key.c,v 1.281 2023/07/21 00:44:38 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: key.c,v 1.282 2023/08/10 06:44:12 andvar Exp $");
/*
* This code is referred to RFC 2367
@@ -2240,7 +2240,7 @@ key_spdadd(struct socket *so, struct mbu
xpl0 = mhp->ext[SADB_X_EXT_POLICY];
- /* checking the direciton. */
+ /* checking the direction. */
switch (xpl0->sadb_x_policy_dir) {
case IPSEC_DIR_INBOUND:
case IPSEC_DIR_OUTBOUND: