[PATCH] mtd-utils: flash_erase: Fix output of offsets

Mike Frysinger vapier.adi at gmail.com
Sat Oct 16 17:24:58 EDT 2010


On Sat, Oct 16, 2010 at 16:54, Brian Norris wrote:
> Also, we should not add an extra eraseblock for the final status
> message; this gives misleading output when, for example, the
> following statement is executed:
>
>        $ flash_erase /dev/mtd0 0 1
>        Erasing 512 Kibyte @ 80000 -- 100 % complete
>
> We aren't erasing at offset 0x80000; it should display offset 0.

yeah, this was to fix the display not getting to 100%, but then i
fixed it another way and forgot to undo this line

Acked-by: Mike Frysinger <vapier at gentoo.org>
-mike



More information about the linux-mtd mailing list