summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/depmod.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/depmod.pl b/examples/depmod.pl
index f324b12..809dc08 100755
--- a/examples/depmod.pl
+++ b/examples/depmod.pl
@@ -199,7 +199,7 @@ if ($stdout == 0) {
open(STDOUT, ">$basedir/modules.dep")
or die "cannot open $basedir/modules.dep: $!";
}
-my $kseries = $basedir =~ m,/2\.6\.[^/]*, ? '2.6' : '2.4';
+my $kseries = $basedir =~ m,/2\.4\.[^/]*, ? '2.4' : 'others';
foreach my $module ( keys %$mod ) {
if($kseries eq '2.4') {