X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_write_EROFS.c;h=f0071eaede6d022da8b9fa1dbc267a9604a1b10a;hb=d223baa0fa5644b48c2626f8d42b05ac45b1daf6;hp=d39e42a71f1f9fc2155825a43a96be7991f7bb3c;hpb=41a39f326b4b732a36310275c0f4489c07117679;p=yaffs2.git diff --git a/direct/timothy_tests/quick_tests/test_yaffs_write_EROFS.c b/direct/timothy_tests/quick_tests/test_yaffs_write_EROFS.c index d39e42a..f0071ea 100644 --- a/direct/timothy_tests/quick_tests/test_yaffs_write_EROFS.c +++ b/direct/timothy_tests/quick_tests/test_yaffs_write_EROFS.c @@ -19,8 +19,8 @@ int test_yaffs_write_EROFS(void) { int output=0; int error_code=0; + handle=test_yaffs_open(); EROFS_setup(); - handle=yaffs_open(FILE_PATH, O_CREAT ,S_IREAD); if (handle>=0){ output= yaffs_write(handle, FILE_TEXT, FILE_TEXT_NBYTES); if (output<0){