yaffs Adding more error code test programs to quick tests. note the bugs are still...
[yaffs2.git] / direct / timothy_tests / quick_tests / test_yaffs_ftruncate.c
index 02964f72714ccbd97b482a95493bb79b0ff8c7be..8e97f3229a72961e0749f89e92ff548e6c2a9b42 100644 (file)
@@ -2,7 +2,7 @@
 
 static int handle=0;
 int test_yaffs_ftruncate(void){
-       handle=test_yaffs_open_file();
+       handle=test_yaffs_open();
        if (handle>0){
                return yaffs_ftruncate(handle,FILE_SIZE_TRUNCATED );
        }