dosfstools/ppc-reserved-sectors-fix.patch
Petr Gajdos dbadbc6663 - update to 3.0.17:
* Fixing segfault in dosfslabel.
  * Allow operation on SH4 CPUs.
  * Finish cleanup of byteswap code.
  * Fix offsetof definition.
  * etc., see ChangeLog
- refreshed ppc-reserved-sectors-fix.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/dosfstools?expand=0&rev=37
2013-06-03 13:52:42 +00:00

14 lines
570 B
Diff

Index: dosfstools-3.0.17/src/mkdosfs.c
===================================================================
--- dosfstools-3.0.17.orig/src/mkdosfs.c
+++ dosfstools-3.0.17/src/mkdosfs.c
@@ -995,7 +995,7 @@ static void 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 = htole16(reserved_sectors);
/* Adjust the number of root directory entries to help enforce alignment */