The branch main has been updated by gbe:

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

commit 58c99e07506e67c06d703b080c2fc22cc39237f2
Author:     Gordon Bergling <g...@freebsd.org>
AuthorDate: 2024-07-21 08:57:22 +0000
Commit:     Gordon Bergling <g...@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;

Reply via email to