summaryrefslogtreecommitdiffstats
path: root/perl-install/resize_fat/any.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-04-11 15:15:23 +0000
committerFrancois Pons <fpons@mandriva.com>2000-04-11 15:15:23 +0000
commitdec0bdbb64a662c2276fcca1afb3e069143990ac (patch)
tree8d1778b11a51c0a200e04c18962a0cb6b04101eb /perl-install/resize_fat/any.pm
parentde19160a9fc5d7021ce5b9ab516e5af72b3f394e (diff)
downloaddrakx-dec0bdbb64a662c2276fcca1afb3e069143990ac.tar
drakx-dec0bdbb64a662c2276fcca1afb3e069143990ac.tar.gz
drakx-dec0bdbb64a662c2276fcca1afb3e069143990ac.tar.bz2
drakx-dec0bdbb64a662c2276fcca1afb3e069143990ac.tar.xz
drakx-dec0bdbb64a662c2276fcca1afb3e069143990ac.zip
*** empty log message ***
Diffstat (limited to 'perl-install/resize_fat/any.pm')
-rw-r--r--perl-install/resize_fat/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/resize_fat/any.pm b/perl-install/resize_fat/any.pm
index 63f154008..407159437 100644
--- a/perl-install/resize_fat/any.pm
+++ b/perl-install/resize_fat/any.pm
@@ -27,7 +27,7 @@ sub min_cluster_count($) {
}
sub max_cluster_count($) {
my ($fs) = @_;
- 2 ** $fs->{fs_type_size} - 11;
+ (1 << $ {{ FAT16 => 16, FAT32 => 28 }}{$fs->{fs_type}}) - 11;
}