Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Dec 2021 15:54:28 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: 3f9dc7b20b3c - stable/13 - mpr(4): Fix a typo in a source code comment
Message-ID:  <202112031554.1B3FsSfF062394@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=3f9dc7b20b3c6d5ccb9997f0381fddfd60f03678

commit 3f9dc7b20b3c6d5ccb9997f0381fddfd60f03678
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:52:17 +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 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



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