summaryrefslogtreecommitdiff
path: root/libbb/mtab_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/mtab_file.c')
-rw-r--r--libbb/mtab_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/mtab_file.c b/libbb/mtab_file.c
index 42504e8..abb9b93 100644
--- a/libbb/mtab_file.c
+++ b/libbb/mtab_file.c
@@ -25,8 +25,8 @@
/* Busybox mount uses either /proc/mounts or /etc/mtab to
* get the list of currently mounted filesystems */
-#if defined CONFIG_FEATURE_MTAB_SUPPORT
-const char bb_path_mtab_file[] = CONFIG_FEATURE_MTAB_FILENAME;
+#if defined(CONFIG_FEATURE_MTAB_SUPPORT)
+const char bb_path_mtab_file[] = "/etc/mtab";
#else
const char bb_path_mtab_file[] = "/proc/mounts";
#endif