aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-02-27 03:14:04 +0000
committerEric Andersen <andersen@codepoet.org>2003-02-27 03:14:04 +0000
commita0ac4523b1ebceff60ced8c7d079caf0ffc0db8b (patch)
tree5fb61747545ebe080102f4cd2aeb9a0d5439edd8 /libbb
parentee6da5527c982b40aef002616bf7d401ee2d434a (diff)
downloadbusybox-a0ac4523b1ebceff60ced8c7d079caf0ffc0db8b.tar.gz
Write all the help text for the util-linux utilities. Allow
people to locate the mtab file somewhere other that /etc to accomodate read only root filesystems. -Erik
Diffstat (limited to 'libbb')
-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 3d5729026..2124e0144 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