summaryrefslogtreecommitdiffhomepage
path: root/util-linux/fsck_minix.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-07-18 16:22:26 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-07-18 16:22:26 +0200
commit6ae6426a7485b5835c23aea198b3065f491d918b (patch)
tree79ebcee570986e27d7137720ca3139af277a162b /util-linux/fsck_minix.c
parentb71ce023e9527b6afaa497ce62ca53a74cf94cef (diff)
fix mountpoint test to not prevemt mkfs_xxx from making image in any file
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/fsck_minix.c')
-rw-r--r--util-linux/fsck_minix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/fsck_minix.c b/util-linux/fsck_minix.c
index ca0b17efe..5d1d2af31 100644
--- a/util-linux/fsck_minix.c
+++ b/util-linux/fsck_minix.c
@@ -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
/*