summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-05-08 21:18:28 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-05-08 21:18:28 +0000
commit55003f1472479cebdc92a83e96fb060bd6239194 (patch)
treedb064a5b72dadb82ab62e3eed166f6680d87d3c7 /perl-install/fsedit.pm
parent198fa853cca1b95712fe825849b4eba7a388a22f (diff)
downloaddrakx-55003f1472479cebdc92a83e96fb060bd6239194.tar
drakx-55003f1472479cebdc92a83e96fb060bd6239194.tar.gz
drakx-55003f1472479cebdc92a83e96fb060bd6239194.tar.bz2
drakx-55003f1472479cebdc92a83e96fb060bd6239194.tar.xz
drakx-55003f1472479cebdc92a83e96fb060bd6239194.zip
no_comment
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r--perl-install/fsedit.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index f66a3488b..30b605927 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -168,7 +168,7 @@ sub computeSize($$$$) {
}
} @l;
}
- my $size = min($max, $best->{size} + $free_space * ($tot_ratios && $best->{ratio} / $tot_ratios));
+ my $size = int min($max, $best->{size} + $free_space * ($tot_ratios && $best->{ratio} / $tot_ratios));
#- verify other entry can fill the hole
if (grep { $_->{size} < $max - $size } @L) { $size } else { $max }