X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_truncate_EFBIG.c;h=7ea85da00f06f532eec93151a8cb21b868d6379b;hp=dd7cc86b61bf6854078ab68a35210fe2c5ff9c9d;hb=e0b53924703fe414a99dbf49682cf8459540a3e5;hpb=78fc80afe393d5730ab464db3dc30f6ffb654196;ds=sidebyside 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..7ea85da 100644 --- a/direct/timothy_tests/quick_tests/test_yaffs_truncate_EFBIG.c +++ b/direct/timothy_tests/quick_tests/test_yaffs_truncate_EFBIG.c @@ -22,7 +22,7 @@ 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 {