Ignore:
File:
1 edited

Legend:

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

    r0d6915f r7e752b2  
    643643       
    644644        /* Send the device to the driver. */
    645         devman_handle_t parent_handle;
    646         if (node->parent) {
    647                 parent_handle = node->parent->handle;
    648         } else {
    649                 parent_handle = 0;
    650         }
    651         aid_t req = async_send_2(phone, DRIVER_ADD_DEVICE, node->handle,
    652             parent_handle, &answer);
     645        aid_t req = async_send_1(phone, DRIVER_ADD_DEVICE, node->handle,
     646            &answer);
    653647       
    654648        /* Send the device's name to the driver. */
     
    10201014       
    10211015        size_t idx = get_new_class_dev_idx(cl);
    1022         asprintf(&dev_name, "%s%d", base_name, idx);
     1016        asprintf(&dev_name, "%s%zu", base_name, idx);
    10231017       
    10241018        return dev_name;
Note: See TracChangeset for help on using the changeset viewer.