aboutsummaryrefslogtreecommitdiff
path: root/mount.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>1999-11-06 06:07:27 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>1999-11-06 06:07:27 +0000
commit610e4739f7561cb7b2a2e7417052db14e32fd256 (patch)
tree57ba26bdcf5dae8deb91a3d1a9b47bcc140689a0 /mount.c
parent210df30f0012b40ce819c119ca00ad31ef76d8b8 (diff)
downloadbusybox-w32-610e4739f7561cb7b2a2e7417052db14e32fd256.tar.gz
busybox-w32-610e4739f7561cb7b2a2e7417052db14e32fd256.tar.bz2
busybox-w32-610e4739f7561cb7b2a2e7417052db14e32fd256.zip
Fixed ln, df, and removed redundant stuff from mtab.
git-svn-id: svn://busybox.net/trunk/busybox@81 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'mount.c')
-rw-r--r--mount.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mount.c b/mount.c
index 8b5efe14f..4c085d01b 100644
--- a/mount.c
+++ b/mount.c
@@ -208,14 +208,13 @@ extern int mount_main (int argc, char **argv)
208 char *filesystemType = "auto"; 208 char *filesystemType = "auto";
209 char *device = NULL; 209 char *device = NULL;
210 char *directory = NULL; 210 char *directory = NULL;
211 struct stat statBuf;
212 int all = FALSE; 211 int all = FALSE;
213 int fakeIt = FALSE; 212 int fakeIt = FALSE;
214 int useMtab = TRUE; 213 int useMtab = TRUE;
215 int i; 214 int i;
216 215
217 if (stat("/etc/fstab", &statBuf) < 0) 216 /* Only compiled in if BB_MTAB is not defined */
218 fprintf(stderr, "/etc/fstab file missing -- Please install one.\n\n"); 217 whine_if_fstab_is_missing();
219 218
220 if (argc == 1) { 219 if (argc == 1) {
221 FILE *mountTable = setmntent (mtab_file, "r"); 220 FILE *mountTable = setmntent (mtab_file, "r");