Changes in uspace/app/mkmfs/mkmfs.c [7354b5e:04efacc] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/mkmfs/mkmfs.c
r7354b5e r04efacc 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.