From 763a4b3a17e3fb4ab67c6105e06df891e60471bc Mon Sep 17 00:00:00 2001 From: Bastian Germann Date: Tue, 8 Sep 2020 22:07:11 +0200 Subject: Fix typos found by Debian's lintian tool Signed-off-by: Bastian Germann Signed-off-by: David Oberhollenzer --- misc-utils/lsmtd.8 | 2 +- misc-utils/lsmtd.c | 6 +++--- misc-utils/lsmtd_scan.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'misc-utils') diff --git a/misc-utils/lsmtd.8 b/misc-utils/lsmtd.8 index 3061c40..198c8a7 100644 --- a/misc-utils/lsmtd.8 +++ b/misc-utils/lsmtd.8 @@ -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 diff --git a/misc-utils/lsmtd.c b/misc-utils/lsmtd.c index 24a30ac..b62b69f 100644 --- a/misc-utils/lsmtd.c +++ b/misc-utils/lsmtd.c @@ -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 Comma seperated list of columns to print\n" +" -o, --output Comma separated list of columns to print\n" " -O, --output-all Print all columns\n" " -x, --sort Sort output by \n" " -m, --no-ubi Do not display information about UBI devices/volumes\n" diff --git a/misc-utils/lsmtd_scan.c b/misc-utils/lsmtd_scan.c index cec7b5c..9331c5b 100644 --- a/misc-utils/lsmtd_scan.c +++ b/misc-utils/lsmtd_scan.c @@ -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; -- cgit v1.2.3