X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_mount_ENOENT.c;h=01040fdf7b8c3a2def06e6ffd8393baa5e30a80d;hp=061a13fffe55d8457d2fb0846748382a035dd817;hb=f2c8e9cf2b72e5ac6a776a1a1b188f8595e7c35c;hpb=9f631b4e43d0b0832ebbe2bd0dc5977186567806 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 {