From 30e39ef877a3d039e31b19065afe37d643f82f12 Mon Sep 17 00:00:00 2001 From: Andy Shevchenko Date: Tue, 5 Apr 2011 16:55:50 +0300 Subject: 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 Signed-off-by: Artem Bityutskiy --- tests/checkfs/checkfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/checkfs/checkfs.c') 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); } -- cgit v1.2.3