Changes in uspace/lib/c/generic/loc.c [fafb8e5:2a09dcb] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/loc.c
rfafb8e5 r2a09dcb 153 153 loc_supp_block_sess = 154 154 service_connect_blocking(SERVICE_LOC, 155 INTERFACE_LOC_SUPPLIER, 0 );155 INTERFACE_LOC_SUPPLIER, 0, NULL); 156 156 } 157 157 … … 172 172 loc_cons_block_sess = 173 173 service_connect_blocking(SERVICE_LOC, 174 INTERFACE_LOC_CONSUMER, 0 );174 INTERFACE_LOC_CONSUMER, 0, NULL); 175 175 } 176 176 … … 202 202 loc_supplier_sess = 203 203 service_connect(SERVICE_LOC, 204 INTERFACE_LOC_SUPPLIER, 0 );204 INTERFACE_LOC_SUPPLIER, 0, NULL); 205 205 206 206 fibril_mutex_unlock(&loc_supplier_mutex); … … 216 216 loc_consumer_sess = 217 217 service_connect(SERVICE_LOC, 218 INTERFACE_LOC_CONSUMER, 0 );218 INTERFACE_LOC_CONSUMER, 0, NULL); 219 219 220 220 fibril_mutex_unlock(&loc_consumer_mutex); … … 567 567 568 568 if (flags & IPC_FLAG_BLOCKING) 569 sess = service_connect_blocking(SERVICE_LOC, iface, handle );569 sess = service_connect_blocking(SERVICE_LOC, iface, handle, NULL); 570 570 else 571 sess = service_connect(SERVICE_LOC, iface, handle );571 sess = service_connect(SERVICE_LOC, iface, handle, NULL); 572 572 573 573 return sess; … … 819 819 820 820 alloc_size = act_size; 821 ids = realloc(ids, alloc_size); 822 if (ids == NULL) 821 service_id_t *tmp = realloc(ids, alloc_size); 822 if (tmp == NULL) { 823 free(ids); 823 824 return ENOMEM; 825 } 826 ids = tmp; 824 827 } 825 828
Note:
See TracChangeset
for help on using the changeset viewer.