Changeset 69c4172 in mainline for uspace/app/mkexfat/mkexfat.c
- Timestamp:
- 2012-02-19T20:30:56Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 207ad8bd
- Parents:
- 50e754e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/mkexfat/mkexfat.c
r50e754e r69c4172 204 204 pfat[0] = pfat[1] = 0x00000000; 205 205 206 for (i = FAT_SECTOR_START + 1; i < cfg->fat_sector_count; ++i) { 207 rc = block_write_direct(service_id, i, 1, pfat); 206 for (i = 0; i < cfg->fat_sector_count; ++i) { 207 rc = block_write_direct(service_id, 208 FAT_SECTOR_START + i + 1, 1, pfat); 208 209 if (rc != EOK) 209 210 goto error;
Note:
See TracChangeset
for help on using the changeset viewer.