summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 291916977..a07d73af6 100644
--- a/kernel/list_modules.pm
+++ b/kernel/list_modules.pm
@@ -342,7 +342,7 @@ sub load_dependencies {
my ($filename, @fdeps) = map {
s![^ ]*/!!g;
s!\.ko!!g;
- s!\.gz!!g;
+ s!\.[gx]z!!g;
$_;
} $m, split(' ', $d);