Skip to content

Commit 16624cd

Browse files
Hard reset per @Freax13's request
1 parent 7c8e2ca commit 16624cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fat.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pub fn create_fat_filesystem(
2626
.truncate(true)
2727
.open(out_fat_path)
2828
.unwrap();
29-
let fat_size_padded_and_rounded = ((needed_size + 1024 * 64 - 1) / MB + 1) * MB;
29+
let fat_size_padded_and_rounded = (((needed_size + 1024 * 64 - 1) / MB + 1) * MB) + MB;
3030
fat_file.set_len(fat_size_padded_and_rounded).unwrap();
3131

3232
// choose a file system label

0 commit comments

Comments
 (0)