fix mountpoint test to not prevemt mkfs_xxx from making image in any file

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2009-07-18 16:22:26 +02:00
parent b71ce023e9
commit 6ae6426a74
14 changed files with 71 additions and 44 deletions

View File

@@ -374,7 +374,7 @@ static int ask(const char *string, int def)
*/
static void check_mount(void)
{
if (find_mount_point(device_name)) {
if (find_mount_point(device_name, 0)) {
int cont;
#if ENABLE_FEATURE_MTAB_SUPPORT
/*