Commit in reactos/lib/fslib/vfatlib on MAIN
fat12.c+1-11.3 -> 1.4
fat16.c+1-11.5 -> 1.6
+2-2
2 modified files
Also zero out first sector of root dir when formatting FAT12 and FAT16
volumes

reactos/lib/fslib/vfatlib
fat12.c 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- fat12.c	12 Sep 2003 17:51:46 -0000	1.3
+++ fat12.c	19 Feb 2004 21:24:54 -0000	1.4
@@ -223,7 +223,7 @@
   memset(Buffer, 0, 32 * 1024);
 
   Sectors = 32 * 1024 / BootSector->BytesPerSector;
-  for (i = 1; i < RootDirSectors; i += Sectors)
+  for (i = 0; i < RootDirSectors; i += Sectors)
     {
       /* Zero some sectors of the root directory */
       FileOffset.QuadPart = (FirstRootDirSector + i) * BootSector->BytesPerSector;

reactos/lib/fslib/vfatlib
fat16.c 1.5 -> 1.6
diff -u -r1.5 -r1.6
--- fat16.c	12 Sep 2003 17:51:46 -0000	1.5
+++ fat16.c	19 Feb 2004 21:24:54 -0000	1.6
@@ -226,7 +226,7 @@
   memset(Buffer, 0, 32 * 1024);
 
   Sectors = 32 * 1024 / BootSector->BytesPerSector;
-  for (i = 1; i < RootDirSectors; i += Sectors)
+  for (i = 0; i < RootDirSectors; i += Sectors)
     {
       /* Zero some sectors of the root directory */
       FileOffset.QuadPart = (FirstRootDirSector + i) * BootSector->BytesPerSector;
CVSspam 0.2.8