8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 457e570 + 52c8338 commit a1b2eb8Copy full SHA for a1b2eb8
src/fat.rs
@@ -26,7 +26,7 @@ pub fn create_fat_filesystem(
26
.truncate(true)
27
.open(out_fat_path)
28
.unwrap();
29
- let fat_size_padded_and_rounded = ((needed_size + 1024 * 64 - 1) / MB + 1) * MB;
+ let fat_size_padded_and_rounded = ((needed_size + 1024 * 64 - 1) / MB + 1) * MB + MB;
30
fat_file.set_len(fat_size_padded_and_rounded).unwrap();
31
32
// choose a file system label
0 commit comments