git: 631504fb3468 - main - Fix a common typo in source code comments
Gordon Bergling
gbe at FreeBSD.org
Sat Sep 4 10:57:30 UTC 2021
The branch main has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=631504fb346800f95fc581c15eb88b01c1b66fcf
commit 631504fb346800f95fc581c15eb88b01c1b66fcf
Author: Gordon Bergling <gbe at FreeBSD.org>
AuthorDate: 2021-09-04 10:56:57 +0000
Commit: Gordon Bergling <gbe at FreeBSD.org>
CommitDate: 2021-09-04 10:56:57 +0000
Fix a common typo in source code comments
- s/existant/existent/
MFC after: 3 days
---
sys/dev/sfxge/common/efx_vpd.c | 2 +-
sys/mips/cavium/octe/ethernet-util.h | 2 +-
sys/netinet/sctp_output.c | 4 ++--
sys/rpc/svc.h | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/sys/dev/sfxge/common/efx_vpd.c b/sys/dev/sfxge/common/efx_vpd.c
index 55ad2fde136e..daebf40d8c89 100644
--- a/sys/dev/sfxge/common/efx_vpd.c
+++ b/sys/dev/sfxge/common/efx_vpd.c
@@ -901,7 +901,7 @@ efx_vpd_hunk_set(
/*
* The keyword doesn't already exist. If the
- * user deleting a non-existant keyword then
+ * user deleting a non-existent keyword then
* this is a no-op.
*/
if (evvp->evv_length == 0)
diff --git a/sys/mips/cavium/octe/ethernet-util.h b/sys/mips/cavium/octe/ethernet-util.h
index 2c6c280a15ba..1a4144233c75 100644
--- a/sys/mips/cavium/octe/ethernet-util.h
+++ b/sys/mips/cavium/octe/ethernet-util.h
@@ -59,7 +59,7 @@ static inline int INTERFACE(int ipd_port)
return 2;
else if (ipd_port < 40) /* Interface 3 for loopback */
return 3;
- else if (ipd_port == 40) /* Non existant interface for POW0 */
+ else if (ipd_port == 40) /* Non existent interface for POW0 */
return 4;
else
panic("Illegal ipd_port %d passed to INTERFACE\n", ipd_port);
diff --git a/sys/netinet/sctp_output.c b/sys/netinet/sctp_output.c
index 07635851c62d..be91084f1287 100644
--- a/sys/netinet/sctp_output.c
+++ b/sys/netinet/sctp_output.c
@@ -12693,8 +12693,8 @@ sctp_lower_sosend(struct socket *so,
if ((sinfo_flags & SCTP_ABORT) ||
((sinfo_flags & SCTP_EOF) && (sndlen == 0))) {
/*-
- * User asks to abort a non-existant assoc,
- * or EOF a non-existant assoc with no data
+ * User asks to abort a non-existent assoc,
+ * or EOF a non-existent assoc with no data
*/
SCTP_LTRACE_ERR_RET(inp, stcb, net, SCTP_FROM_SCTP_OUTPUT, ENOENT);
error = ENOENT;
diff --git a/sys/rpc/svc.h b/sys/rpc/svc.h
index d92fa6953891..9a6efdef78a9 100644
--- a/sys/rpc/svc.h
+++ b/sys/rpc/svc.h
@@ -669,7 +669,7 @@ __END_DECLS
* Somebody has to wait for incoming requests and then call the correct
* service routine. The routine svc_run does infinite waiting; i.e.,
* svc_run never returns.
- * Since another (co-existant) package may wish to selectively wait for
+ * Since another (co-existent) package may wish to selectively wait for
* incoming calls or other events outside of the rpc architecture, the
* routine svc_getreq is provided. It must be passed readfds, the
* "in-place" results of a select system call (see select, section 2).
More information about the dev-commits-src-main
mailing list