aboutsummaryrefslogtreecommitdiff
path: root/ubi-utils/new-utils
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-05-29 13:05:36 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-05-29 13:05:36 +0300
commit1fd1b5430221b99e05d4f63693ccb0ec11a4af7c (patch)
tree976d0ac80f0dabeddbea183469f1e0d2204634c1 /ubi-utils/new-utils
parentb995f89a81589be8d8a41c374a6df109d0ee12b3 (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.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);