Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/block/libblock.c

    rffa2c8ef r96b02eb9  
    4444#include <sys/mman.h>
    4545#include <async.h>
     46#include <ipc/ipc.h>
    4647#include <as.h>
    4748#include <assert.h>
     
    176177        if (rc != EOK) {
    177178                munmap(comm_area, comm_size);
    178                 async_hangup(dev_phone);
     179                ipc_hangup(dev_phone);
    179180                return rc;
    180181        }
     
    182183        if (get_block_size(dev_phone, &bsize) != EOK) {
    183184                munmap(comm_area, comm_size);
    184                 async_hangup(dev_phone);
     185                ipc_hangup(dev_phone);
    185186                return rc;
    186187        }
     
    189190        if (rc != EOK) {
    190191                munmap(comm_area, comm_size);
    191                 async_hangup(dev_phone);
     192                ipc_hangup(dev_phone);
    192193                return rc;
    193194        }
     
    210211
    211212        munmap(devcon->comm_area, devcon->comm_size);
    212         async_hangup(devcon->dev_phone);
     213        ipc_hangup(devcon->dev_phone);
    213214
    214215        free(devcon);   
Note: See TracChangeset for help on using the changeset viewer.