X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=libbb%2Fmtab_file.c;h=67367e3d7ca4f6c353ffd42f02a4decdd8b13be5;hb=3349fc4da948eb1393cd9201cd9c2615c0056c97;hp=3821a6806e8e284e31aeebf26995257165d9e97c;hpb=b1629b1b2abc17a6430e4173d64d7956784118e0;p=oweals%2Fbusybox.git diff --git a/libbb/mtab_file.c b/libbb/mtab_file.c index 3821a6806..67367e3d7 100644 --- a/libbb/mtab_file.c +++ b/libbb/mtab_file.c @@ -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");