git: 7fee90ba63d7 - stable/12 - sctp(4): Fix a typo in an INVARIANTS panic message
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 04 Feb 2022 10:05:30 UTC
The branch stable/12 has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=7fee90ba63d703339f4b5098b300ddbaf8265f5f
commit 7fee90ba63d703339f4b5098b300ddbaf8265f5f
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:01:51 +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 fd2ea4093d54..4277caa0f070 100644
--- a/sys/netinet/sctp_output.c
+++ b/sys/netinet/sctp_output.c
@@ -7479,7 +7479,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);
@@ -10416,7 +10416,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