X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_access_NULL.c;h=71e76d033776d321df295099b198276ab8481168;hp=d9b2310b1b8cc7812f015b60b0d11418edefd26b;hb=710ddf7a3cfce3e9d5f01afeecc41679a89b68f3;hpb=2d0acac2786382b29762a6042119c41ba3f2f92f diff --git a/direct/timothy_tests/quick_tests/test_yaffs_access_NULL.c b/direct/timothy_tests/quick_tests/test_yaffs_access_NULL.c index d9b2310..71e76d0 100644 --- a/direct/timothy_tests/quick_tests/test_yaffs_access_NULL.c +++ b/direct/timothy_tests/quick_tests/test_yaffs_access_NULL.c @@ -24,7 +24,7 @@ int test_yaffs_access_NULL(void) output= yaffs_access(NULL,0); if (output<0){ error=yaffs_get_error(); - if ( abs(error)== ELOOP){ + if ( abs(error)== EFAULT){ return 1; } else { print_message("error does not match expected error\n",2);