Ignore:
File:
1 edited

Legend:

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

    r0395a7b r88ab6e9  
    209209        }
    210210
    211         rc = block_init(EXCHANGE_SERIALIZE, service_id, 2048);
     211        rc = block_init(service_id, 2048);
    212212        if (rc != EOK)  {
    213213                printf(NAME ": Error initializing libblock.\n");
     
    640640        zbmap_buf = malloc(zbmap_nblocks * sb->block_size);
    641641
    642         if (!ibmap_buf || !zbmap_buf)
    643                 return ENOMEM;
     642        if (!ibmap_buf || !zbmap_buf) {
     643                rc = ENOMEM;
     644                goto exit;
     645        }
    644646
    645647        memset(ibmap_buf, 0xFF, ibmap_nblocks * sb->block_size);
     
    671673        }
    672674
     675exit:
    673676        free(ibmap_buf);
    674677        free(zbmap_buf);
Note: See TracChangeset for help on using the changeset viewer.