git: 183502d1625f - main - Fix a few typos in comments

Gordon Bergling gbe at FreeBSD.org
Sat Mar 13 15:38:49 UTC 2021


The branch main has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=183502d1625fbcc3600fbe1d196758b946749569

commit 183502d1625fbcc3600fbe1d196758b946749569
Author:     Gordon Bergling <gbe at FreeBSD.org>
AuthorDate: 2021-03-13 15:37:28 +0000
Commit:     Gordon Bergling <gbe at FreeBSD.org>
CommitDate: 2021-03-13 15:37:28 +0000

    Fix a few typos in comments
    
    - trough -> through
    
    MFC after:      1 week
---
 share/man/man4/ng_macfilter.4            | 2 +-
 sys/netinet/sctp_ss_functions.c          | 2 +-
 sys/netpfil/ipfw/nat64/nat64_translate.c | 2 +-
 sys/sys/soundcard.h                      | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/share/man/man4/ng_macfilter.4 b/share/man/man4/ng_macfilter.4
index 5d8b9a4f780b..895d3560136b 100644
--- a/share/man/man4/ng_macfilter.4
+++ b/share/man/man4/ng_macfilter.4
@@ -45,7 +45,7 @@ address.
 .Pp
 This processing is done when traffic flows from the
 .Dq ether
-hook trough
+hook through
 .Nm macfilter
 to one of the outgoing hooks.
 Outbound hooks can be added to and remove from
diff --git a/sys/netinet/sctp_ss_functions.c b/sys/netinet/sctp_ss_functions.c
index 5f10d3e9bcb7..5557015cd2a9 100644
--- a/sys/netinet/sctp_ss_functions.c
+++ b/sys/netinet/sctp_ss_functions.c
@@ -583,7 +583,7 @@ sctp_ss_prio_set_value(struct sctp_tcb *stcb, struct sctp_association *asoc,
 
 /*
  * Fair bandwidth algorithm.
- * Maintains an equal troughput per stream.
+ * Maintains an equal throughput per stream.
  */
 static void
 sctp_ss_fb_clear(struct sctp_tcb *stcb, struct sctp_association *asoc,
diff --git a/sys/netpfil/ipfw/nat64/nat64_translate.c b/sys/netpfil/ipfw/nat64/nat64_translate.c
index e8fffe03497c..4ed3bfa765f6 100644
--- a/sys/netpfil/ipfw/nat64/nat64_translate.c
+++ b/sys/netpfil/ipfw/nat64/nat64_translate.c
@@ -722,7 +722,7 @@ nat64_icmp6_reflect(struct mbuf *m, uint8_t type, uint8_t code, uint32_t mtu,
 	/*
 	 * Move pkthdr from original mbuf. We should have initialized some
 	 * fields, because we can reinject this mbuf to netisr and it will
-	 * go trough input path (it requires at least rcvif should be set).
+	 * go through input path (it requires at least rcvif should be set).
 	 * Also do M_ALIGN() to reduce chances of need to allocate new mbuf
 	 * in the chain, when we will do M_PREPEND() or make some type of
 	 * tunneling.
diff --git a/sys/sys/soundcard.h b/sys/sys/soundcard.h
index 41cd8593914a..285f26986434 100644
--- a/sys/sys/soundcard.h
+++ b/sys/sys/soundcard.h
@@ -484,7 +484,7 @@ struct sysex_info {
  * This structure is also used with ioctl(SNDCTL_PGMR_IFACE) which allows
  * a patch manager daemon to read and write device parameters. This
  * ioctl available through /dev/sequencer also. Avoid using it since it's
- * extremely hardware dependent. In addition access trough /dev/sequencer
+ * extremely hardware dependent. In addition access through /dev/sequencer
  * may confuse the patch manager daemon.
  */
 


More information about the dev-commits-src-main mailing list