From 0ecb54a0f3fece5e42f089036f059973bed8d87e Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sun, 5 Dec 1999 23:24:55 +0000 Subject: Stuf --- util-linux/mount.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'util-linux/mount.c') 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, 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); -- cgit v1.2.3