Ignore:
File:
1 edited

Legend:

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

    rb25970f r64f85f5  
    224224        int cur_score;
    225225        link_t *link;
    226         driver_t *drv;
    227226
    228227        fibril_mutex_lock(&drivers_list->drivers_mutex);
     
    231230                cur_score = get_match_score(node->drv, node);
    232231
    233                 link = list_next(&drv->drivers, &drivers_list->drivers);
     232                link = list_next(&node->drv->drivers, &drivers_list->drivers);
    234233
    235234                /*
     
    237236                 */
    238237                while (link != NULL) {
    239                         drv = list_get_instance(link, driver_t, drivers);
     238                        driver_t *drv = list_get_instance(link, driver_t,
     239                            drivers);
    240240                        score = get_match_score(drv, node);
    241241                        if (score == cur_score) {
Note: See TracChangeset for help on using the changeset viewer.