diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/find_mount_point.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbb/find_mount_point.c b/libbb/find_mount_point.c index 2464357c1..c16f9e087 100644 --- a/libbb/find_mount_point.c +++ b/libbb/find_mount_point.c | |||
@@ -22,12 +22,13 @@ | |||
22 | struct mntent* FAST_FUNC find_mount_point(const char *name, int subdir_too) | 22 | struct mntent* FAST_FUNC find_mount_point(const char *name, int subdir_too) |
23 | { | 23 | { |
24 | struct stat s; | 24 | struct stat s; |
25 | struct mntent *mountEntry; | ||
26 | #if !ENABLE_PLATFORM_MINGW32 | 25 | #if !ENABLE_PLATFORM_MINGW32 |
27 | FILE *mtab_fp; | 26 | FILE *mtab_fp; |
27 | struct mntent *mountEntry; | ||
28 | dev_t devno_of_name; | 28 | dev_t devno_of_name; |
29 | bool block_dev; | 29 | bool block_dev; |
30 | #else | 30 | #else |
31 | struct mntent *mountEntry; | ||
31 | static struct mntdata *data = NULL; | 32 | static struct mntdata *data = NULL; |
32 | char *current; | 33 | char *current; |
33 | const char *path; | 34 | const char *path; |