summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-09-28 23:22:45 +0000
committerOlivier Blin <oblin@mandriva.org>2005-09-28 23:22:45 +0000
commit90292573c8b966753fe413d79702b73d804a34c4 (patch)
treec6bdb6048dc9a8a75293033bb12ddb0fddb92ae5 /kernel
parent467b45c5d66d719e7e3701c066db566aba10c88b (diff)
downloaddrakx-backup-do-not-use-90292573c8b966753fe413d79702b73d804a34c4.tar
drakx-backup-do-not-use-90292573c8b966753fe413d79702b73d804a34c4.tar.gz
drakx-backup-do-not-use-90292573c8b966753fe413d79702b73d804a34c4.tar.bz2
drakx-backup-do-not-use-90292573c8b966753fe413d79702b73d804a34c4.tar.xz
drakx-backup-do-not-use-90292573c8b966753fe413d79702b73d804a34c4.zip
fix typo
Diffstat (limited to 'kernel')
-rw-r--r--kernel/modules.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/modules.pl b/kernel/modules.pl
index afcc50549..1e058cce4 100644
--- a/kernel/modules.pl
+++ b/kernel/modules.pl
@@ -130,7 +130,7 @@ sub remove_unneeded_modules {
my @all = list_modules::all_modules();
my @all_with_deps = map { dependencies_closure($_) } @all;
- my %wanted_modules = map {; return "$_.$ext" => 1 } @all_with_deps;
+ my %wanted_modules = map {; "$_.$ext" => 1 } @all_with_deps;
foreach (all("all.kernels/$kern_ver/modules")) {
$wanted_modules{$_} or unlink "all.kernels/$kern_ver/modules/$_";
}