diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-07-18 16:22:26 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-07-18 16:22:26 +0200 |
commit | 6ae6426a7485b5835c23aea198b3065f491d918b (patch) | |
tree | 79ebcee570986e27d7137720ca3139af277a162b /coreutils/df.c | |
parent | b71ce023e9527b6afaa497ce62ca53a74cf94cef (diff) | |
download | busybox-w32-6ae6426a7485b5835c23aea198b3065f491d918b.tar.gz busybox-w32-6ae6426a7485b5835c23aea198b3065f491d918b.tar.bz2 busybox-w32-6ae6426a7485b5835c23aea198b3065f491d918b.zip |
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/df.c')
-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 d95aff39d..4bbfe943b 100644 --- a/coreutils/df.c +++ b/coreutils/df.c | |||
@@ -119,7 +119,7 @@ int df_main(int argc, char **argv) | |||
119 | mount_point = *argv++; | 119 | mount_point = *argv++; |
120 | if (!mount_point) | 120 | if (!mount_point) |
121 | break; | 121 | break; |
122 | mount_entry = find_mount_point(mount_point); | 122 | mount_entry = find_mount_point(mount_point, 1); |
123 | if (!mount_entry) { | 123 | if (!mount_entry) { |
124 | bb_error_msg("%s: can't find mount point", mount_point); | 124 | bb_error_msg("%s: can't find mount point", mount_point); |
125 | set_error: | 125 | set_error: |