From a4e502d99129da8ebba6d40b373a4422a175e9af Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Wed, 9 Dec 2009 16:42:59 +0200 Subject: ubiformat: fix error message Signed-off-by: Artem Bityutskiy --- ubi-utils/src/ubiformat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3