yaffs Fixed more bugs in quick tests.
[yaffs2.git] / direct / timothy_tests / quick_tests / test_yaffs_fchmod_EBADF.c
index 0a521b8b03cf63c89b189e8fc878363ae628fd1e..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();
@@ -40,5 +40,4 @@ int test_yaffs_fchmod_EBADF(void)
 int test_yaffs_fchmod_EBADF_clean(void)
 {
        return 1;
-
 }