VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Core
diff options
context:
space:
mode:
Diffstat (limited to 'src/Core')
-rw-r--r--src/Core/FatFormatter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Core/FatFormatter.cpp b/src/Core/FatFormatter.cpp
index 9fb54ff7..a882e7ab 100644
--- a/src/Core/FatFormatter.cpp
+++ b/src/Core/FatFormatter.cpp
@@ -153,8 +153,8 @@ namespace VeraCrypt
{
int cnt = 0;
- boot[cnt++] = 0xeb; /* boot jump */
- boot[cnt++] = 0x3c;
+ boot[cnt++] = 0xeb; /* boot jump */
+ boot[cnt++] = (ft->size_fat == 32)? 0x58: 0x3c;
boot[cnt++] = 0x90;
memcpy (boot + cnt, "MSDOS5.0", 8); /* system id */
cnt += 8;