From 1fd1b5430221b99e05d4f63693ccb0ec11a4af7c Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Thu, 29 May 2008 13:05:36 +0300 Subject: ubi-utils: fix typo in ubiformat Signed-off-by: Artem Bityutskiy --- ubi-utils/new-utils/src/ubiformat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubi-utils/new-utils/src/ubiformat.c b/ubi-utils/new-utils/src/ubiformat.c index d82461c..dc5dc44 100644 --- a/ubi-utils/new-utils/src/ubiformat.c +++ b/ubi-utils/new-utils/src/ubiformat.c @@ -263,7 +263,7 @@ static int change_ec(struct ubi_ec_hdr *hdr, long long ec) /* Check the EC header */ if (be32_to_cpu(hdr->magic) != UBI_EC_HDR_MAGIC) - return errmsg("mad UBI magic %#08x, should be %#08x", + return errmsg("bad UBI magic %#08x, should be %#08x", be32_to_cpu(hdr->magic), UBI_EC_HDR_MAGIC); crc = crc32(UBI_CRC32_INIT, hdr, UBI_EC_HDR_SIZE_CRC); -- cgit v1.2.3