Ignore:
File:
1 edited

Legend:

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

    r59dc181 rb7fd2a0  
    127127
    128128/** Get list of device functions. */
    129 int dev_get_functions(dev_tree_t *tree, dev_node_t *dev,
     129errno_t dev_get_functions(dev_tree_t *tree, dev_node_t *dev,
    130130    devman_handle_t *hdl_buf, size_t buf_size, size_t *act_size)
    131131{
     
    144144
    145145        size_t pos = 0;
    146         list_foreach(dev->functions, item) {
    147                 fun_node_t *fun =
    148                     list_get_instance(item, fun_node_t, dev_functions);
    149 
     146        list_foreach(dev->functions, dev_functions, fun_node_t, fun) {
    150147                if (pos < buf_cnt) {
    151148                        hdl_buf[pos] = fun->handle;
Note: See TracChangeset for help on using the changeset viewer.