Changeset f8973122 in mainline


Ignore:
Timestamp:
2012-02-18T19:53:40Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6cf9aeb
Parents:
5dbd696
Message:

mkexfat: move volume_start field initialization to the appropriate place.

File:
1 edited

Legend:

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

    r5dbd696 rf8973122  
    108108        fat_bytes = (cfg->total_clusters + 1) * 4;
    109109        cfg->fat_sector_count = div_round_up(fat_bytes, cfg->sector_size);
     110
     111        /* The first sector of the partition is zero */
     112        cfg->volume_start = 0;
    110113}
    111114
     
    175178        }
    176179
    177         /* The fist sector of the partition is zero */
    178         cfg.volume_start = 0;
    179 
    180180        /* TODO: Add parameters */
    181181
Note: See TracChangeset for help on using the changeset viewer.