Changes in uspace/lib/block/libblock.c [ffa2c8ef:96b02eb9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/block/libblock.c
rffa2c8ef r96b02eb9 44 44 #include <sys/mman.h> 45 45 #include <async.h> 46 #include <ipc/ipc.h> 46 47 #include <as.h> 47 48 #include <assert.h> … … 176 177 if (rc != EOK) { 177 178 munmap(comm_area, comm_size); 178 async_hangup(dev_phone);179 ipc_hangup(dev_phone); 179 180 return rc; 180 181 } … … 182 183 if (get_block_size(dev_phone, &bsize) != EOK) { 183 184 munmap(comm_area, comm_size); 184 async_hangup(dev_phone);185 ipc_hangup(dev_phone); 185 186 return rc; 186 187 } … … 189 190 if (rc != EOK) { 190 191 munmap(comm_area, comm_size); 191 async_hangup(dev_phone);192 ipc_hangup(dev_phone); 192 193 return rc; 193 194 } … … 210 211 211 212 munmap(devcon->comm_area, devcon->comm_size); 212 async_hangup(devcon->dev_phone);213 ipc_hangup(devcon->dev_phone); 213 214 214 215 free(devcon);
Note:
See TracChangeset
for help on using the changeset viewer.