X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_mount_ENOENT.c;h=01040fdf7b8c3a2def06e6ffd8393baa5e30a80d;hb=8f3b332855f68abc47f9da5b0f1877f33f70ba15;hp=061a13fffe55d8457d2fb0846748382a035dd817;hpb=9123fa7a03b5a90b4c292d7f50c98d47413ab234;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 {