summaryrefslogtreecommitdiffstats
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
parent2a6f84cfd7f47a76b5eac95254ad9598c6152103 (diff)
downloaddrakx-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)
-rw-r--r--kernel/list_modules.pm2
-rw-r--r--perl-install/install/NEWS2
2 files changed, 3 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;
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 4b680be21..d74631657 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,5 @@
+- fix resolving category from module (mainly fix usbhid loading)
+
Version 10.4.175 - 23 August 2007, by Pascal "Pixel" Rigaux
- fix typo making selectKeyboard step not called