X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_open_EINVAL.c;h=17c5912ea116043063c9455a20d76ea24e2bc888;hb=e0b53924703fe414a99dbf49682cf8459540a3e5;hp=5a2ec4d172b9820a68d3632d9da8d3b9743354b7;hpb=a8fba94306bc6fcaf7d546a3276c12a168ed6261;p=yaffs2.git 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*/ } }