Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Feb 2022 10:01:10 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: fb65d880337d - stable/13 - sctp(4): Fix a typo in an INVARIANTS panic message
Message-ID:  <202202041001.214A1Awo002003@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by gbe (doc committer):

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

commit fb65d880337d34b610d7d427b948f104a55a2f73
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-01-28 12:20:52 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-02-04 10:00:46 +0000

    sctp(4): Fix a typo in an INVARIANTS panic message
    
    - s/failes/fails/
    
    (cherry picked from commit 4bd030b36991a317d257f01f2808a335b3a903fb)
---
 sys/netinet/sctp_output.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/netinet/sctp_output.c b/sys/netinet/sctp_output.c
index 277a6625aa12..786e9240b636 100644
--- a/sys/netinet/sctp_output.c
+++ b/sys/netinet/sctp_output.c
@@ -7491,7 +7491,7 @@ dont_do_it:
 	if (chk->data == NULL) {
 		/* HELP, TSNH since we assured it would not above? */
 #ifdef INVARIANTS
-		panic("prepend failes HELP?");
+		panic("prepend fails HELP?");
 #else
 		SCTP_PRINTF("prepend fails HELP?\n");
 		sctp_free_a_chunk(stcb, chk, so_locked);
@@ -10421,7 +10421,7 @@ sctp_fill_in_rest:
 	/*-
 	 * Now populate the strseq list. This is done blindly
 	 * without pulling out duplicate stream info. This is
-	 * inefficent but won't harm the process since the peer will
+	 * inefficient but won't harm the process since the peer will
 	 * look at these in sequence and will thus release anything.
 	 * It could mean we exceed the PMTU and chop off some that
 	 * we could have included.. but this is unlikely (aka 1432/4



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