From a0ac4523b1ebceff60ced8c7d079caf0ffc0db8b Mon Sep 17 00:00:00 2001 From: Eric 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 --- 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