git: d53555d63b18 - main - netpfil: Fix some typos in source code comments

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Thu, 15 Sep 2022 08:24:12 UTC
The branch main has been updated by gbe (doc committer):

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

commit d53555d63b18f141b752ef6e7a2762fc73a47956
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-09-15 08:24:00 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-09-15 08:24:00 +0000

    netpfil: Fix some typos in source code comments
    
    - s/paramter/parameter/
    - s/paramters/parameters/
    
    MFC after:      3 days
---
 sys/netpfil/ipfilter/netinet/fil.c       | 2 +-
 sys/netpfil/ipfilter/netinet/ip_pool.c   | 6 +++---
 sys/netpfil/ipfilter/netinet/radix_ipf.c | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys/netpfil/ipfilter/netinet/fil.c b/sys/netpfil/ipfilter/netinet/fil.c
index 591e5f1a33cb..5ced528d1263 100644
--- a/sys/netpfil/ipfilter/netinet/fil.c
+++ b/sys/netpfil/ipfilter/netinet/fil.c
@@ -7121,7 +7121,7 @@ ipf_ipftune(ipf_main_softc_t *softc, ioctlcmd_t cmd, void *data)
 	case SIOCIPFSET :
 		/*
 		 * Search by name or by cookie value for a particular entry
-		 * in the tuning paramter table.
+		 * in the tuning parameter table.
 		 */
 		IPFERROR(77);
 		error = ESRCH;
diff --git a/sys/netpfil/ipfilter/netinet/ip_pool.c b/sys/netpfil/ipfilter/netinet/ip_pool.c
index a617e6cf19de..99394232fc2f 100644
--- a/sys/netpfil/ipfilter/netinet/ip_pool.c
+++ b/sys/netpfil/ipfilter/netinet/ip_pool.c
@@ -886,7 +886,7 @@ ipf_pool_insert_node(ipf_main_softc_t *softc, ipf_pool_softc_t *softp,
 /*              op(I)    - pointer to iplookup struct with call details     */
 /* Locks:       WRITE(ipf_poolrw)                                           */
 /*                                                                          */
-/* Creates a new group according to the paramters passed in via the         */
+/* Creates a new group according to the parameters passed in via the        */
 /* iplookupop structure.  Does not check to see if the group already exists */
 /* when being inserted - assume this has already been done.  If the pool is */
 /* marked as being anonymous, give it a new, unique, identifier.  Call any  */
@@ -1018,11 +1018,11 @@ ipf_pool_remove_node(ipf_main_softc_t *softc, ipf_pool_softc_t *softp,
 /* Returns:     int    - 0 = success, else error                            */
 /* Parameters:  softc(I) - pointer to soft context main structure           */
 /*              softp(I) - pointer to soft context pool information         */
-/*              unit(I)  - ipfilter device to which we are working on      */
+/*              unit(I)  - ipfilter device to which we are working on       */
 /*              name(I)  - name of the pool                                 */
 /* Locks:       WRITE(ipf_poolrw) or WRITE(ipf_global)                      */
 /*                                                                          */
-/* Search for a pool using paramters passed in and if it's not otherwise    */
+/* Search for a pool using parameters passed in and if it's not otherwise   */
 /* busy, free it.  If it is busy, clear all of its nodes, mark it for being */
 /* deleted and return an error saying it is busy.                           */
 /*                                                                          */
diff --git a/sys/netpfil/ipfilter/netinet/radix_ipf.c b/sys/netpfil/ipfilter/netinet/radix_ipf.c
index 95daee99ec42..031452da9f45 100644
--- a/sys/netpfil/ipfilter/netinet/radix_ipf.c
+++ b/sys/netpfil/ipfilter/netinet/radix_ipf.c
@@ -91,7 +91,7 @@ count_mask_bits(addrfamily_t *mask, u_32_t **lastp)
 /*                         associated with addr and mask.                   */
 /*                                                                          */
 /* Initialise the fields in a pair of radix tree nodes according to the     */
-/* data supplied in the paramters "addr" and "mask". It is expected that    */
+/* data supplied in the parameters "addr" and "mask". It is expected that    */
 /* "mask" will contain a consecutive string of bits set. Masks with gaps in */
 /* the middle are not handled by this implementation.                       */
 /* ------------------------------------------------------------------------ */