aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>1999-12-05 23:24:55 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>1999-12-05 23:24:55 +0000
commit571f48d0b0e71e2f9b9817d653bf5d4ed6fd3681 (patch)
treee25c3d29c9c92fed488e03459b2aee558b1a8d25 /util-linux
parentc37f3717d32c57123c1466da4a1f2cdf6565fc36 (diff)
downloadbusybox-w32-571f48d0b0e71e2f9b9817d653bf5d4ed6fd3681.tar.gz
busybox-w32-571f48d0b0e71e2f9b9817d653bf5d4ed6fd3681.tar.bz2
busybox-w32-571f48d0b0e71e2f9b9817d653bf5d4ed6fd3681.zip
Stuf
git-svn-id: svn://busybox.net/trunk/busybox@154 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/mount.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index a9463afba..1ec9cbb5b 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -163,6 +163,7 @@ mount_one(char *blockDevice, char *directory, char *filesystemType,
163 163
164 char buf[255]; 164 char buf[255];
165 165
166#if defined BB_FEATURE_USE_PROCFS
166 if (strcmp(filesystemType, "auto") == 0) { 167 if (strcmp(filesystemType, "auto") == 0) {
167 FILE *f = fopen ("/proc/filesystems", "r"); 168 FILE *f = fopen ("/proc/filesystems", "r");
168 169
@@ -189,7 +190,9 @@ mount_one(char *blockDevice, char *directory, char *filesystemType,
189 } 190 }
190 } 191 }
191 fclose (f); 192 fclose (f);
192 } else { 193 } else
194#endif
195 {
193 status = do_mount (blockDevice, directory, filesystemType, 196 status = do_mount (blockDevice, directory, filesystemType,
194 flags | MS_MGC_VAL, string_flags, useMtab, 197 flags | MS_MGC_VAL, string_flags, useMtab,
195 fakeIt, mtab_opts); 198 fakeIt, mtab_opts);