Changes in uspace/srv/devman/devman.c [0d6915f:7e752b2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/devman.c
r0d6915f r7e752b2 643 643 644 644 /* 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); 653 647 654 648 /* Send the device's name to the driver. */ … … 1020 1014 1021 1015 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); 1023 1017 1024 1018 return dev_name;
Note:
See TracChangeset
for help on using the changeset viewer.