summaryrefslogtreecommitdiff
path: root/mount.c
diff options
context:
space:
mode:
authorEric Andersen1999-12-05 23:24:55 +0000
committerEric Andersen1999-12-05 23:24:55 +0000
commit0ecb54a0f3fece5e42f089036f059973bed8d87e (patch)
treee25c3d29c9c92fed488e03459b2aee558b1a8d25 /mount.c
parent14ec6cf3c224d53219b2713b0040dfa03314d5b3 (diff)
downloadbusybox-0ecb54a0f3fece5e42f089036f059973bed8d87e.zip
busybox-0ecb54a0f3fece5e42f089036f059973bed8d87e.tar.gz
Stuf
Diffstat (limited to 'mount.c')
-rw-r--r--mount.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mount.c b/mount.c
index a9463af..1ec9cbb 100644
--- a/mount.c
+++ b/mount.c
@@ -163,6 +163,7 @@ mount_one(char *blockDevice, char *directory, char *filesystemType,
char buf[255];
+#if defined BB_FEATURE_USE_PROCFS
if (strcmp(filesystemType, "auto") == 0) {
FILE *f = fopen ("/proc/filesystems", "r");
@@ -189,7 +190,9 @@ mount_one(char *blockDevice, char *directory, char *filesystemType,
}
}
fclose (f);
- } else {
+ } else
+#endif
+ {
status = do_mount (blockDevice, directory, filesystemType,
flags | MS_MGC_VAL, string_flags, useMtab,
fakeIt, mtab_opts);