]> www.infradead.org Git - mtd-utils.git/commit
mkfs.ubifs: correct and improve LEB size error prints
authorBrian Norris <computersforpeace@gmail.com>
Sat, 22 Mar 2014 06:45:44 +0000 (23:45 -0700)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 31 Mar 2014 09:49:39 +0000 (12:49 +0300)
commit4f291fbfa3ea677fd476466c82492a69ce6e562d
treee92c3cb701b02ce04b2f60c24fcce3554a4b05df
parent6a9db93c239ff61412ba6629919b4411d836ae23
mkfs.ubifs: correct and improve LEB size error prints

The error message is incorrect for "too small LEB size" -- we were
printing the minimum I/O size instead of the LEB size.

At the same time, let's print the max LEB size along with the message
for "too large LEB size", to be consistent and more helpful.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
mkfs.ubifs/mkfs.ubifs.c