[PATCH] nandtest: fix --reads argument

Artem Bityutskiy dedekind1 at gmail.com
Mon Sep 8 03:30:18 PDT 2014


On Thu, 2014-08-14 at 13:29 -0300, Guido Martínez wrote:
> The --reads option specifies the argument as optional, but doesn't check
> for a null optarg, which means that nandtest segfaults when run as
> "nandtest --reads".
> 
> Fix this by making the argument required, and changing the help text to
> not specify it as optional. Argument -r already specifies the argument
> as required, so we fix this inconsistency too.
> 
> Signed-off-by: Guido Martínez <guido at vanguardiasur.com.ar>

Pushed, thanks!

-- 
Best Regards,
Artem Bityutskiy




More information about the linux-mtd mailing list