Fix incorrect variable name in version comparison

This was introduced by the previous change.

Thanks to Stefan Lippers-Hollmann for spotting this.

svn path=/dists/trunk/linux-2.6/; revision=17574
This commit is contained in:
Ben Hutchings 2011-06-02 00:39:44 +00:00
parent a81849ca91
commit ae6bf403da
1 changed files with 1 additions and 1 deletions

View File

@ -629,7 +629,7 @@ sub do_modules {
}
(undef, undef, my $running_version) = POSIX::uname();
if (version_code($new_version) > version_code($running_version)) {
if (version_code($version) > version_code($running_version)) {
my $missing = '';
my %module_paths;
open(DEP, "<$modules_base/$version/modules.dep") or return;