Changeset 2601383 in mainline


Ignore:
Timestamp:
2012-02-28T19:50:42Z (12 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b6eb5da
Parents:
d7f09583
Message:

mkexfat: fix comment, code cleaning

File:
1 edited

Legend:

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

    rd7f09583 r2601383  
    375375        vbr_checksum_update(ebs, cfg->sector_size, chksum);
    376376
    377         rc = block_write_direct(service_id, i++ + base, 1, ebs);
     377        rc = block_write_direct(service_id, i + base, 1, ebs);
    378378        if (rc != EOK)
    379379                goto exit;
     
    458458        if (cur_cls == fat_entries) {
    459459                /* This sector is full, there are no more free entries,
    460                  * read the next sector and restart the search.
     460                 * commit the changes to disk and restart from the next
     461                 * sector.
    461462                 */
    462463                rc = block_write_direct(service_id, fat_sec++, 1, fat);
Note: See TracChangeset for help on using the changeset viewer.