summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-08-24 08:32:15 +0000
committerOlivier Blin <oblin@mandriva.com>2007-08-24 08:32:15 +0000
commit45c01d10f0e762edf28d3d8e0732732b4593a6bf (patch)
tree330880677fc9a355adb8922cf8fa618443e3b334 /kernel
parent2a6f84cfd7f47a76b5eac95254ad9598c6152103 (diff)
downloaddrakx-backup-do-not-use-45c01d10f0e762edf28d3d8e0732732b4593a6bf.tar
drakx-backup-do-not-use-45c01d10f0e762edf28d3d8e0732732b4593a6bf.tar.gz
drakx-backup-do-not-use-45c01d10f0e762edf28d3d8e0732732b4593a6bf.tar.bz2
drakx-backup-do-not-use-45c01d10f0e762edf28d3d8e0732732b4593a6bf.tar.xz
drakx-backup-do-not-use-45c01d10f0e762edf28d3d8e0732732b4593a6bf.zip
fix resolving category from module (mainly fix usbhid loading)
Diffstat (limited to 'kernel')
-rw-r--r--kernel/list_modules.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/list_modules.pm b/kernel/list_modules.pm
index 39d58a144..b6dd09e2b 100644
--- a/kernel/list_modules.pm
+++ b/kernel/list_modules.pm
@@ -335,7 +335,7 @@ sub module2category {
foreach my $t1 (keys %l) {
my $h = $l{$t1};
foreach my $t2 (keys %$h) {
- $module eq $_ and return "$t1/$t2" foreach @{$h->{$t2}};
+ $module eq filename2modname($_) and return "$t1/$t2" foreach @{$h->{$t2}};
}
}
return;