aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2021-09-04 10:56:57 +0000
committerGordon Bergling <gbe@FreeBSD.org>2021-09-04 10:56:57 +0000
commit631504fb346800f95fc581c15eb88b01c1b66fcf (patch)
tree27e5105531087e3888165b5be4c51f6258388629
parentcb5c07649aa005abb1e847c2cd5f816d762efb93 (diff)
downloadsrc-631504fb346800f95fc581c15eb88b01c1b66fcf.tar.gz
src-631504fb346800f95fc581c15eb88b01c1b66fcf.zip
Fix a common typo in source code comments
- s/existant/existent/ MFC after: 3 days
-rw-r--r--sys/dev/sfxge/common/efx_vpd.c2
-rw-r--r--sys/mips/cavium/octe/ethernet-util.h2
-rw-r--r--sys/netinet/sctp_output.c4
-rw-r--r--sys/rpc/svc.h2
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).