From 6ae6426a7485b5835c23aea198b3065f491d918b Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 18 Jul 2009 16:22:26 +0200 Subject: fix mountpoint test to not prevemt mkfs_xxx from making image in any file Signed-off-by: Denys Vlasenko --- coreutils/df.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils/df.c') diff --git a/coreutils/df.c b/coreutils/df.c index d95aff39d..4bbfe943b 100644 --- a/coreutils/df.c +++ b/coreutils/df.c @@ -119,7 +119,7 @@ int df_main(int argc, char **argv) mount_point = *argv++; if (!mount_point) break; - mount_entry = find_mount_point(mount_point); + mount_entry = find_mount_point(mount_point, 1); if (!mount_entry) { bb_error_msg("%s: can't find mount point", mount_point); set_error: -- cgit v1.2.3