X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=inline;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_chmod_NULL.c;h=339b34604f5fa4a24843fd47cc8bc9a125d2de3f;hb=a78bce6f4a7042fa153ab32d2bb263ecf7d27b66;hp=b0c1793554c2bb124fcc3571e4d2af7032fdb857;hpb=2d0acac2786382b29762a6042119c41ba3f2f92f;p=yaffs2.git 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..339b346 100644 --- a/direct/timothy_tests/quick_tests/test_yaffs_chmod_NULL.c +++ b/direct/timothy_tests/quick_tests/test_yaffs_chmod_NULL.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 @@ -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);