X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_open.c;h=76ed67bdb4f366891437a04761a68793e2a127bc;hb=6cb99e93f72bbb066c5abb4ab2cc0cd79f56a4f3;hp=89c7492701ce8876942650b45dafdbcc1e4cfd06;hpb=81ea50c07a64dc33f1c0556fdbd836e50b143625;p=yaffs2.git diff --git a/direct/timothy_tests/quick_tests/test_yaffs_open.c b/direct/timothy_tests/quick_tests/test_yaffs_open.c index 89c7492..76ed67b 100644 --- a/direct/timothy_tests/quick_tests/test_yaffs_open.c +++ b/direct/timothy_tests/quick_tests/test_yaffs_open.c @@ -17,7 +17,7 @@ static int handle=0; int test_yaffs_open(void){ - handle=yaffs_open(FILE_PATH,O_CREAT | O_TRUNC| O_RDWR, FILE_MODE); + handle=yaffs_open(FILE_PATH,O_CREAT | O_RDWR, FILE_MODE); return handle; }