Changes in uspace/srv/loader/main.c [1569a9b:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/loader/main.c
r1569a9b rb7fd2a0 119 119 { 120 120 char *buf; 121 int rc = async_data_write_accept((void **) &buf, true, 0, 0, 0, NULL);121 errno_t rc = async_data_write_accept((void **) &buf, true, 0, 0, 0, NULL); 122 122 123 123 if (rc == EOK) { … … 146 146 147 147 char* name = malloc(namesize); 148 int rc = async_data_write_finalize(writeid, name, namesize);148 errno_t rc = async_data_write_finalize(writeid, name, namesize); 149 149 if (rc != EOK) { 150 150 async_answer_0(rid, EINVAL); … … 173 173 char *buf; 174 174 size_t buf_size; 175 int rc = async_data_write_accept((void **) &buf, true, 0, 0, 0, &buf_size);175 errno_t rc = async_data_write_accept((void **) &buf, true, 0, 0, 0, &buf_size); 176 176 177 177 if (rc == EOK) { … … 249 249 250 250 char* name = malloc(namesize); 251 int rc = async_data_write_finalize(writeid, name, namesize);251 errno_t rc = async_data_write_finalize(writeid, name, namesize); 252 252 if (rc != EOK) { 253 253 async_answer_0(rid, EINVAL); … … 349 349 350 350 while (true) { 351 int retval;351 errno_t retval; 352 352 ipc_call_t call; 353 353 ipc_callid_t callid = async_get_call(&call); … … 395 395 /* Introduce this task to the NS (give it our task ID). */ 396 396 task_id_t id = task_get_id(); 397 int rc = ns_intro(id);397 errno_t rc = ns_intro(id); 398 398 if (rc != EOK) 399 399 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.