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