[PATCH] ubi_tools: enhance -s option to allow size multiplier to match mtd-utils

Paul B. Henson henson at acm.org
Sat Jun 1 04:33:23 UTC 2013


On May 31, 2013, at 4:34 PM, Mike Frysinger <vapier at gentoo.org> wrote:

> On Tuesday 28 May 2013 21:17:42 Paul B. Henson wrote:
>> +static int get_bytes(const char *str)
> the style is wrong, but ignoring that, this seems like it'd be prime for 
> adding to common libbb code if there isn't a func in there already

Hmm, actually it looks like xstrtoul supports some kind of suffix multiplier, I'll see if I can make the -s option parsing work with that existing code. 


More information about the busybox mailing list