Fix off by one error. (I know I had a reason for doing that, but I have _no_
[oweals/busybox.git] / libbb / mtab_file.c
index 42504e81fa93a1f3e0c255ea0e95d48ff8dc1354..abb9b93224b7da47fcc2a40aa40dac06c4f4ef79 100644 (file)
@@ -25,8 +25,8 @@
 
 /* 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 bb_path_mtab_file[] = CONFIG_FEATURE_MTAB_FILENAME;
+#if defined(CONFIG_FEATURE_MTAB_SUPPORT)
+const char bb_path_mtab_file[] = "/etc/mtab";
 #else
 const char bb_path_mtab_file[] = "/proc/mounts";
 #endif