X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_chmod_NULL.c;fp=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_chmod_NULL.c;h=00da37b9237e692029c49bb55bc1a8bb890c66ae;hp=b0c1793554c2bb124fcc3571e4d2af7032fdb857;hb=710ddf7a3cfce3e9d5f01afeecc41679a89b68f3;hpb=2d0acac2786382b29762a6042119c41ba3f2f92f diff --git a/direct/timothy_tests/quick_tests/test_yaffs_chmod_NULL.c b/direct/timothy_tests/quick_tests/test_yaffs_chmod_NULL.c index b0c1793..00da37b 100644 --- a/direct/timothy_tests/quick_tests/test_yaffs_chmod_NULL.c +++ b/direct/timothy_tests/quick_tests/test_yaffs_chmod_NULL.c @@ -22,7 +22,7 @@ int test_yaffs_chmod_NULL(void) if (output<0){ error=yaffs_get_error(); - if (abs(error)==EINVAL){ + if (abs(error)==EFAULT){ return 1; } else { print_message("different error than expected\n",2);