summaryrefslogtreecommitdiff
path: root/isohybrid-acritox
diff options
context:
space:
mode:
Diffstat (limited to 'isohybrid-acritox')
-rwxr-xr-xisohybrid-acritox2
1 files changed, 1 insertions, 1 deletions
diff --git a/isohybrid-acritox b/isohybrid-acritox
index 3b2e817..10fdc1f 100755
--- a/isohybrid-acritox
+++ b/isohybrid-acritox
@@ -105,7 +105,7 @@ $fat_pos = $fat_pos_lba*512;
$fat_pos_blk = $fat_pos_lba/4;
# Set the maximum size of the FAT partiton
-$fat_maxsize_blk = $csf_pos_blk + $csf_size_blk - $fat_pos_blk;
+$fat_maxsize_blk = $csf_size_blk - $fat_pos_blk;
$fat_maxsize_blk -= $fat_maxsize_blk % 16;
# Generate the FAT partition