summaryrefslogtreecommitdiffstats
path: root/perl-install/swap.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-08-25 16:31:24 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-08-25 16:31:24 +0000
commitaaac324afdf01fa17b077040b283fc58ee6f8328 (patch)
treee46b5d20d093555ae9fdb2aff674a1487e398dbc /perl-install/swap.pm
parent4e915a66b1d826e7b9407ff1c25dd3889be5c220 (diff)
downloaddrakx-backup-do-not-use-aaac324afdf01fa17b077040b283fc58ee6f8328.tar
drakx-backup-do-not-use-aaac324afdf01fa17b077040b283fc58ee6f8328.tar.gz
drakx-backup-do-not-use-aaac324afdf01fa17b077040b283fc58ee6f8328.tar.bz2
drakx-backup-do-not-use-aaac324afdf01fa17b077040b283fc58ee6f8328.tar.xz
drakx-backup-do-not-use-aaac324afdf01fa17b077040b283fc58ee6f8328.zip
no_comment
Diffstat (limited to 'perl-install/swap.pm')
-rw-r--r--perl-install/swap.pm2
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;