Get timothy quick tests building cleanly.
[yaffs2.git] / direct / test-framework / timothy_tests / quick_tests / test_yaffs_fchmod_NULL.c
index f96e0d2bd88df1ecf153057d25abddc054a5c3aa..4c7041302310b1ac43c454eb9e2cec8901b48191 100644 (file)
@@ -19,7 +19,7 @@ int test_yaffs_fchmod_NULL(void)
        int error = 0;
        int output = 0;
 
        int error = 0;
        int output = 0;
 
-       output = yaffs_fchmod(NULL,S_IREAD|S_IWRITE);
+       output = yaffs_fchmod(999, S_IREAD|S_IWRITE);
 
        if (output<0){
                error=yaffs_get_error();
 
        if (output<0){
                error=yaffs_get_error();