Changeset eb13ef8 in mainline for uspace/lib/c/generic/inetcfg.c
- Timestamp:
- 2019-02-06T13:25:12Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fafb8e5
- Parents:
- bb97118
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-02 14:04:02)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-06 13:25:12)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/inetcfg.c
rbb97118 reb13ef8 62 62 } 63 63 64 *act_size = IPC_GET_ARG1( answer);64 *act_size = IPC_GET_ARG1(&answer); 65 65 return EOK; 66 66 } … … 161 161 async_wait_for(req, &retval); 162 162 163 *addr_id = IPC_GET_ARG1( answer);163 *addr_id = IPC_GET_ARG1(&answer); 164 164 165 165 return retval; … … 217 217 return retval; 218 218 219 size_t act_size = IPC_GET_ARG2( answer_name);219 size_t act_size = IPC_GET_ARG2(&answer_name); 220 220 assert(act_size <= LOC_NAME_MAXLEN); 221 221 222 222 name_buf[act_size] = '\0'; 223 223 224 ainfo->ilink = IPC_GET_ARG1( answer);224 ainfo->ilink = IPC_GET_ARG1(&answer); 225 225 ainfo->name = str_dup(name_buf); 226 226 … … 244 244 245 245 async_wait_for(req, &retval); 246 *addr_id = IPC_GET_ARG1( answer);246 *addr_id = IPC_GET_ARG1(&answer); 247 247 248 248 return retval; … … 305 305 return retval; 306 306 307 act_size = IPC_GET_ARG2( dreply);307 act_size = IPC_GET_ARG2(&dreply); 308 308 assert(act_size <= LOC_NAME_MAXLEN); 309 309 name_buf[act_size] = '\0'; 310 310 311 311 linfo->name = str_dup(name_buf); 312 linfo->def_mtu = IPC_GET_ARG1( answer);312 linfo->def_mtu = IPC_GET_ARG1(&answer); 313 313 314 314 return EOK; … … 359 359 async_wait_for(req, &retval); 360 360 361 *sroute_id = IPC_GET_ARG1( answer);361 *sroute_id = IPC_GET_ARG1(&answer); 362 362 363 363 return retval; … … 428 428 return retval; 429 429 430 size_t act_size = IPC_GET_ARG2( answer_name);430 size_t act_size = IPC_GET_ARG2(&answer_name); 431 431 assert(act_size <= LOC_NAME_MAXLEN); 432 432 … … 454 454 455 455 async_wait_for(req, &retval); 456 *sroute_id = IPC_GET_ARG1( answer);456 *sroute_id = IPC_GET_ARG1(&answer); 457 457 458 458 return retval;
Note:
See TracChangeset
for help on using the changeset viewer.