diff options
author | Ron Yorston <rmy@pobox.com> | 2015-11-01 15:05:12 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2015-11-01 15:06:19 +0000 |
commit | ea341c79b19ca9f3ddcfdd31caea54b1c815a3b0 (patch) | |
tree | e695b8aec68ef355dcd2c6d10c0be3ed7f27e6ff /libbb | |
parent | e43a8c39c4995011d60d294807167dbf9d512b48 (diff) | |
download | busybox-w32-ea341c79b19ca9f3ddcfdd31caea54b1c815a3b0.tar.gz busybox-w32-ea341c79b19ca9f3ddcfdd31caea54b1c815a3b0.tar.bz2 busybox-w32-ea341c79b19ca9f3ddcfdd31caea54b1c815a3b0.zip |
win32: improve implementation of statfs
The WIN32 calls should be passed the root directory of the filesystem.
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/find_mount_point.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/find_mount_point.c b/libbb/find_mount_point.c index b9bc1dd76..de314a3c7 100644 --- a/libbb/find_mount_point.c +++ b/libbb/find_mount_point.c | |||
@@ -27,7 +27,7 @@ struct mntent* FAST_FUNC find_mount_point(const char *name, int subdir_too) | |||
27 | #if ENABLE_PLATFORM_MINGW32 | 27 | #if ENABLE_PLATFORM_MINGW32 |
28 | static char mnt_fsname[4]; | 28 | static char mnt_fsname[4]; |
29 | static char mnt_dir[4]; | 29 | static char mnt_dir[4]; |
30 | struct mntent my_mount_entry = { mnt_fsname, mnt_dir, "", "", 0, 0 }; | 30 | static struct mntent my_mount_entry = { mnt_fsname, mnt_dir, "", "", 0, 0 }; |
31 | char *current, *path; | 31 | char *current, *path; |
32 | DWORD len; | 32 | DWORD len; |
33 | #endif | 33 | #endif |