Changes in uspace/srv/devmap/devmap.c [4cac2d69:1313ee9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devmap/devmap.c
r4cac2d69 r1313ee9 396 396 * Get driver name 397 397 */ 398 int rc = async_data_write_accept((void **) &driver->name, true, 0, 399 DEVMAP_NAME_MAXLEN, 0, NULL); 398 int rc = async_data_string_receive(&driver->name, DEVMAP_NAME_MAXLEN); 400 399 if (rc != EOK) { 401 400 free(driver); … … 511 510 /* Get fqdn */ 512 511 char *fqdn; 513 int rc = async_data_write_accept((void **) &fqdn, true, 0, 514 DEVMAP_NAME_MAXLEN, 0, NULL); 512 int rc = async_data_string_receive(&fqdn, DEVMAP_NAME_MAXLEN); 515 513 if (rc != EOK) { 516 514 free(device); … … 624 622 625 623 /* Get fqdn */ 626 int rc = async_data_write_accept((void **) &fqdn, true, 0, 627 DEVMAP_NAME_MAXLEN, 0, NULL); 624 int rc = async_data_string_receive(&fqdn, DEVMAP_NAME_MAXLEN); 628 625 if (rc != EOK) { 629 626 ipc_answer_0(iid, rc); … … 686 683 687 684 /* Get device name */ 688 int rc = async_data_write_accept((void **) &name, true, 0, 689 DEVMAP_NAME_MAXLEN, 0, NULL); 685 int rc = async_data_string_receive(&name, DEVMAP_NAME_MAXLEN); 690 686 if (rc != EOK) { 691 687 ipc_answer_0(iid, rc);
Note:
See TracChangeset
for help on using the changeset viewer.