diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-05-29 13:05:36 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-05-29 13:05:36 +0300 |
commit | 1fd1b5430221b99e05d4f63693ccb0ec11a4af7c (patch) | |
tree | 976d0ac80f0dabeddbea183469f1e0d2204634c1 /ubi-utils/new-utils | |
parent | b995f89a81589be8d8a41c374a6df109d0ee12b3 (diff) |
ubi-utils: fix typo in ubiformat
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/new-utils')
-rw-r--r-- | ubi-utils/new-utils/src/ubiformat.c | 2 |
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); |