From aab4ba8d7c95bf24174828c6e3f71b1c2117deff Mon Sep 17 00:00:00 2001 From: andersen Date: Thu, 27 Feb 2003 03:14:04 +0000 Subject: 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 git-svn-id: svn://busybox.net/trunk/busybox@6643 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- libbb/mtab_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbb') 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 -- cgit v1.2.3-55-g6feb