git: ec8a394d9c67 - main - usr.sbin: Remove repeated words

From: Warner Losh <imp_at_FreeBSD.org>
Date: Thu, 11 Apr 2024 17:55:32 UTC
The branch main has been updated by imp:

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

commit ec8a394d9c676b3c4fd2cd721cf554e073736fc1
Author:     Elyes Haouas <ehaouas@noos.fr>
AuthorDate: 2024-04-11 17:46:59 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-04-11 17:53:37 +0000

    usr.sbin: Remove repeated words
    
    Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
    Reviewed by: imp
    Pull Request: https://github.com/freebsd/freebsd-src/pull/887
---
 usr.sbin/arp/arp.c                    | 2 +-
 usr.sbin/bhyve/amd64/spinup_ap.c      | 2 +-
 usr.sbin/bhyve/pci_emul.c             | 2 +-
 usr.sbin/bhyve/virtio.h               | 2 +-
 usr.sbin/crunch/crunchgen/crunchgen.c | 2 +-
 usr.sbin/fstyp/hammer2_disk.h         | 2 +-
 usr.sbin/kldxref/kldxref.c            | 2 +-
 usr.sbin/newsyslog/newsyslog.c        | 2 +-
 usr.sbin/nscd/config.h                | 2 +-
 usr.sbin/nscd/parser.c                | 2 +-
 usr.sbin/nscd/query.c                 | 2 +-
 usr.sbin/pmcstat/pmcpl_callgraph.c    | 2 +-
 usr.sbin/ppp/arp.c                    | 2 +-
 usr.sbin/sesutil/eltsub.h             | 2 +-
 14 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/usr.sbin/arp/arp.c b/usr.sbin/arp/arp.c
index 562d982196c3..e5b94ca053e1 100644
--- a/usr.sbin/arp/arp.c
+++ b/usr.sbin/arp/arp.c
@@ -819,7 +819,7 @@ doit:
 
 /*
  * get_ether_addr - get the hardware address of an interface on the
- * the same subnet as ipaddr.
+ * same subnet as ipaddr.
  */
 static int
 get_ether_addr(in_addr_t ipaddr, struct ether_addr *hwaddr)
diff --git a/usr.sbin/bhyve/amd64/spinup_ap.c b/usr.sbin/bhyve/amd64/spinup_ap.c
index df90ad6443d0..294775bb2c96 100644
--- a/usr.sbin/bhyve/amd64/spinup_ap.c
+++ b/usr.sbin/bhyve/amd64/spinup_ap.c
@@ -51,7 +51,7 @@ spinup_ap_realmode(struct vcpu *newcpu, uint64_t rip)
 
 	/*
 	 * Update the %cs and %rip of the guest so that it starts
-	 * executing real mode code at at 'vector << 12'.
+	 * executing real mode code at 'vector << 12'.
 	 */
 	error = vm_set_register(newcpu, VM_REG_GUEST_RIP, 0);
 	assert(error == 0);
diff --git a/usr.sbin/bhyve/pci_emul.c b/usr.sbin/bhyve/pci_emul.c
index 8eaa9b71fa15..00e9138d3910 100644
--- a/usr.sbin/bhyve/pci_emul.c
+++ b/usr.sbin/bhyve/pci_emul.c
@@ -2256,7 +2256,7 @@ pci_cfgrw(int in, int bus, int slot, int func, int coff, int bytes,
 
 	/*
 	 * Just return if there is no device at this slot:func or if the
-	 * the guest is doing an un-aligned access.
+	 * guest is doing an un-aligned access.
 	 */
 	if (pi == NULL || (bytes != 1 && bytes != 2 && bytes != 4) ||
 	    (coff & (bytes - 1)) != 0) {
diff --git a/usr.sbin/bhyve/virtio.h b/usr.sbin/bhyve/virtio.h
index 2b72b862ab21..a4f37034d93d 100644
--- a/usr.sbin/bhyve/virtio.h
+++ b/usr.sbin/bhyve/virtio.h
@@ -97,7 +97,7 @@
  * begin with a 16-bit <flags> field and 16-bit index <idx>, then
  * have <N> 16-bit <ring> values, followed by one final 16-bit
  * field <used_event>.  The <N> <ring> entries are simply indices
- * indices into the descriptor ring (and thus must meet the same
+ * into the descriptor ring (and thus must meet the same
  * constraints as each <next> value).  However, <idx> is counted
  * up from 0 (initially) and simply wraps around after 65535; it
  * is taken mod <N> to find the next available entry.
diff --git a/usr.sbin/crunch/crunchgen/crunchgen.c b/usr.sbin/crunch/crunchgen/crunchgen.c
index 1deb2bb2f7ea..462a13f9c897 100644
--- a/usr.sbin/crunch/crunchgen/crunchgen.c
+++ b/usr.sbin/crunch/crunchgen/crunchgen.c
@@ -656,7 +656,7 @@ fillin_program(prog_t *p)
 	}
 
 	/* Unless the option to make object files was specified the
-	* the objects will be built in the source directory unless
+	* objects will be built in the source directory unless
 	* an object directory already exists.
 	*/
 	if (!makeobj && !p->objdir && p->srcdir) {
diff --git a/usr.sbin/fstyp/hammer2_disk.h b/usr.sbin/fstyp/hammer2_disk.h
index eae40b618966..6efefe9a2495 100644
--- a/usr.sbin/fstyp/hammer2_disk.h
+++ b/usr.sbin/fstyp/hammer2_disk.h
@@ -619,7 +619,7 @@ typedef struct hammer2_dirent_head hammer2_dirent_head_t;
  *
  * Simple check codes are not sufficient for unverified dedup.  Even with
  * a maximally-sized check code unverified dedup should only be used in
- * in subdirectory trees where you do not need 100% data integrity.
+ * subdirectory trees where you do not need 100% data integrity.
  *
  * Unverified dedup is deduping based on meta-data only without verifying
  * that the data blocks are actually identical.  Verified dedup guarantees
diff --git a/usr.sbin/kldxref/kldxref.c b/usr.sbin/kldxref/kldxref.c
index 8f3d24718211..c88769ce1824 100644
--- a/usr.sbin/kldxref/kldxref.c
+++ b/usr.sbin/kldxref/kldxref.c
@@ -230,7 +230,7 @@ typedef TAILQ_HEAD(pnp_head, pnp_elt) pnp_list;
 
 /*
  * this function finds the data from the pnp table, as described by the
- * the description and creates a new output (new_desc). This output table
+ * description and creates a new output (new_desc). This output table
  * is a form that's easier for the agent that's automatically loading the
  * modules.
  *
diff --git a/usr.sbin/newsyslog/newsyslog.c b/usr.sbin/newsyslog/newsyslog.c
index 9f9185c1ad20..e9b84bae342d 100644
--- a/usr.sbin/newsyslog/newsyslog.c
+++ b/usr.sbin/newsyslog/newsyslog.c
@@ -2411,7 +2411,7 @@ set_swpid(struct sigwork_entry *swork, const struct conf_entry *ent)
 		/*
 		 * Warn if the PID file is empty, but do not consider
 		 * it an error.  Most likely it means the process has
-		 * has terminated, so it should be safe to rotate any
+		 * terminated, so it should be safe to rotate any
 		 * log files that the process would have been using.
 		 */
 		if (feof(f) && enforcepid == 0) {
diff --git a/usr.sbin/nscd/config.h b/usr.sbin/nscd/config.h
index 243c18582df6..f7baf46fff90 100644
--- a/usr.sbin/nscd/config.h
+++ b/usr.sbin/nscd/config.h
@@ -68,7 +68,7 @@ struct configuration_entry {
 	/*
 	 * configuration_entry holds pointers for all actual cache_entries,
 	 * which are used for it. There is one for positive caching, one for
-	 * for negative caching, and several (one per each euid/egid) for
+	 * negative caching, and several (one per each euid/egid) for
 	 * multipart caching.
 	 */
 	cache_entry positive_cache_entry;
diff --git a/usr.sbin/nscd/parser.c b/usr.sbin/nscd/parser.c
index 6427f179707b..dc8ad809e8a8 100644
--- a/usr.sbin/nscd/parser.c
+++ b/usr.sbin/nscd/parser.c
@@ -362,7 +362,7 @@ set_threads_num(struct configuration *config, int value)
 
 /*
  * The main configuration routine. Its implementation is hugely inspired by the
- * the same routine implementation in Solaris NSCD.
+ * same routine implementation in Solaris NSCD.
  */
 int
 parse_config_file(struct configuration *config,
diff --git a/usr.sbin/nscd/query.c b/usr.sbin/nscd/query.c
index bf9cae5a0c60..aa048f029aa6 100644
--- a/usr.sbin/nscd/query.c
+++ b/usr.sbin/nscd/query.c
@@ -78,7 +78,7 @@ static	int on_write_response_write1(struct query_state *);
 
 /*
  * Clears the specified configuration entry (clears the cache for positive and
- * and negative entries) and also for all multipart entries.
+ * negative entries) and also for all multipart entries.
  */
 static void
 clear_config_entry(struct configuration_entry *config_entry)
diff --git a/usr.sbin/pmcstat/pmcpl_callgraph.c b/usr.sbin/pmcstat/pmcpl_callgraph.c
index 76c89b0d4c80..ade99464a4a3 100644
--- a/usr.sbin/pmcstat/pmcpl_callgraph.c
+++ b/usr.sbin/pmcstat/pmcpl_callgraph.c
@@ -358,7 +358,7 @@ pmcpl_cg_process(struct pmcstat_process *pp, struct pmcstat_pmcrecord *pmcr,
 	 * For each return address in the call chain record, subject
 	 * to the maximum depth desired.
 	 * - Find the image associated with the sample.  Stop if there
-	 *   there is no valid image at that address.
+	 *   is no valid image at that address.
 	 * - Find the function that overlaps the return address.
 	 * - If found: use the start address of the function.
 	 *   If not found (say an object's symbol table is not present or
diff --git a/usr.sbin/ppp/arp.c b/usr.sbin/ppp/arp.c
index fa45502f488a..ad623525ad4c 100644
--- a/usr.sbin/ppp/arp.c
+++ b/usr.sbin/ppp/arp.c
@@ -221,7 +221,7 @@ arp_ClearProxy(struct bundle *bundle, struct in_addr addr, int s)
 
 /*
  * arp_EtherAddr - get the hardware address of an interface on the
- * the same subnet as ipaddr.
+ * same subnet as ipaddr.
  */
 
 int
diff --git a/usr.sbin/sesutil/eltsub.h b/usr.sbin/sesutil/eltsub.h
index 3be59d31cb7c..d7feb461368e 100644
--- a/usr.sbin/sesutil/eltsub.h
+++ b/usr.sbin/sesutil/eltsub.h
@@ -12,7 +12,7 @@
  *    derived from this software without specific prior written permission.
  *
  * Alternatively, this software may be distributed under the terms of the
- * the GNU Public License ("GPL").
+ * GNU Public License ("GPL").
  *
  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE