Changes in uspace/app/mkmfs/mkmfs.c [88ab6e9:0395a7b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/mkmfs/mkmfs.c
r88ab6e9 r0395a7b 209 209 } 210 210 211 rc = block_init( service_id, 2048);211 rc = block_init(EXCHANGE_SERIALIZE, 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 rc = ENOMEM; 644 goto exit; 645 } 642 if (!ibmap_buf || !zbmap_buf) 643 return ENOMEM; 646 644 647 645 memset(ibmap_buf, 0xFF, ibmap_nblocks * sb->block_size); … … 673 671 } 674 672 675 exit:676 673 free(ibmap_buf); 677 674 free(zbmap_buf);
Note:
See TracChangeset
for help on using the changeset viewer.