summaryrefslogtreecommitdiff
path: root/ubi-utils/src/ubiformat.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-12-09 16:42:59 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-12-09 16:42:59 +0200
commita4e502d99129da8ebba6d40b373a4422a175e9af (patch)
tree9625d265d935a9380c6bdb1b32857266f30fd56b /ubi-utils/src/ubiformat.c
parent34e28bf35f7cc7758f87e6a2b82adf6ca186afdb (diff)
ubiformat: fix error messagev1.3.0
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/src/ubiformat.c')
-rw-r--r--ubi-utils/src/ubiformat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ubi-utils/src/ubiformat.c b/ubi-utils/src/ubiformat.c
index c87dfd0..3b0f49b 100644
--- a/ubi-utils/src/ubiformat.c
+++ b/ubi-utils/src/ubiformat.c
@@ -722,7 +722,8 @@ int main(int argc, char * const argv[])
}
if (!is_power_of_2(mtd.min_io_size)) {
- errmsg("min. I/O size is %d, but should be power of 2");
+ errmsg("min. I/O size is %d, but should be power of 2",
+ mtd.min_io_size);
goto out_close;
}