mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-26 20:12:44 +00:00
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
This commit is contained in:
parent
f7cee4fa57
commit
ec8a394d9c
@ -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)
|
||||
|
@ -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);
|
||||
|
@ -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) {
|
||||
|
@ -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.
|
||||
|
@ -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) {
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
*
|
||||
|
@ -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) {
|
||||
|
@ -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;
|
||||
|
@ -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,
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user