diff options
Diffstat (limited to 'perl-install/swap.pm')
-rw-r--r-- | perl-install/swap.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/swap.pm b/perl-install/swap.pm index 4f9fcf1f3..879794ca9 100644 --- a/perl-install/swap.pm +++ b/perl-install/swap.pm @@ -68,7 +68,7 @@ sub make($;$) { my $nbpages = divide(devices::size($devicename), $pagesize); - if ($nbpages <= $V0_MAX_PAGES || kernel_greater_or_equal(2,1,117) || $pagesize < 2048) { + if ($nbpages <= $V0_MAX_PAGES || !kernel_greater_or_equal(2,1,117) || $pagesize < 2048) { $version = 0; } else { $version = 1; |