aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}