summaryrefslogtreecommitdiff
path: root/ubi-utils
diff options
context:
space:
mode:
Diffstat (limited to 'ubi-utils')
-rw-r--r--ubi-utils/new-utils/src/ubiformat.c2
1 files changed, 1 insertions, 1 deletions
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);