applets: fix compile-time warning
[oweals/busybox.git] / libbb / mtab_file.c
index 3821a6806e8e284e31aeebf26995257165d9e97c..67367e3d7ca4f6c353ffd42f02a4decdd8b13be5 100644 (file)
@@ -13,8 +13,5 @@
 
 /* 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[] = "/etc/mtab";
-#else
-const char bb_path_mtab_file[] = "/proc/mounts";
-#endif
+const char bb_path_mtab_file[] =
+USE_FEATURE_MTAB_SUPPORT("/etc/mtab")SKIP_FEATURE_MTAB_SUPPORT("/proc/mounts");