Get timothy quick tests building cleanly.
[yaffs2.git] / direct / test-framework / timothy_tests / quick_tests / test_yaffs_unmount_ENODEV.c
index 74283a24552ac339eac75b7cc601ab5efc7f12ea..7646b4672d743f04e26862c6ae954e91c1873bbc 100644 (file)
@@ -31,8 +31,8 @@ int test_yaffs_unmount_ENODEV(void)
                }
        } else if (output >=0){
                print_message("non existant directory opened.(which is a bad thing)\n",2);
                }
        } else if (output >=0){
                print_message("non existant directory opened.(which is a bad thing)\n",2);
-               return -1;
        }
        }
+       return -1;
 }
 
 int test_yaffs_unmount_ENODEV_clean(void)
 }
 
 int test_yaffs_unmount_ENODEV_clean(void)