git: 99385e34c80d - stable/13 - sctp(4): Fix typos in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 12 Aug 2024 12:54:04 UTC
The branch stable/13 has been updated by gbe:
URL: https://cgit.FreeBSD.org/src/commit/?id=99385e34c80d1f0d86d56cab03adcc19da15177d
commit 99385e34c80d1f0d86d56cab03adcc19da15177d
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2024-07-21 08:57:22 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2024-08-12 12:53:15 +0000
sctp(4): Fix typos in source code comments
- s/collasped/collapsed/
- s/defininitions/definitions/
- s/optionaly/optionally/
Obtained from: NetBSD
(cherry picked from commit 58c99e07506e67c06d703b080c2fc22cc39237f2)
---
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 82829d3ba8c5..a9df9f3639c1 100644
--- a/sys/netinet6/sctp6_usrreq.c
+++ b/sys/netinet6/sctp6_usrreq.c
@@ -387,7 +387,7 @@ sctp6_ctlinput(int cmd, struct sockaddr *pktdst, void *d)
}
/*
- * 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
@@ -749,8 +749,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;