diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-08-04 07:30:48 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-08-04 07:30:48 +0000 |
commit | a326e02822d048e9e497ace31b7bb07f26b6a7d7 (patch) | |
tree | a17b95225e900ba608a6a3666f2346a98ed18530 /lib/MDV/Draklive/Media.pm | |
parent | f0776f8d92c5cdf381b0aab1b81ee5a96ef1b5ef (diff) | |
download | draklive-a326e02822d048e9e497ace31b7bb07f26b6a7d7.tar draklive-a326e02822d048e9e497ace31b7bb07f26b6a7d7.tar.gz draklive-a326e02822d048e9e497ace31b7bb07f26b6a7d7.tar.bz2 draklive-a326e02822d048e9e497ace31b7bb07f26b6a7d7.tar.xz draklive-a326e02822d048e9e497ace31b7bb07f26b6a7d7.zip |
keep an int
Diffstat (limited to 'lib/MDV/Draklive/Media.pm')
-rw-r--r-- | lib/MDV/Draklive/Media.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MDV/Draklive/Media.pm b/lib/MDV/Draklive/Media.pm index 6c7b935..159fab3 100644 --- a/lib/MDV/Draklive/Media.pm +++ b/lib/MDV/Draklive/Media.pm @@ -69,7 +69,7 @@ sub supplement_partitions { my $correction = 1.2; my $slash = find { $_->{mntpoint} eq '/' } @{$media->{partitions}}; - $slash->{size} ||= int($total_size * $correction) / $common::SECTORSIZE; + $slash->{size} ||= int($total_size * $correction / $common::SECTORSIZE); } 1; |