git: 3e3f9791eac9 - stable/12 - mpr(4): Fix a typo in a source code comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Dec 2021 15:58:09 UTC
The branch stable/12 has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=3e3f9791eac960e64935f75f722b16bbf43dac0a
commit 3e3f9791eac960e64935f75f722b16bbf43dac0a
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2021-11-30 09:40:50 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2021-12-03 15:56:57 +0000
mpr(4): Fix a typo in a source code comment
- s/segement/segment/
(cherry picked from commit ddeb702f7b29d967f86ae705b5604c4fa81bb908)
---
sys/dev/mpr/mpr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/dev/mpr/mpr.c b/sys/dev/mpr/mpr.c
index 6e52efe0d8a4..82e3e552f21e 100644
--- a/sys/dev/mpr/mpr.c
+++ b/sys/dev/mpr/mpr.c
@@ -3434,7 +3434,7 @@ mpr_add_chain(struct mpr_command *cm, int segsleft)
rem_segs = 0;
if (cm->cm_sglsize < (sgc_size * segsleft)) {
/*
- * rem_segs is the number of segements remaining after the
+ * rem_segs is the number of segment remaining after the
* segments that will go into the current frame. Since it is
* known that at least one more frame is required, account for
* the chain element. To know if more than one more frame is