aboutsummaryrefslogtreecommitdiff
path: root/libbb/mtab_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/mtab_file.c')
-rw-r--r--libbb/mtab_file.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/libbb/mtab_file.c b/libbb/mtab_file.c
index 3821a6806..92bd2394f 100644
--- a/libbb/mtab_file.c
+++ b/libbb/mtab_file.c
@@ -13,8 +13,5 @@
13 13
14/* Busybox mount uses either /proc/mounts or /etc/mtab to 14/* Busybox mount uses either /proc/mounts or /etc/mtab to
15 * get the list of currently mounted filesystems */ 15 * get the list of currently mounted filesystems */
16#if defined(CONFIG_FEATURE_MTAB_SUPPORT) 16char bb_path_mtab_file[] = USE_FEATURE_MTAB_SUPPORT("/etc/mtab")
17const char bb_path_mtab_file[] = "/etc/mtab"; 17 SKIP_FEATURE_MTAB_SUPPORT("/proc/mounts");
18#else
19const char bb_path_mtab_file[] = "/proc/mounts";
20#endif