summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
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 6da5a48b6..15ae5c6bf 100644
--- a/kernel/list_modules.pm
+++ b/kernel/list_modules.pm
@@ -210,7 +210,7 @@ sub category2modules {
map {
my $l = $l{$t1}{$_} or die "bad category $t1/$_\n" . backtrace();
@$l;
- } split('\|', $t2s);
+ } $t2s eq '*' ? keys %{$l{$t1}} : split('\|', $t2s);
} split(' ', $_[0]);
}