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.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/libbb/mtab_file.c b/libbb/mtab_file.c
index 267a137..3d57290 100644
--- a/libbb/mtab_file.c
+++ b/libbb/mtab_file.c
@@ -23,16 +23,12 @@
#include "libbb.h"
-/* Busybox mount uses either /proc/mounts or /dev/mtab to
+/* 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";
#else
-# if defined CONFIG_FEATURE_USE_DEVPS_PATCH
- const char mtab_file[] = "/dev/mtab";
-# else
- const char mtab_file[] = "/proc/mounts";
-# endif
+const char mtab_file[] = "/proc/mounts";
#endif