Changeset 7a34efde in mainline


Ignore:
Timestamp:
2011-03-09T22:59:43Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
197b671
Parents:
c4c7f5a
Message:

User convert_1k_off macro

File:
1 edited

Legend:

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

    rc4c7f5a r7a34efde  
    278278        void *root_block;
    279279        int rc;
    280         const long root_dblock = sb->first_data_zone * (sb->block_size / MFS_MIN_BLOCKSIZE);
     280        const long root_dblock = CONVERT_1K_OFF(sb->first_data_zone, sb->block_size);
    281281
    282282        root_block = (void *) malloc(MFS_MIN_BLOCKSIZE);
Note: See TracChangeset for help on using the changeset viewer.