Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jan 2022 12:21:16 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: 4bd030b36991 - main - sctp(4): Fix a typo in an INVARIANTS panic message
Message-ID:  <202201281221.20SCLGEm002528@gitrepo.freebsd.org>

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

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

commit 4bd030b36991a317d257f01f2808a335b3a903fb
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-01-28 12:20:52 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-01-28 12:20:52 +0000

    sctp(4): Fix a typo in an INVARIANTS panic message
    
    - s/failes/fails/
    
    MFC after:      1 week
---
 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 4c48d4787a69..35a0406a5a9d 100644
--- a/sys/netinet/sctp_output.c
+++ b/sys/netinet/sctp_output.c
@@ -7501,7 +7501,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);
@@ -10434,7 +10434,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?202201281221.20SCLGEm002528>