docs: Fix word repetitions

This commit is contained in:
Yuri Chornoivan 2017-02-10 13:05:04 +02:00 committed by Karel Zak
parent 7ccc1643ab
commit a7349ee315
25 changed files with 26 additions and 26 deletions

View File

@ -29,7 +29,7 @@ Branches
--------
1. Use the name of the subsystem, such as blkid, libmount, misc-utils,
that is the common thing for changes in in the change set.
that is the common thing for changes in the change set.
2. If the changes do not have anything in common use some random name,
such as YYYY-MM-DD of the first patch in the branch. Name of the branch

View File

@ -815,7 +815,7 @@ int main(int argc, char **argv)
{ NULL, 0, NULL, 0 }
};
static const ul_excl_t excl[] = { /* rows and cols in in ASCII order */
static const ul_excl_t excl[] = { /* rows and cols in ASCII order */
{ 'P','a','d','l','r','s','u' },
{ 0 }
};

View File

@ -623,7 +623,7 @@ static char *get_subsystem(char *chain, char *buf, size_t bufsz)
}
/*
* Returns complete path to the device, the patch contains all all subsystems
* Returns complete path to the device, the patch contains all subsystems
* used for the device.
*/
char *sysfs_get_devchain(struct sysfs_cxt *cxt, char *buf, size_t bufsz)

View File

@ -85,7 +85,7 @@ struct libmnt_cache *mnt_new_cache(void)
* @cache: pointer to struct libmnt_cache instance
*
* Deallocates the cache. This function does not care about reference count. Don't
* use this function directly -- it's better to use use mnt_unref_cache().
* use this function directly -- it's better to use mnt_unref_cache().
*/
void mnt_free_cache(struct libmnt_cache *cache)
{

View File

@ -43,7 +43,7 @@ struct libmnt_fs *mnt_new_fs(void)
* @fs: fs pointer
*
* Deallocates the fs. This function does not care about reference count. Don't
* use this function directly -- it's better to use use mnt_unref_fs().
* use this function directly -- it's better to use mnt_unref_fs().
*
* The reference counting is supported since util-linux v2.24.
*/

View File

@ -150,7 +150,7 @@ void mnt_unref_table(struct libmnt_table *tb)
* @tb: tab pointer
*
* Deallocates the table. This function does not care about reference count. Don't
* use this function directly -- it's better to use use mnt_unref_table().
* use this function directly -- it's better to use mnt_unref_table().
*
* The table entries (filesystems) are unreferenced by mnt_reset_table() and
* cache by mnt_unref_cache().

View File

@ -236,7 +236,7 @@ int main(int argc, char *argv[])
{ NULL, 0, 0, 0 },
};
static const ul_excl_t excl[] = { /* rows and cols in in ASCII order */
static const ul_excl_t excl[] = { /* rows and cols in ASCII order */
{ 'E', 'J', 'r' },
{ 0 }
};

View File

@ -930,7 +930,7 @@ int main(int argc, char **argv)
{ "time-format", required_argument, NULL, OPT_TIME_FORMAT },
{ NULL, 0, NULL, 0 }
};
static const ul_excl_t excl[] = { /* rows and cols in in ASCII order */
static const ul_excl_t excl[] = { /* rows and cols in ASCII order */
{ 'F', OPT_TIME_FORMAT }, /* fulltime, time-format */
{ 0 }
};

View File

@ -649,7 +649,7 @@ int main(int argc, char **argv)
int c;
uintmax_t offset = 0, size = 0;
static const ul_excl_t excl[] = { /* rows and cols in in ASCII order */
static const ul_excl_t excl[] = { /* rows and cols in ASCII order */
{ 'n','u' },
{ 0 }
};

View File

@ -284,7 +284,7 @@ int main(int argc, char **argv)
{NULL, 0, NULL, 0}
};
static const ul_excl_t excl[] = { /* rows and cols in in ASCII order */
static const ul_excl_t excl[] = { /* rows and cols in ASCII order */
{ 'Y','n','y' },
{ 0 }
};

View File

@ -1316,7 +1316,7 @@ int main(int argc, char *argv[])
{ NULL, 0, 0, 0 }
};
static const ul_excl_t excl[] = { /* rows and cols in in ASCII order */
static const ul_excl_t excl[] = { /* rows and cols in ASCII order */
{ 'C', 'c'}, /* [no]canonicalize */
{ 'C', 'e' }, /* nocanonicalize, evaluate */
{ 'J', 'P', 'r','x' }, /* json,pairs,raw,verify */

View File

@ -170,7 +170,7 @@ look(char *front, char *back)
int ch;
char *readp, *writep;
/* Reformat string string to avoid doing it multiple times later. */
/* Reformat string to avoid doing it multiple times later. */
if (dflag) {
for (readp = writep = string; (ch = *readp++) != 0;) {
if (isalnum(ch) || isblank(ch))

View File

@ -1696,7 +1696,7 @@ int main(int argc, char *argv[])
{ NULL, 0, 0, 0 },
};
static const ul_excl_t excl[] = { /* rows and cols in in ASCII order */
static const ul_excl_t excl[] = { /* rows and cols in ASCII order */
{ 'D','O' },
{ 'I','e' },
{ 'J', 'P', 'r' },

View File

@ -78,7 +78,7 @@ static void __attribute__((__noreturn__)) usage(FILE *out)
{
fprintf(out, "\n %s [options]\n", program_invocation_short_name);
fprintf(out, " -p <num> number of of nprocesses (default:%zu)\n", nprocesses);
fprintf(out, " -p <num> number of nprocesses (default:%zu)\n", nprocesses);
fprintf(out, " -t <num> number of nthreads (default:%zu)\n", nthreads);
fprintf(out, " -o <num> number of nobjects (default:%zu)\n", nobjects);
fprintf(out, " -l <level> log level (default:%zu)\n", loglev);

View File

@ -499,7 +499,7 @@ main(int argc, char **argv)
{ NULL, 0, 0, 0 }
};
static const ul_excl_t excl[] = { /* rows and cols in in ASCII order */
static const ul_excl_t excl[] = { /* rows and cols in ASCII order */
{ 'a','o' },
{ 0 }
};

View File

@ -273,7 +273,7 @@ int main(int argc, char *argv[])
{ NULL, 0, 0, 0 }
};
static const ul_excl_t excl[] = { /* rows and cols in in ASCII order */
static const ul_excl_t excl[] = { /* rows and cols in ASCII order */
{ 'c','d','e','g','p' },
{ 0 }
};

View File

@ -1261,7 +1261,7 @@ int main(int argc, char *argv[])
{ NULL, 0, NULL, 0 }
};
static const ul_excl_t excl[] = { /* rows and cols in in ASCII order */
static const ul_excl_t excl[] = { /* rows and cols in ASCII order */
{ 'C','D','E','c','n','r' }, /* clear,off,on,read-clear,level,raw*/
{ 'H','r' }, /* human, raw */
{ 'L','r' }, /* color, raw */

View File

@ -309,7 +309,7 @@ int main(int argc, char **argv)
{ NULL, 0, 0, 0 }
};
static const ul_excl_t excl[] = { /* rows and cols in in ASCII order */
static const ul_excl_t excl[] = { /* rows and cols in ASCII order */
{ 'c', 'd', 'p', 'z' },
{ 'c', 'n' },
{ 'x', 'c', 'd', 'i', 'n', 'p', 'z'},

View File

@ -68,7 +68,7 @@ int main(int argc, char **argv)
{ NULL, 0, 0, 0 }
};
static const ul_excl_t excl[] = { /* rows and cols in in ASCII order */
static const ul_excl_t excl[] = { /* rows and cols in ASCII order */
{ 'f','u' }, /* freeze, unfreeze */
{ 0 }
};

View File

@ -652,7 +652,7 @@ display_time(const bool hclock_valid, struct timeval hwctime)
* runnable by issuing the command "date" to the /bin/sh shell. That means
* in must be in the current PATH.
*
* If anything goes wrong (and many things can), we return return code 10
* If anything goes wrong (and many things can), we return code 10
* and arbitrary *time_p. Otherwise, return code is 0 and *time_p is valid.
*/
static int interpret_date_string(const struct hwclock_control *ctl,
@ -1527,7 +1527,7 @@ int main(int argc, char **argv)
{NULL, 0, NULL, 0}
};
static const ul_excl_t excl[] = { /* rows and cols in in ASCII order */
static const ul_excl_t excl[] = { /* rows and cols in ASCII order */
{ 'a','r','s','w',
OPT_GET, OPT_GETEPOCH, OPT_PREDICT_HC,
OPT_SET, OPT_SETEPOCH, OPT_SYSTZ },

View File

@ -868,7 +868,7 @@ int main(int argc, char **argv)
{ NULL, 0, 0, 0 }
};
static const ul_excl_t excl[] = { /* rows and cols in in ASCII order */
static const ul_excl_t excl[] = { /* rows and cols in ASCII order */
{ 'B','M','R' }, /* bind,move,rbind */
{ 'L','U', MOUNT_OPT_SOURCE }, /* label,uuid,source */
{ 0 }

View File

@ -862,7 +862,7 @@ int main(int argc, char *argv[])
{ NULL, 0, 0, 0 }
};
static const ul_excl_t excl[] = { /* rows and cols in in ASCII order */
static const ul_excl_t excl[] = { /* rows and cols in ASCII order */
{ 'a','o','s', SHOW_OPTION },
{ 'a','o', BYTES_OPTION },
{ 'a','o', NOHEADINGS_OPTION },

View File

@ -527,7 +527,7 @@ int main(int argc, char **argv)
{ NULL, 0, 0, 0 }
};
static const ul_excl_t excl[] = { /* rows and cols in in ASCII order */
static const ul_excl_t excl[] = { /* rows and cols in ASCII order */
{ 'A','a' }, /* all-targets,all */
{ 'R','a' }, /* recursive,all */
{ 'O','R','t'}, /* options,recursive,types */

View File

@ -495,7 +495,7 @@ int main(int argc, char *argv[])
{ NULL, 0, NULL, 0 }
};
static const ul_excl_t excl[] = { /* rows and cols in in ASCII order */
static const ul_excl_t excl[] = { /* rows and cols in ASCII order */
{ 'F','f' }, /* noflags,flags*/
{ 0 }
};

View File

@ -2537,7 +2537,7 @@ static void init_special_char(char* arg, struct options *op)
}
/*
* Appends @str to @dest and if @dest is not empty then use use @sep as a
* Appends @str to @dest and if @dest is not empty then use @sep as a
* separator. The maximal final length of the @dest is @len.
*
* Returns the final @dest length or -1 in case of error.