commit | 6ae6426a7485b5835c23aea198b3065f491d918b | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Sat Jul 18 16:22:26 2009 +0200 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Sat Jul 18 16:22:26 2009 +0200 |
tree | 79ebcee570986e27d7137720ca3139af277a162b | |
parent | b71ce023e9527b6afaa497ce62ca53a74cf94cef [diff] [blame] |
fix mountpoint test to not prevemt mkfs_xxx from making image in any file Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/util-linux/fsck_minix.c b/util-linux/fsck_minix.c index ca0b17e..5d1d2af 100644 --- a/util-linux/fsck_minix.c +++ b/util-linux/fsck_minix.c
@@ -374,7 +374,7 @@ */ 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 /*