missing return in fs-bench
PATCH 1/1 missing return in fs-bench
Hi!
Just another problem in fs-bench sources.
Signed-off-by Cyril Hrubis [email protected]
Signature · 2 lines
Cyril Hrubis [email protected]
testcases/kernel/fs/fs-bench/create-files.c +1 -0
@@ -71,6 +71,7 @@ int main(int ac,char *av[]) end:fprintf (stderr,"\nTotal create files: %d\n" ,filecount);printf ("Done\n" ); +return 0 ; }int showchar[]={124 ,47 ,45 ,92 ,124 ,47 ,45 ,92 };
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Hi!
Quoted 1 line
Just another problem in fs-bench sources.
Missed some in previous patch, now it should be all.
Signed-off-by Cyril Hrubis [email protected]
Signature · 2 lines
Cyril Hrubis [email protected]
testcases/kernel/fs/fs-bench/create-files.c +1 -0
@@ -71,6 +71,7 @@ int main(int ac,char *av[]) end:fprintf (stderr,"\nTotal create files: %d\n" ,filecount);printf ("Done\n" ); +return 0 ; }int showchar[]={124 ,47 ,45 ,92 ,124 ,47 ,45 ,92 };
testcases/kernel/fs/fs-bench/random-del-create.c +2 -0
@@ -111,6 +111,7 @@ int create_file(char *filename) cfilecount++; disk_space_pool -= randomsize;close (fd); +return 0 ; }#include <sys/stat.h>
@@ -131,4 +132,5 @@ int delete_file(char *filename)return (-1 ); } dfilecount++; +return 0 ; }
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list