dosfstools/ppc-reserved-sectors-fix.patch

14 lines
579 B
Diff
Raw Normal View History

Index: dosfstools-3.0.10/src/mkdosfs.c
===================================================================
--- dosfstools-3.0.10.orig/src/mkdosfs.c
+++ dosfstools-3.0.10/src/mkdosfs.c
@@ -1059,7 +1059,7 @@ setup_tables (void)
}
/* Adjust the reserved number of sectors for alignment */
- reserved_sectors = align_object(reserved_sectors, bs.cluster_size);
+ /* 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 */