diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-05-08 21:18:28 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-05-08 21:18:28 +0000 |
commit | 55003f1472479cebdc92a83e96fb060bd6239194 (patch) | |
tree | db064a5b72dadb82ab62e3eed166f6680d87d3c7 /perl-install/fsedit.pm | |
parent | 198fa853cca1b95712fe825849b4eba7a388a22f (diff) | |
download | drakx-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.pm | 2 |
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 } |