X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_fchmod.c;h=ff924be2d6ff8f7f9ffea12567d8773c060a3d10;hp=35602356c80483acfca7a4623e5288be7b186c29;hb=aed1065488d0c27e1654091636e4cfe5fb8e6951;hpb=a32621e0d7f5f391e9152cfe710fa6c99ca44c50 diff --git a/direct/timothy_tests/quick_tests/test_yaffs_fchmod.c b/direct/timothy_tests/quick_tests/test_yaffs_fchmod.c index 3560235..ff924be 100644 --- a/direct/timothy_tests/quick_tests/test_yaffs_fchmod.c +++ b/direct/timothy_tests/quick_tests/test_yaffs_fchmod.c @@ -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 */ @@ -41,7 +41,6 @@ int test_yaffs_fchmod(void) int test_yaffs_fchmod_clean(void) { if (handle >= 0) { - printf("handle %d\n",handle); return yaffs_close(handle); } return 1;