diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-08-24 08:32:15 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-08-24 08:32:15 +0000 |
commit | 45c01d10f0e762edf28d3d8e0732732b4593a6bf (patch) | |
tree | 330880677fc9a355adb8922cf8fa618443e3b334 /kernel/list_modules.pm | |
parent | 2a6f84cfd7f47a76b5eac95254ad9598c6152103 (diff) | |
download | drakx-45c01d10f0e762edf28d3d8e0732732b4593a6bf.tar drakx-45c01d10f0e762edf28d3d8e0732732b4593a6bf.tar.gz drakx-45c01d10f0e762edf28d3d8e0732732b4593a6bf.tar.bz2 drakx-45c01d10f0e762edf28d3d8e0732732b4593a6bf.tar.xz drakx-45c01d10f0e762edf28d3d8e0732732b4593a6bf.zip |
fix resolving category from module (mainly fix usbhid loading)
Diffstat (limited to 'kernel/list_modules.pm')
-rw-r--r-- | kernel/list_modules.pm | 2 |
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; |