git: ddeb702f7b29 - main - mpr(4): Fix a typo in a source code comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Nov 2021 09:42:22 UTC
The branch main has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=ddeb702f7b29d967f86ae705b5604c4fa81bb908
commit ddeb702f7b29d967f86ae705b5604c4fa81bb908
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2021-11-30 09:40:50 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2021-11-30 09:40:50 +0000
mpr(4): Fix a typo in a source code comment
- s/segement/segment/
MFC after: 3 days
---
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 796f74c2547b..3de4b1050fa7 100644
--- a/sys/dev/mpr/mpr.c
+++ b/sys/dev/mpr/mpr.c
@@ -3402,7 +3402,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