]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
docs: Fix word repetitions
authorYuri Chornoivan <yurchor@gmail.com>
Fri, 10 Feb 2017 11:05:04 +0000 (13:05 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 13 Feb 2017 13:10:12 +0000 (14:10 +0100)
25 files changed:
Documentation/howto-pull-request.txt
disk-utils/partx.c
lib/sysfs.c
libmount/src/cache.c
libmount/src/fs.c
libmount/src/tab.c
libsmartcols/samples/fromfile.c
login-utils/last.c
misc-utils/blkid.c
misc-utils/cal.c
misc-utils/findmnt.c
misc-utils/look.c
misc-utils/lsblk.c
misc-utils/test_uuidd.c
misc-utils/wipefs.c
sys-utils/chcpu.c
sys-utils/dmesg.c
sys-utils/fallocate.c
sys-utils/fsfreeze.c
sys-utils/hwclock.c
sys-utils/mount.c
sys-utils/swapon.c
sys-utils/umount.c
sys-utils/wdctl.c
term-utils/agetty.c

index dfa397780f49b25c066d5ac905ee960faf746370..7cae7228bb12e6f5048b66fa84bf1219734a08dd 100644 (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
index 7442100f33b1ca2ab68853eee7cd2a5ea2092d35..d1964b458f04a1c5347b3465983e20214adae323 100644 (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 }
        };
index 9c66a611a2f39eac6c81388c2853dfc7ed0d3a45..cc290faac49e893a228c3b909200c6f32cdd30c5 100644 (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)
index 04dcb7fb35b630d2d08caecf4b9d3ec87ace4bb2..6ff997140e06500d6b6b26bbb6991fb844a652a3 100644 (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)
 {
index d143eb5fa1a963dfe0e46faa35fcd4c00966238d..1c4ba1aab78770c67b093d0f6fb871607c7b3b37 100644 (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.
  */
index 0eeefe76d69fae779346827319dc12c7f1b76160..8cf11814f2c20688834f0ff9062681f27b67f72d 100644 (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().
index a2a22a4cdc701843fe106642884e1055a472100b..4c9fca46830869c1a17450d4f17e734c24676460 100644 (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 }
        };
index 5ebd5e2ba9d062a1df72c0bd38f666031c030185..340705757849be3ee39a786f399ca495d9267e87 100644 (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 }
        };
index 436d34d9d5257e0951d8a9512d49a61fb4cf55de..ca07e9ee7fd4ea860fd9834c513925e9414f3d79 100644 (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 }
        };
index 8df397cbd8aed385b6b351d2e0cecf472d33dec8..a7a5bbc78ea0ab096a94b4b4b72476ba420ea447 100644 (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 }
        };
index 8017ad5d198fbbe07a9bf06a1d4ed8af5cb9b8a6..0de8c92a37d7e9eb3f0f32ac33e19b619abd9ead 100644 (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 */
index 58cb83b601571959940c346d504b24e32c98ed3a..ae0d576ddc6e73a1bd724a311f157b82fed2192e 100644 (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))
index de8dbf237556c72ba87816f89f3bd63e39ecadb5..647506b406b092184940c294c9af98cdec6ac518 100644 (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' },
index 34bb246da9dd122ca8043153ecdd1b72f4acd900..13a9880b10df7b54cda97577ac33ee090c0d1f0e 100644 (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);
index e6c417ce725bdf3a0789614b697eba826fd51211..441083a5aa2ffc445f9998cd053a9822815541e0 100644 (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 }
        };
index 92019a91290c228a2a6bff5645c18f405538bb9c..003cf59c90bda808976f8d5c21802131a0cbbb43 100644 (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 }
        };
index a608cf5742dc934a649e11baea23eea983ea43b7..6bd4a4a8977bb06d2909d6699dc9f0bc5051d3f4 100644 (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 */
index 8cbb91c23c4d38723d869479e575f29b061bfc6b..c8068082f4d3e1a78a144523b596735f3835cda1 100644 (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'},
index d837d2f3980abde13fde25ea1117e38567d64b12..294c44103aed33b7c3b33143cc87a6a5d52653e6 100644 (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 }
        };
index 059ee409940835d5621cb5a52d7dc4b4871506b5..6de09fda83f1932a386bc91ad3ffb689008c58be 100644 (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 },
index b45de78ed9008a8707729e1d23dd82ca1031cb31..0b55500f2a4aa7bd81301eac60868c04d808d65c 100644 (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 }
index 0bf95a5cc08f22829e8857388e1174cb3297cd41..0982093d5653fc77c6bd510f513da92979c5a4d8 100644 (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 },
index d502124edaf5ea090460443a3120914340a7c9cd..640e2cd0d94de2756556968a9139af08c17c1070 100644 (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 */
index 49711f0cfd9b7b119c97dcbce57df6e7d366cae0..441b7abf9872d83ed38ea8fab9f9ae8e2b6672f1 100644 (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 }
        };
index a2d367bac218cd01b098c3d6e7e7786083d79970..830128e841d166c883e1608965552360795cce15 100644 (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.