Changes in uspace/srv/loader/main.c [b4cbef1:19f857a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/loader/main.c
rb4cbef1 r19f857a 58 58 #include <errno.h> 59 59 #include <async.h> 60 #include <str ing.h>60 #include <str.h> 61 61 #include <as.h> 62 62 … … 126 126 { 127 127 char *buf; 128 int rc = async_ string_receive(&buf, 0, NULL);128 int rc = async_data_write_accept((void **) &buf, true, 0, 0, 0, NULL); 129 129 130 130 if (rc == EOK) { … … 146 146 { 147 147 char *buf; 148 int rc = async_ string_receive(&buf, 0, NULL);148 int rc = async_data_write_accept((void **) &buf, true, 0, 0, 0, NULL); 149 149 150 150 if (rc == EOK) { … … 167 167 char *buf; 168 168 size_t buf_size; 169 int rc = async_ string_receive(&buf, 0, &buf_size);169 int rc = async_data_write_accept((void **) &buf, true, 0, 0, 0, &buf_size); 170 170 171 171 if (rc == EOK) { … … 232 232 fdi_node_t *buf; 233 233 size_t buf_size; 234 int rc = async_data_receive(&buf, 0, 0, sizeof(fdi_node_t), &buf_size); 234 int rc = async_data_write_accept((void **) &buf, false, 0, 0, 235 sizeof(fdi_node_t), &buf_size); 235 236 236 237 if (rc == EOK) { … … 240 241 * Allocate new filv 241 242 */ 242 fdi_node_t **_filv = (fdi_node_t * ) malloc((count + 1) *sizeof(fdi_node_t *));243 fdi_node_t **_filv = (fdi_node_t **) calloc(count + 1, sizeof(fdi_node_t *)); 243 244 if (_filv == NULL) { 244 245 free(buf);
Note:
See TracChangeset
for help on using the changeset viewer.