summaryrefslogtreecommitdiffstats
path: root/src/fat_adv.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-08-11 07:53:47 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2008-08-11 07:53:47 +0200
commit7ba7a6e19caad6f27e94bc51693ce3484be8c7d9 (patch)
tree727ff5c6080fbcb7ace4687c6d8eac15078b86a4 /src/fat_adv.c
parentf57bc706bb65a0b710db53d16fb95b0c80a04042 (diff)
Sort deleted NTFS files
Diffstat (limited to 'src/fat_adv.c')
-rw-r--r--src/fat_adv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fat_adv.c b/src/fat_adv.c
index 2baef90..2b22732 100644
--- a/src/fat_adv.c
+++ b/src/fat_adv.c
@@ -2089,7 +2089,7 @@ int rebuild_FAT_BS(disk_t *disk_car, partition_t *partition, const int verbose,
{
while(partition->part_size/sectors_per_cluster_min > (1<<12))
sectors_per_cluster_min*=2;
- fat_length_max=partition->part_size/sectors_per_cluster_min*1.5;
+ fat_length_max=partition->part_size/sectors_per_cluster_min*3/2;
}
fat_length_max=fat_length_max/disk_car->sector_size*disk_car->sector_size;
if(verbose>1)