diff options
-rw-r--r-- | libbb/find_mount_point.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libbb/find_mount_point.c b/libbb/find_mount_point.c index af75afb50..1308d9b65 100644 --- a/libbb/find_mount_point.c +++ b/libbb/find_mount_point.c | |||
@@ -28,8 +28,13 @@ struct mntent* FAST_FUNC find_mount_point(const char *name, int subdir_too) | |||
28 | #else | 28 | #else |
29 | static char mnt_fsname[4]; | 29 | static char mnt_fsname[4]; |
30 | static char mnt_dir[4]; | 30 | static char mnt_dir[4]; |
31 | static struct mntent my_mount_entry = { mnt_fsname, mnt_dir, "", "", 0, 0 }; | 31 | static char mnt_type[1]; |
32 | char *current, *path; | 32 | static char mnt_opts[1]; |
33 | static struct mntent my_mount_entry = { | ||
34 | mnt_fsname, mnt_dir, mnt_type, mnt_opts, 0, 0 | ||
35 | }; | ||
36 | char *current; | ||
37 | const char *path; | ||
33 | DWORD len; | 38 | DWORD len; |
34 | #endif | 39 | #endif |
35 | 40 | ||