Changeset 207ad8bd in mainline


Ignore:
Timestamp:
2012-02-19T20:32:49Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e15f4d5
Parents:
69c4172
Message:

mkexfat: starts the loop counter from 1, not from zero (the first FAT sector has already been written to disk).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/mkexfat/mkexfat.c

    r69c4172 r207ad8bd  
    204204        pfat[0] = pfat[1] = 0x00000000;
    205205
    206         for (i = 0; i < cfg->fat_sector_count; ++i) {
     206        for (i = 1; i < cfg->fat_sector_count; ++i) {
    207207                rc = block_write_direct(service_id,
    208208                    FAT_SECTOR_START + i + 1, 1, pfat);
Note: See TracChangeset for help on using the changeset viewer.