Ignore:
File:
1 edited

Legend:

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

    r88ab6e9 r0395a7b  
    209209        }
    210210
    211         rc = block_init(service_id, 2048);
     211        rc = block_init(EXCHANGE_SERIALIZE, 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                 rc = ENOMEM;
    644                 goto exit;
    645         }
     642        if (!ibmap_buf || !zbmap_buf)
     643                return ENOMEM;
    646644
    647645        memset(ibmap_buf, 0xFF, ibmap_nblocks * sb->block_size);
     
    673671        }
    674672
    675 exit:
    676673        free(ibmap_buf);
    677674        free(zbmap_buf);
Note: See TracChangeset for help on using the changeset viewer.