]> www.infradead.org Git - mtd-utils.git/commit
ubiformat: make badblocks output less confusing
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sun, 26 Jul 2009 12:51:11 +0000 (15:51 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sun, 26 Jul 2009 12:56:20 +0000 (15:56 +0300)
commit1633cc075c780828f667a752c74a1d571a6f041e
treec50b20eb2d5ff333a92610eef3a15664e49e354c
parent44729d133c846692fdf20fe980038546e60c39ab
ubiformat: make badblocks output less confusing

When ubiformat prints something like

ubiformat: bad eraseblocks: 1400

it looks like there are 1400 bad eraseblock, although there is
only one with number 1400. Fix this but turning the print into

ubiformat: 1 bad eraseblock found, numbers: 1400

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
ubi-utils/src/ubiformat.c