Merge branch 'direct-fix'
[yaffs2.git] / direct / timothy_tests / quick_tests / test_yaffs_chmod_NULL.c
index b0c1793554c2bb124fcc3571e4d2af7032fdb857..00da37b9237e692029c49bb55bc1a8bb890c66ae 100644 (file)
@@ -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);