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 --- ubi-utils/mtdinfo.c | 2 +- ubi-utils/ubinize.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ubi-utils') 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); -- cgit v1.2.3