reactos/lib/fslib/vfatlib
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
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;