X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_truncate_EFBIG.c;h=0fc79af6ead130e0a13166748c51bf11d8efdc0a;hb=4adb62b1e4338eaa34d02fdcb0c5d99cebea6747;hp=dd7cc86b61bf6854078ab68a35210fe2c5ff9c9d;hpb=a8fba94306bc6fcaf7d546a3276c12a168ed6261;p=yaffs2.git diff --git a/direct/timothy_tests/quick_tests/test_yaffs_truncate_EFBIG.c b/direct/timothy_tests/quick_tests/test_yaffs_truncate_EFBIG.c index dd7cc86..0fc79af 100644 --- a/direct/timothy_tests/quick_tests/test_yaffs_truncate_EFBIG.c +++ b/direct/timothy_tests/quick_tests/test_yaffs_truncate_EFBIG.c @@ -22,11 +22,11 @@ int test_yaffs_truncate_EFBIG(void){ output= yaffs_truncate("/yaffs2/foo",10000000000000000000000000000000000000000000 ); if (output<0){ error=yaffs_get_error(); - if (abs(error)==EINVAL){ + if (abs(error)==EINVAL){ /*in yaffs EINVAL is used instead of EFBIG */ return 1; } else { - printf("recieved a different error than expected\n"); + printf("received a different error than expected\n"); return -1; } }