X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_open_file.c;fp=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_open_file.c;h=75a5f8c110adb633ac1f899b1c245abb111c2cb0;hp=30ff1020e7637e781d3e468daa56dc9ca4c36355;hb=6bdb202d06f1e3dc8cc00dea708ebbd7fb771342;hpb=26592c53da98ac887099559afbcb8dda05264e1c diff --git a/direct/timothy_tests/quick_tests/test_open_file.c b/direct/timothy_tests/quick_tests/test_open_file.c index 30ff102..75a5f8c 100644 --- a/direct/timothy_tests/quick_tests/test_open_file.c +++ b/direct/timothy_tests/quick_tests/test_open_file.c @@ -9,7 +9,7 @@ int test_open_file(void){ int output=0; /*printf("path %s\n",path); */ - output=yaffs_open(FILE_PATH,O_CREAT | O_TRUNC| O_RDWR, S_IREAD | S_IWRITE); + output=yaffs_open(FILE_PATH,O_CREAT | O_TRUNC| O_RDWR, FILE_MODE); return output; }