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;fp=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_fchmod_EBADF.c;h=ce31a4cb336fbf493ee8fbe687fdbf687a6f0e07;hp=9e196368345323f07430772e58035e445af3525a;hb=aed1065488d0c27e1654091636e4cfe5fb8e6951;hpb=529984f4a8f8bdcfd75866462ba6b89695b0b9b0 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();