summaryrefslogtreecommitdiff
path: root/isohybrid-acritox
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2012-03-11 20:06:09 +0100
committerAndreas Loibl <andreas@andreas-loibl.de>2012-03-11 20:06:09 +0100
commitc2ba38c43caddad20db954ffe12afe2848537b3e (patch)
treeac30332a40b9822fbd6e84949610a2d9d2e76a70 /isohybrid-acritox
parentf6e97e186104985f1e5cc536f976c0da60487c33 (diff)
downloadkanotix-c2ba38c43caddad20db954ffe12afe2848537b3e.zip
kanotix-c2ba38c43caddad20db954ffe12afe2848537b3e.tar.gz
isohybrid-acritox FAT-maxsize calculation fix
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