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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/mtab_file.c b/libbb/mtab_file.c
index 3d57290..2124e01 100644
--- a/libbb/mtab_file.c
+++ b/libbb/mtab_file.c
@@ -26,7 +26,7 @@
/* 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 mtab_file[] = "/etc/mtab";
+const char mtab_file[] = CONFIG_FEATURE_MTAB_FILENAME;
#else
const char mtab_file[] = "/proc/mounts";
#endif