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=0a521b8b03cf63c89b189e8fc878363ae628fd1e;hb=4c5424e922763507e8d7f637799052bddfce2630;hpb=050a7702e4c058234102772f12846e7a878ca769 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 0a521b8..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(); @@ -40,5 +40,4 @@ int test_yaffs_fchmod_EBADF(void) int test_yaffs_fchmod_EBADF_clean(void) { return 1; - }