yaffs More tests added to quick tests.
[yaffs2.git] / direct / timothy_tests / quick_tests / test_yaffs_open_EINVAL.c
index 5a2ec4d172b9820a68d3632d9da8d3b9743354b7..17c5912ea116043063c9455a20d76ea24e2bc888 100644 (file)
@@ -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*/
        }
 }