X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_open_EINVAL.c;h=17c5912ea116043063c9455a20d76ea24e2bc888;hp=5a2ec4d172b9820a68d3632d9da8d3b9743354b7;hb=22f31a41cbb9a08e67204279fb3b37e400309f1c;hpb=a8fba94306bc6fcaf7d546a3276c12a168ed6261 diff --git a/direct/timothy_tests/quick_tests/test_yaffs_open_EINVAL.c b/direct/timothy_tests/quick_tests/test_yaffs_open_EINVAL.c index 5a2ec4d..17c5912 100644 --- a/direct/timothy_tests/quick_tests/test_yaffs_open_EINVAL.c +++ b/direct/timothy_tests/quick_tests/test_yaffs_open_EINVAL.c @@ -42,7 +42,7 @@ int test_yaffs_open_EINVAL_clean(void){ return yaffs_close(handle); } else { - return -1; /* the file failed to open so there is no need to close it*/ + return 1; /* the file failed to open so there is no need to close it*/ } }