Fixed warnings.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6298 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-01-25 15:42:16 +00:00
parent 8d0b31a063
commit 14795a07ba
2 changed files with 15 additions and 13 deletions
@@ -184,7 +184,7 @@ int main(int argc,char **argv)
printf("You can either create a test file or perform the test.\n" printf("You can either create a test file or perform the test.\n"
" Create:\t%s create [filesize]\n" " Create:\t%s create [filesize]\n"
" Test: \t%s [loops]\n\n" " Test: \t%s [loops]\n\n"
"Default size = %ld, loops = %ld\n", "Default size = %d, loops = %d\n",
filename, filename, FILE_SIZE, NUMBER_OF_LOOPS); filename, filename, FILE_SIZE, NUMBER_OF_LOOPS);
return 0; return 0;
@@ -1,11 +1,13 @@
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
#include <errno.h> #include <errno.h>
#include <string.h>
int main(int argc,char **argv) int
main(int argc,char **argv)
{ {
int file; int file;