summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-10-03 22:12:26 +0000
committerOlivier Blin <oblin@mandriva.com>2007-10-03 22:12:26 +0000
commit3196a157549b12b7016648d4c5300445dad6215a (patch)
treedb98bf0caa21cb5c74781f5006bdfd1fa74eac2d
parentaa5f878d122eb4e0dca6344ae2ffb81f323d0da1 (diff)
downloaddrakx-3196a157549b12b7016648d4c5300445dad6215a.tar
drakx-3196a157549b12b7016648d4c5300445dad6215a.tar.gz
drakx-3196a157549b12b7016648d4c5300445dad6215a.tar.bz2
drakx-3196a157549b12b7016648d4c5300445dad6215a.tar.xz
drakx-3196a157549b12b7016648d4c5300445dad6215a.zip
require c module for kernel_version()
-rw-r--r--kernel/list_modules.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/list_modules.pm b/kernel/list_modules.pm
index b85b92415..e3331b0dc 100644
--- a/kernel/list_modules.pm
+++ b/kernel/list_modules.pm
@@ -311,6 +311,7 @@ sub filename2modname {
}
sub load_default_moddeps {
+ require c;
load_dependencies($::prefix . '/lib/modules/' . c::kernel_version() . '/modules.dep');
}