X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_open_file.c;h=75a5f8c110adb633ac1f899b1c245abb111c2cb0;hb=98fdd77e12f7a14163568906da90b11f90f9f3e8;hp=30ff1020e7637e781d3e468daa56dc9ca4c36355;hpb=26592c53da98ac887099559afbcb8dda05264e1c;p=yaffs2.git 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; }