diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-02-09 13:09:32 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-02-09 13:09:32 +0000 |
commit | 8bc8305d2977416baaf3dbaa37a4dae4a911ea2f (patch) | |
tree | 3d3e1aae544e5e746e573040492d6d3854414b4f /perl-install/resize_fat/main.pm | |
parent | 251ee11862dac86408af70c72282765d334bfda4 (diff) | |
download | drakx-backup-do-not-use-8bc8305d2977416baaf3dbaa37a4dae4a911ea2f.tar drakx-backup-do-not-use-8bc8305d2977416baaf3dbaa37a4dae4a911ea2f.tar.gz drakx-backup-do-not-use-8bc8305d2977416baaf3dbaa37a4dae4a911ea2f.tar.bz2 drakx-backup-do-not-use-8bc8305d2977416baaf3dbaa37a4dae4a911ea2f.tar.xz drakx-backup-do-not-use-8bc8305d2977416baaf3dbaa37a4dae4a911ea2f.zip |
no_comment
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 bac7f8ad1..c2e589e74 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 * $SECTORSIZE >> 20, "Mb (well exactly ${size} sectors)"); + log::l("resize_fat: Partition size will be ", $size >> 11, "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}); |