X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_write_EROFS.c;h=f0071eaede6d022da8b9fa1dbc267a9604a1b10a;hp=d39e42a71f1f9fc2155825a43a96be7991f7bb3c;hb=5092cb42f05f875154d89639dbd5d6cea573da5f;hpb=41a39f326b4b732a36310275c0f4489c07117679 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){