]> www.infradead.org Git - mtd-utils.git/commitdiff
Fix typos found by Debian's lintian tool
authorBastian Germann <bastiangermann@fishpost.de>
Tue, 8 Sep 2020 20:07:11 +0000 (22:07 +0200)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Fri, 11 Sep 2020 13:40:54 +0000 (15:40 +0200)
Signed-off-by: Bastian Germann <bastiangermann@fishpost.de>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
jffsX-utils/mkfs.jffs2.1
misc-utils/lsmtd.8
misc-utils/lsmtd.c
misc-utils/lsmtd_scan.c
ubi-utils/mtdinfo.c
ubi-utils/ubinize.c
ubifs-utils/mkfs.ubifs/mkfs.ubifs.c

index 7c57ddc5258a3583591e34a3d07ceb63daaedf42..75f96f5b231f32cbf437b1523db5e8683fa0be9a 100644 (file)
@@ -119,13 +119,13 @@ the kernel can be changed with a #define to accept images of the
 non-native endianness. Full bi-endian support in the kernel is not
 planned.
 
-It is unlikely that JFFS2 images are useful except in conjuction
+It is unlikely that JFFS2 images are useful except in conjunction
 with the MTD (Memory Technology Device) drivers in the Linux
 kernel, since the JFFS2 file system driver in the kernel requires
 MTD devices.
 .SH OPTIONS
 Options that take SIZE arguments can be specified as either
-decimal (e.g., 65536), octal (0200000), or hexidecimal (0x1000).
+decimal (e.g., 65536), octal (0200000), or hexadecimal (0x1000).
 .TP
 .B -p, --pad[=SIZE]
 Pad output to SIZE bytes with 0xFF.  If SIZE is not specified,
index 3061c403a689fe2d3f4d4a72e1909a2df3ff7bdc..198c8a702b521fd31a636a556dbd8f125e8bb4cf 100644 (file)
@@ -14,7 +14,7 @@ command reads the
 .B sysfs
 filesystem to gather information. Alternatively, the
 .B procfs
-filesystem and ioctl interfaces are used, should the sysfs filesytem not
+filesystem and ioctl interfaces are used, should the sysfs filesystem not
 be available.
 .PP
 The command prints all MTD and UBI devices in a pretty-printed list format by
index 24a30ac171548cd07e8aa0073f67a7fb8d542d1a..b62b69f407d174fbe20b3e3db4b8de4d726bead4 100644 (file)
@@ -72,11 +72,11 @@ static struct column cols[] = {
        { "SUB-SIZE", "subpage size", COL_SUBSIZE, COL_DT_SIZE, 0 },
        { "OOB-SIZE", "out of band data size", COL_OOBSIZE, COL_DT_SIZE, 0 },
        { "RO", "read-only device", COL_RO, COL_DT_BOOL, 0 },
-       { "CORRUPTED", "wheather an UBI volume is corrupted",
+       { "CORRUPTED", "whether an UBI volume is corrupted",
                COL_CORRUPTED, COL_DT_BOOL, 0 },
        { "REGIONS", "number of additional erase regions",
                COL_REGION, COL_DT_NUMBER, 0 },
-       { "BB", "wheather the MTD device may have bad eraseblocks",
+       { "BB", "whether the MTD device may have bad eraseblocks",
                COL_BB, COL_DT_BOOL, 0 },
        { "MAX-EC", "current highest erase counter value on UBI devices",
                COL_MAXEC, COL_DT_NUMBER, 0 },
@@ -107,7 +107,7 @@ static NORETURN void usage(int status)
 "  -r, --raw            Use raw output format\n"
 "  -P, --pairs          Use key=\"value\" output format\n"
 "  -J, --json           Use JSON output format\n"
-"  -o, --output <list>  Comma seperated list of columns to print\n"
+"  -o, --output <list>  Comma separated list of columns to print\n"
 "  -O, --output-all     Print all columns\n"
 "  -x, --sort <column>  Sort output by <column>\n"
 "  -m, --no-ubi         Do not display information about UBI devices/volumes\n"
index cec7b5c80261b3b13a2a40ffa49f18b6a12a4472..9331c5bad44611002f4d1cb9f537eb2aa1634846 100644 (file)
@@ -162,7 +162,7 @@ int scan_ubi(libubi_t lib_ubi)
                }
 
                if (j == num_mtd_devices) {
-                       fprintf(stderr, "Cannot find mtd device %d refered to "
+                       fprintf(stderr, "Cannot find mtd device %d referred to "
                                "by ubi device %d\n", dev_info.mtd_num,
                                dev_info.dev_num);
                        return -1;
index 0606ab07837d01073508847a2a5179ca988db8e4..8bd0fc8d3c3c5ae521392a14f0ac0b5a1389a6fa 100644 (file)
@@ -161,7 +161,7 @@ static void print_ubi_info(const struct mtd_info *mtd_info,
        struct ubigen_info ui;
 
        if (!mtd_info->sysfs_supported) {
-               errmsg("cannot provide UBI info, becasue sub-page size is "
+               errmsg("cannot provide UBI info, because sub-page size is "
                       "not known");
                return;
        }
index 967b65cd0294d1824e3bb600f618331b2766dbbf..ac8c1e53dfe6d88aaffb389000f07f1fe02659bd 100644 (file)
@@ -376,7 +376,7 @@ static int read_section(const struct ubigen_info *ui, const char *sname,
        if (vi->alignment == -1)
                vi->alignment = 1;
        else if (vi->id < 0)
-               return errmsg("negative volume alignement %d in section \"%s\"",
+               return errmsg("negative volume alignment %d in section \"%s\"",
                              vi->alignment, sname);
 
        verbose(args.verbose, "volume alignment: %d", vi->alignment);
index d4be610ec0a88e94ed4d750abc8c3649375c63b5..cd66d93a1ace399a0966cd2fd98177d29e78c81c 100644 (file)
@@ -210,9 +210,9 @@ static const char *helptext =
 "Usage: mkfs.ubifs [OPTIONS] target\n"
 "Make a UBIFS file system image from an existing directory tree\n\n"
 "Examples:\n"
-"Build file system from directory /opt/img, writting the result in the ubifs.img file\n"
+"Build file system from directory /opt/img, writing the result in the ubifs.img file\n"
 "\tmkfs.ubifs -m 512 -e 128KiB -c 100 -r /opt/img ubifs.img\n"
-"The same, but writting directly to an UBI volume\n"
+"The same, but writing directly to an UBI volume\n"
 "\tmkfs.ubifs -r /opt/img /dev/ubi0_0\n"
 "Creating an empty UBIFS filesystem on an UBI volume\n"
 "\tmkfs.ubifs /dev/ubi0_0\n\n"