Browse Source

Be sure to store the updated reserved_sector count in the boot sector,
see Debian bug #567337.

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

Daniel Kahn Gillmor 14 years ago
parent
commit
33bca7d6b5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/mkdosfs.c

+ 1 - 0
src/mkdosfs.c

@@ -1059,6 +1059,7 @@ setup_tables (void)
 
     /* Adjust the reserved number of sectors for alignment */
     reserved_sectors = align_object(reserved_sectors, bs.cluster_size);
+    bs.reserved = CT_LE_W(reserved_sectors);
 
     /* Adjust the number of root directory entries to help enforce alignment */
     if (align_structures) {