]> www.infradead.org Git - mtd-utils.git/commit
tests: checkfs: fix compiler warnings
authorAndy Shevchenko <ext-andriy.shevchenko@nokia.com>
Tue, 5 Apr 2011 13:55:50 +0000 (16:55 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 5 Apr 2011 14:13:47 +0000 (17:13 +0300)
commit30e39ef877a3d039e31b19065afe37d643f82f12
treef3f9b875734bb68c1e45059c7c0b5dc4b80e95c3
parent118fc7debb64d0486333d767225d3f150053a556
tests: checkfs: fix compiler warnings

There are two warnings:
 - strlen() is used without prototype
 - argument of printf() is unsigned long, but used specifier is for int

This patch fixes them.

Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
tests/checkfs/checkfs.c
tests/checkfs/comm.c