aboutsummaryrefslogtreecommitdiff
path: root/ubi-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 /ubi-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 'ubi-utils')
-rw-r--r--ubi-utils/mtdinfo.c2
-rw-r--r--ubi-utils/ubinize.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ubi-utils/mtdinfo.c b/ubi-utils/mtdinfo.c
index 0606ab0..8bd0fc8 100644
--- a/ubi-utils/mtdinfo.c
+++ b/ubi-utils/mtdinfo.c
@@ -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;
}
diff --git a/ubi-utils/ubinize.c b/ubi-utils/ubinize.c
index 967b65c..ac8c1e5 100644
--- a/ubi-utils/ubinize.c
+++ b/ubi-utils/ubinize.c
@@ -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);