summaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
Diffstat (limited to 'modutils')
-rw-r--r--modutils/rmmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/rmmod.c b/modutils/rmmod.c
index 5302ab2..36bea34 100644
--- a/modutils/rmmod.c
+++ b/modutils/rmmod.c
@@ -38,7 +38,7 @@ static inline void filename2modname(char *modname, const char *afterslash)
#if ENABLE_FEATURE_2_4_MODULES
int kr_chk = 1;
- if (get_kernel_revision() <= 2*65536+6*256)
+ if (get_linux_version_code() <= KERNEL_VERSION(2,6,0))
kr_chk = 0;
#else
#define kr_chk 1