From: Artem Bityutskiy Date: Thu, 29 May 2008 10:05:36 +0000 (+0300) Subject: ubi-utils: fix typo in ubiformat X-Git-Tag: v1.2.0~21 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=1fd1b5430221b99e05d4f63693ccb0ec11a4af7c;p=mtd-utils.git ubi-utils: fix typo in ubiformat Signed-off-by: Artem Bityutskiy --- 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);