aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mount.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-04-12 15:02:53 +0000
committerEric Andersen <andersen@codepoet.org>2004-04-12 15:02:53 +0000
commitee4b7d496d89c9994c79604014eb23fd087c0917 (patch)
treee1241f0d206aa60e551a22562025eb387401952f /util-linux/mount.c
parent19efb3dc59920b9fed6ec16566a2046e9f3251d9 (diff)
downloadbusybox-w32-ee4b7d496d89c9994c79604014eb23fd087c0917.tar.gz
busybox-w32-ee4b7d496d89c9994c79604014eb23fd087c0917.tar.bz2
busybox-w32-ee4b7d496d89c9994c79604014eb23fd087c0917.zip
make mount ignore -n when CONFIG_FEATURE_MTAB_SUPPORT is disabled
Diffstat (limited to 'util-linux/mount.c')
-rw-r--r--util-linux/mount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 098e63663..3a241540e 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -402,11 +402,11 @@ extern int mount_main(int argc, char **argv)
402 case 'f': 402 case 'f':
403 fakeIt = TRUE; 403 fakeIt = TRUE;
404 break; 404 break;
405#ifdef CONFIG_FEATURE_MTAB_SUPPORT
406 case 'n': 405 case 'n':
406#ifdef CONFIG_FEATURE_MTAB_SUPPORT
407 useMtab = FALSE; 407 useMtab = FALSE;
408 break;
409#endif 408#endif
409 break;
410 case 'v': 410 case 'v':
411 break; /* ignore -v */ 411 break; /* ignore -v */
412 } 412 }