Changeset 03936831 in mainline for uspace/app/mkmfs/mkmfs.c


Ignore:
Timestamp:
2017-10-20T09:16:55Z (7 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1252e81
Parents:
fe1c48d (diff), 04efacc (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline to fix build

File:
1 edited

Legend:

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

    rfe1c48d r03936831  
    348348        unsigned int i;
    349349        uint8_t *itable_buf;
    350         int rc;
     350        int rc = EOK;
    351351
    352352        long itable_off = sb->zbmap_blocks + sb->ibmap_blocks + 2;
     
    633633        const unsigned int zbmap_nblocks = sb->zbmap_blocks;
    634634        unsigned int i;
    635         int rc;
     635        int rc = EOK;
    636636
    637637        ibmap_buf = malloc(ibmap_nblocks * sb->block_size);
     
    660660                if ((rc = write_block(start_block + i,
    661661                    1, (ibmap_buf8 + i * sb->block_size))) != EOK)
    662                         return rc;
     662                        goto exit;
    663663        }
    664664
     
    668668                if ((rc = write_block(start_block + i,
    669669                    1, (zbmap_buf8 + i * sb->block_size))) != EOK)
    670                         return rc;
     670                        goto exit;
    671671        }
    672672
Note: See TracChangeset for help on using the changeset viewer.