aboutsummaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-08-13 10:36:25 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-08-13 10:36:25 +0000
commite324184c0509cc0db168ce29546e1b52800a79c6 (patch)
tree9d4f18b3cc1ab715b6ff91cc9e3e942d11dfc51f /modutils
parent5f1b149d541ebba7cab841cb647f113248f9fb8f (diff)
downloadbusybox-e324184c0509cc0db168ce29546e1b52800a79c6.tar.gz
s/#ifdef CONFIG_/#if ENABLE_/g
Diffstat (limited to 'modutils')
-rw-r--r--modutils/lsmod.c6
-rw-r--r--modutils/rmmod.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/modutils/lsmod.c b/modutils/lsmod.c
index acca23012..01e1c5539 100644
--- a/modutils/lsmod.c
+++ b/modutils/lsmod.c
@@ -14,7 +14,7 @@
#include "libbb.h"
-#ifndef CONFIG_FEATURE_CHECK_TAINTED_MODULE
+#if !ENABLE_FEATURE_CHECK_TAINTED_MODULE
static void check_tainted(void) { puts(""); }
#else
#define TAINT_FILENAME "/proc/sys/kernel/tainted"
@@ -44,7 +44,7 @@ static void check_tainted(void)
}
#endif
-#ifdef CONFIG_FEATURE_QUERY_MODULE_INTERFACE
+#if ENABLE_FEATURE_QUERY_MODULE_INTERFACE
struct module_info
{
@@ -131,7 +131,7 @@ int lsmod_main(int argc, char **argv)
puts("");
}
-#ifdef CONFIG_FEATURE_CLEAN_UP
+#if ENABLE_FEATURE_CLEAN_UP
free(module_names);
#endif
diff --git a/modutils/rmmod.c b/modutils/rmmod.c
index 13f5ec20b..26bad7d7e 100644
--- a/modutils/rmmod.c
+++ b/modutils/rmmod.c
@@ -10,7 +10,7 @@
#include "libbb.h"
#include <sys/syscall.h>
-#ifdef CONFIG_FEATURE_2_6_MODULES
+#if ENABLE_FEATURE_2_6_MODULES
static inline void filename2modname(char *modname, const char *afterslash)
{
unsigned int i;