diff options
author | Francois Pons <fpons@mandriva.com> | 2000-04-11 15:15:23 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2000-04-11 15:15:23 +0000 |
commit | dec0bdbb64a662c2276fcca1afb3e069143990ac (patch) | |
tree | 8d1778b11a51c0a200e04c18962a0cb6b04101eb /perl-install/resize_fat/main.pm | |
parent | de19160a9fc5d7021ce5b9ab516e5af72b3f394e (diff) | |
download | drakx-backup-do-not-use-dec0bdbb64a662c2276fcca1afb3e069143990ac.tar drakx-backup-do-not-use-dec0bdbb64a662c2276fcca1afb3e069143990ac.tar.gz drakx-backup-do-not-use-dec0bdbb64a662c2276fcca1afb3e069143990ac.tar.bz2 drakx-backup-do-not-use-dec0bdbb64a662c2276fcca1afb3e069143990ac.tar.xz drakx-backup-do-not-use-dec0bdbb64a662c2276fcca1afb3e069143990ac.zip |
*** empty log message ***
Diffstat (limited to 'perl-install/resize_fat/main.pm')
-rw-r--r-- | perl-install/resize_fat/main.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/resize_fat/main.pm b/perl-install/resize_fat/main.pm index c2e589e74..0c94586ec 100644 --- a/perl-install/resize_fat/main.pm +++ b/perl-install/resize_fat/main.pm @@ -130,7 +130,7 @@ sub resize { $size >= $min or die "Minimum filesystem size is $min sectors"; $size <= $max or die "Maximum filesystem size is $max sectors"; - log::l("resize_fat: Partition size will be ", $size >> 11, "Mb (well exactly ${size} sectors)"); + log::l("resize_fat: Partition size will be ". ($size * $SECTORSIZE >> 20) ."Mb (well exactly ${size} sectors)"); my $new_data_size = $size * $SECTORSIZE - $fs->{cluster_offset}; my $new_nb_clusters = divide($new_data_size, $fs->{cluster_size}); |