Changeset 03936831 in mainline for uspace/app/mkmfs/mkmfs.c
- Timestamp:
- 2017-10-20T09:16:55Z (8 years ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/mkmfs/mkmfs.c
rfe1c48d r03936831 348 348 unsigned int i; 349 349 uint8_t *itable_buf; 350 int rc ;350 int rc = EOK; 351 351 352 352 long itable_off = sb->zbmap_blocks + sb->ibmap_blocks + 2; … … 633 633 const unsigned int zbmap_nblocks = sb->zbmap_blocks; 634 634 unsigned int i; 635 int rc ;635 int rc = EOK; 636 636 637 637 ibmap_buf = malloc(ibmap_nblocks * sb->block_size); … … 660 660 if ((rc = write_block(start_block + i, 661 661 1, (ibmap_buf8 + i * sb->block_size))) != EOK) 662 return rc;662 goto exit; 663 663 } 664 664 … … 668 668 if ((rc = write_block(start_block + i, 669 669 1, (zbmap_buf8 + i * sb->block_size))) != EOK) 670 return rc;670 goto exit; 671 671 } 672 672
Note:
See TracChangeset
for help on using the changeset viewer.