Changes in uspace/app/mkmfs/mkmfs.c [0395a7b:88ab6e9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/mkmfs/mkmfs.c
r0395a7b r88ab6e9 209 209 } 210 210 211 rc = block_init( EXCHANGE_SERIALIZE,service_id, 2048);211 rc = block_init(service_id, 2048); 212 212 if (rc != EOK) { 213 213 printf(NAME ": Error initializing libblock.\n"); … … 640 640 zbmap_buf = malloc(zbmap_nblocks * sb->block_size); 641 641 642 if (!ibmap_buf || !zbmap_buf) 643 return ENOMEM; 642 if (!ibmap_buf || !zbmap_buf) { 643 rc = ENOMEM; 644 goto exit; 645 } 644 646 645 647 memset(ibmap_buf, 0xFF, ibmap_nblocks * sb->block_size); … … 671 673 } 672 674 675 exit: 673 676 free(ibmap_buf); 674 677 free(zbmap_buf);
Note:
See TracChangeset
for help on using the changeset viewer.