Fix typos found by Debian's lintian tool
PATCH 1/1 Fix typos found by Debian's lintian tool
Signed-off-by Bastian Germann <[email protected]>
--- jffsX-utils/mkfs.jffs2.1 | 4 ++-- misc-utils/lsmtd.8 | 2 +- misc-utils/lsmtd.c | 6 +++--- misc-utils/lsmtd_scan.c | 2 +- ubi-utils/mtdinfo.c | 2 +- ubi-utils/ubinize.c | 2 +- ubifs-utils/mkfs.ubifs/mkfs.ubifs.c | 4 ++-- 7 files changed, 11 insertions(+), 11 deletions(-)
jffsX-utils/mkfs.jffs2.1 +2 -2
@@ -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,
misc-utils/lsmtd.8 +1 -1
@@ -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
misc-utils/lsmtd.c +3 -3
@@ -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"
misc-utils/lsmtd_scan.c +1 -1
@@ -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 ;
ubi-utils/mtdinfo.c +1 -1
@@ -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 ; }
ubi-utils/ubinize.c +1 -1
@@ -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);
ubifs-utils/mkfs.ubifs/mkfs.ubifs.c +2 -2
@@ -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"
Signature · 6 lines
2.28.0 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/
David Oberhollenzer
AppliedApplied to mtd-utils.git master.
Thanks,
David
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/