Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/devmap/devmap.c

    r4cac2d69 r1313ee9  
    396396         * Get driver name
    397397         */
    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);
    400399        if (rc != EOK) {
    401400                free(driver);
     
    511510        /* Get fqdn */
    512511        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);
    515513        if (rc != EOK) {
    516514                free(device);
     
    624622       
    625623        /* 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);
    628625        if (rc != EOK) {
    629626                ipc_answer_0(iid, rc);
     
    686683       
    687684        /* 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);
    690686        if (rc != EOK) {
    691687                ipc_answer_0(iid, rc);
Note: See TracChangeset for help on using the changeset viewer.