yaffs Fixed some bigs in quick tests.
[yaffs2.git] / direct / timothy_tests / quick_tests / test_yaffs_fchmod.c
index 896a33b52603822ba545e48daba6d64becef0c2f..ff924be2d6ff8f7f9ffea12567d8773c060a3d10 100644 (file)
@@ -26,7 +26,7 @@ int test_yaffs_fchmod(void)
                return -1;
        }
 
-       output = yaffs_fchmod(handle,S_IREAD||S_IWRITE);
+       output = yaffs_fchmod(handle,S_IREAD|S_IWRITE);
 
        if (output>=0){
                /* there were no errors */