diff options
author | Denys Vlasenko | 2009-07-18 16:22:26 +0200 |
---|---|---|
committer | Denys Vlasenko | 2009-07-18 16:22:26 +0200 |
commit | 6ae6426a7485b5835c23aea198b3065f491d918b (patch) | |
tree | 79ebcee570986e27d7137720ca3139af277a162b /coreutils | |
parent | b71ce023e9527b6afaa497ce62ca53a74cf94cef (diff) | |
download | busybox-6ae6426a7485b5835c23aea198b3065f491d918b.zip busybox-6ae6426a7485b5835c23aea198b3065f491d918b.tar.gz |
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 'coreutils')
-rw-r--r-- | coreutils/df.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/df.c b/coreutils/df.c index d95aff3..4bbfe94 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: |