Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jul 2024 08:58:05 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 58c99e07506e - main - sctp(4): Fix typos in source code comments
Message-ID:  <202407210858.46L8w59I075852@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by gbe:

URL: https://cgit.FreeBSD.org/src/commit/?id=58c99e07506e67c06d703b080c2fc22cc39237f2

commit 58c99e07506e67c06d703b080c2fc22cc39237f2
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2024-07-21 08:57:22 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2024-07-21 08:57:22 +0000

    sctp(4): Fix typos in source code comments
    
    - s/collasped/collapsed/
    - s/defininitions/definitions/
    - s/optionaly/optionally/
    
    Obtained from:  NetBSD
    MFC after:      3 days
---
 sys/netinet6/sctp6_usrreq.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys/netinet6/sctp6_usrreq.c b/sys/netinet6/sctp6_usrreq.c
index e3ed37b53425..0f194821ea94 100644
--- a/sys/netinet6/sctp6_usrreq.c
+++ b/sys/netinet6/sctp6_usrreq.c
@@ -359,7 +359,7 @@ sctp6_ctlinput(struct ip6ctlparam *ip6cp)
 }
 
 /*
- * this routine can probably be collasped into the one in sctp_userreq.c
+ * this routine can probably be collapsed into the one in sctp_userreq.c
  * since they do the same thing and now we lookup with a sockaddr
  */
 static int
@@ -721,8 +721,8 @@ connected_type:
 		 * note with the current version this code will only be used
 		 * by OpenBSD, NetBSD and FreeBSD have methods for
 		 * re-defining sosend() to use sctp_sosend().  One can
-		 * optionaly switch back to this code (by changing back the
-		 * defininitions but this is not advisable.
+		 * optionally switch back to this code (by changing back the
+		 * definitions but this is not advisable.
 		 */
 		struct epoch_tracker et;
 		int ret;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407210858.46L8w59I075852>