git: a9ec80d82360 - stable/12 - Fix a few typos in source code comments
Gordon Bergling
gbe at FreeBSD.org
Thu Aug 19 07:32:07 UTC 2021
The branch stable/12 has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=a9ec80d82360e766b34fad4905016c1e30ea03d9
commit a9ec80d82360e766b34fad4905016c1e30ea03d9
Author: Gordon Bergling <gbe at FreeBSD.org>
AuthorDate: 2021-08-14 07:39:17 +0000
Commit: Gordon Bergling <gbe at FreeBSD.org>
CommitDate: 2021-08-19 07:31:53 +0000
Fix a few typos in source code comments
- s/posbile/possible/
(cherry picked from commit 34f620f1d0cfa67f5987452ac3fdd8c113b6b099)
---
sys/cam/scsi/scsi_all.c | 2 +-
sys/netgraph/ng_base.c | 2 +-
tools/regression/netinet/ipsockopt/ipsockopt.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/sys/cam/scsi/scsi_all.c b/sys/cam/scsi/scsi_all.c
index cc114ace1d75..6c8dec7cc235 100644
--- a/sys/cam/scsi/scsi_all.c
+++ b/sys/cam/scsi/scsi_all.c
@@ -9153,7 +9153,7 @@ scsi_devid_match(uint8_t *lhs, size_t lhs_len, uint8_t *rhs, size_t rhs_len)
rhs_end = rhs + rhs_len;
/*
- * rhs_last and lhs_last are the last posible position of a valid
+ * rhs_last and lhs_last are the last possible position of a valid
* descriptor assuming it had a zero length identifier. We use
* these variables to insure we can safely dereference the length
* field in our loop termination tests.
diff --git a/sys/netgraph/ng_base.c b/sys/netgraph/ng_base.c
index f7c2cdb9afb0..13dd44cd4f4a 100644
--- a/sys/netgraph/ng_base.c
+++ b/sys/netgraph/ng_base.c
@@ -3448,7 +3448,7 @@ ngthread(void *arg)
/*
* XXX
- * It's posible that a debugging NG_NODE_REF may need
+ * It's possible that a debugging NG_NODE_REF may need
* to be outside the mutex zone
*/
static void
diff --git a/tools/regression/netinet/ipsockopt/ipsockopt.c b/tools/regression/netinet/ipsockopt/ipsockopt.c
index d03ddf652f42..16805b9e6412 100644
--- a/tools/regression/netinet/ipsockopt/ipsockopt.c
+++ b/tools/regression/netinet/ipsockopt/ipsockopt.c
@@ -163,7 +163,7 @@ test_ip_options(int sock, const char *socktypename)
"returned %d bytes of data", socktypename, len);
/*
- * One posible failure mode is that the call succeeds but neglects to
+ * One possible failure mode is that the call succeeds but neglects to
* copy out the data.
*/
if (test_options[0] == TEST_MAGIC)
More information about the dev-commits-src-all
mailing list