diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-07-26 15:43:03 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-07-26 15:43:03 +0300 |
commit | 1c54e49e41c10306f6316aaf4d0380f605cb29c5 (patch) | |
tree | 89f1c72aff30911c21500c25578b3f6425cac7ba /ubi-utils/src | |
parent | 6624ef2ba2e9687929c53fe838910786270cd5c9 (diff) |
ubiformat: minor printing clean-up
When a PEB is marked as bad while we are formatting, ubiformat
prints 99% done at the end. Make it print 100% done instead.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/src')
-rw-r--r-- | ubi-utils/src/ubiformat.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ubi-utils/src/ubiformat.c b/ubi-utils/src/ubiformat.c index c15500b..d0def44 100644 --- a/ubi-utils/src/ubiformat.c +++ b/ubi-utils/src/ubiformat.c @@ -483,7 +483,6 @@ static int flash_image(const struct mtd_dev_info *mtd, struct ubi_scan_info *si) if (mark_bad(mtd, si, eb)) goto out_close; - divisor += 1; continue; } @@ -536,7 +535,6 @@ static int flash_image(const struct mtd_dev_info *mtd, struct ubi_scan_info *si) normsg("operation incomplete"); goto out_close; } - divisor += 1; } continue; } |