X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_mount_ENOENT.c;h=01040fdf7b8c3a2def06e6ffd8393baa5e30a80d;hb=a8fba94306bc6fcaf7d546a3276c12a168ed6261;hp=061a13fffe55d8457d2fb0846748382a035dd817;hpb=9f631b4e43d0b0832ebbe2bd0dc5977186567806;p=yaffs2.git diff --git a/direct/timothy_tests/quick_tests/test_yaffs_mount_ENOENT.c b/direct/timothy_tests/quick_tests/test_yaffs_mount_ENOENT.c index 061a13f..01040fd 100644 --- a/direct/timothy_tests/quick_tests/test_yaffs_mount_ENOENT.c +++ b/direct/timothy_tests/quick_tests/test_yaffs_mount_ENOENT.c @@ -30,7 +30,7 @@ int test_yaffs_mount_ENOENT(void){ output=yaffs_mount("/non_existaint_mount_point/"); if (output==-1){ error_code=yaffs_get_error(); - if (abs(error_code)==ENOENT){ + if (abs(error_code)==ENODEV){ return 1; } else {