X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_open.c;h=76ed67bdb4f366891437a04761a68793e2a127bc;hb=250248634f57704c06d3ae5050febb33ad5c67d8;hp=89c7492701ce8876942650b45dafdbcc1e4cfd06;hpb=a11dd4924d16a4c3d6df13a4182f7729a1478a53;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; }