yaffs Fixed some bigs in quick tests.
[yaffs2.git] / direct / timothy_tests / quick_tests / test_yaffs_fchmod_EBADF.c
index 9e196368345323f07430772e58035e445af3525a..ce31a4cb336fbf493ee8fbe687fdbf687a6f0e07 100644 (file)
@@ -19,7 +19,7 @@ int test_yaffs_fchmod_EBADF(void)
        int error = 0;
        int output = 0;
 
-       output = yaffs_fchmod(-1,S_IREAD||S_IWRITE);
+       output = yaffs_fchmod(-1,S_IREAD|S_IWRITE);
 
        if (output<0){
                error=yaffs_get_error();