yaffs Yet more tests for quick tests.
[yaffs2.git] / direct / timothy_tests / quick_tests / test_yaffs_mount_ENOENT.c
index 061a13fffe55d8457d2fb0846748382a035dd817..01040fdf7b8c3a2def06e6ffd8393baa5e30a80d 100644 (file)
@@ -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 {