summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/list_modules.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/list_modules.pm b/kernel/list_modules.pm
index 5a0f08ca9..53a3f7851 100644
--- a/kernel/list_modules.pm
+++ b/kernel/list_modules.pm
@@ -266,6 +266,8 @@ sub load_dependencies {
my ($file) = @_;
%dependencies = map {
+ s![^ ]*/!!g;
+ s!\.ko!!g;
my ($f, $deps) = split ':';
$f => [ split ' ', $deps ];
} cat_($file);