X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_fchmod_EBADF.c;h=ce31a4cb336fbf493ee8fbe687fdbf687a6f0e07;hp=9e196368345323f07430772e58035e445af3525a;hb=4c5424e922763507e8d7f637799052bddfce2630;hpb=129c903587142a48f089b02a9309dab746d8a2c9 diff --git a/direct/timothy_tests/quick_tests/test_yaffs_fchmod_EBADF.c b/direct/timothy_tests/quick_tests/test_yaffs_fchmod_EBADF.c index 9e19636..ce31a4c 100644 --- a/direct/timothy_tests/quick_tests/test_yaffs_fchmod_EBADF.c +++ b/direct/timothy_tests/quick_tests/test_yaffs_fchmod_EBADF.c @@ -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();