aboutsummaryrefslogtreecommitdiff
path: root/misc-utils
diff options
context:
space:
mode:
authorBastian Germann <bastiangermann@fishpost.de>2020-09-08 22:07:11 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-09-11 15:40:54 +0200
commit763a4b3a17e3fb4ab67c6105e06df891e60471bc (patch)
treee713057235d1d5a9927f8ca2430512e69c6a5736 /misc-utils
parent0b9db6849fbfaaafdbf3229f0185adcd99284a36 (diff)
Fix typos found by Debian's lintian tool
Signed-off-by: Bastian Germann <bastiangermann@fishpost.de> Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'misc-utils')
-rw-r--r--misc-utils/lsmtd.82
-rw-r--r--misc-utils/lsmtd.c6
-rw-r--r--misc-utils/lsmtd_scan.c2
3 files changed, 5 insertions, 5 deletions
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 <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"
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;