[PATCHv1 3/5] tests: fs-tests: check return value of functions

Artem Bityutskiy Artem.Bityutskiy at nokia.com
Tue Apr 5 10:17:15 EDT 2011


On Tue, 2011-04-05 at 16:55 +0300, Andy Shevchenko wrote:
> chdir() returns negative value in case of error.
> fscanf() returns amount of successfully parsed parameters.
> 
> Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko at nokia.com>
> ---
>  tests/fs-tests/lib/tests.c           |    3 ++-
>  tests/fs-tests/stress/atoms/pdfrun.c |    5 ++++-
>  2 files changed, 6 insertions(+), 2 deletions(-)

Pushed this one, thanks.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)




More information about the linux-mtd mailing list