Fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6298 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user