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=e1a035688f870686e7d615e3a71ef4a28d91f168;hp=896a33b52603822ba545e48daba6d64becef0c2f;hb=a78bce6f4a7042fa153ab32d2bb263ecf7d27b66;hpb=529984f4a8f8bdcfd75866462ba6b89695b0b9b0 diff --git a/direct/timothy_tests/quick_tests/test_yaffs_fchmod.c b/direct/timothy_tests/quick_tests/test_yaffs_fchmod.c index 896a33b..e1a0356 100644 --- a/direct/timothy_tests/quick_tests/test_yaffs_fchmod.c +++ b/direct/timothy_tests/quick_tests/test_yaffs_fchmod.c @@ -1,7 +1,7 @@ /* * YAFFS: Yet another FFS. A NAND-flash specific file system. * - * Copyright (C) 2002-2010 Aleph One Ltd. + * Copyright (C) 2002-2011 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Timothy Manning @@ -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 */