summaryrefslogtreecommitdiff
path: root/util-linux/mount.c
diff options
context:
space:
mode:
authorEric Andersen2001-04-01 16:01:11 +0000
committerEric Andersen2001-04-01 16:01:11 +0000
commitc4cef5ab063d7abb604d48610424566202dcade0 (patch)
treec661196acbb1adfa81257a7f23b08bd15d653be8 /util-linux/mount.c
parentf77d88641d934fbd9ed0da8c8e31c84dc5856532 (diff)
downloadbusybox-c4cef5ab063d7abb604d48610424566202dcade0.zip
busybox-c4cef5ab063d7abb604d48610424566202dcade0.tar.gz
Move the mtab support stuff into libbb
-Erik
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 9f7ac43..57dc73e 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -160,7 +160,7 @@ do_mount(char *specialfile, char *dir, char *filesystemtype,
/* If the mount was sucessful, do anything needed, then return TRUE */
if (status == 0 || fakeIt==TRUE) {
-#if defined BB_MTAB
+#if defined BB_FEATURE_MTAB_SUPPORT
if (useMtab == TRUE) {
erase_mtab(specialfile); // Clean any stale entries
write_mtab(specialfile, dir, filesystemtype, flags, mtab_opts);
@@ -385,7 +385,7 @@ extern int mount_main(int argc, char **argv)
case 'f':
fakeIt = TRUE;
break;
-#ifdef BB_MTAB
+#ifdef BB_FEATURE_MTAB_SUPPORT
case 'n':
useMtab = FALSE;
break;