diff options
author | Ladislav Michl <ladis@linux-mips.org> | 2008-11-18 19:56:52 +0100 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-11-21 13:26:21 +0200 |
commit | c75b917f08b8ae070e61b57166b85a93eeea184f (patch) | |
tree | 879218ebdcb0f643dcd2ad16dd12e92a50e095db /flash_info.c | |
parent | 37df0ddffc92804633fc926624fba310e4cc3c57 (diff) |
flash_eraseall reports incorrect percentage
Fix flash_eraseall percentage reporting:
# flash_eraseall /dev/mtd4
Erasing 128 Kibyte @ 2800000 -- 100 % complete.
flash_eraseall
* fix percentage reporting
* exit()ing from main() is overkill, just return
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'flash_info.c')
0 files changed, 0 insertions, 0 deletions