summaryrefslogtreecommitdiff
path: root/tests/checkfs/checkfs.c
diff options
context:
space:
mode:
authorAndy Shevchenko <ext-andriy.shevchenko@nokia.com>2011-04-05 16:55:50 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-04-05 17:13:47 +0300
commit30e39ef877a3d039e31b19065afe37d643f82f12 (patch)
treef3f9b875734bb68c1e45059c7c0b5dc4b80e95c3 /tests/checkfs/checkfs.c
parent118fc7debb64d0486333d767225d3f150053a556 (diff)
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>
Diffstat (limited to 'tests/checkfs/checkfs.c')
-rw-r--r--tests/checkfs/checkfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkfs/checkfs.c b/tests/checkfs/checkfs.c
index da2d0c4..6ca2c0e 100644
--- a/tests/checkfs/checkfs.c
+++ b/tests/checkfs/checkfs.c
@@ -520,7 +520,7 @@ void processCmdLine(int argc, char **argv)
FileSizeMax = (float)atoi(argv[++cnt]);
if(FileSizeMax > (MAX_INTS_ALLOW*sizeof(int)))
{
- printf("Max file size allowd is %i.\n",
+ printf("Max file size allowed is %lu.\n",
MAX_INTS_ALLOW*sizeof(int));
exit(0);
}