Ignore:
File:
1 edited

Legend:

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

    r64f85f5 rb25970f  
    224224        int cur_score;
    225225        link_t *link;
     226        driver_t *drv;
    226227
    227228        fibril_mutex_lock(&drivers_list->drivers_mutex);
     
    230231                cur_score = get_match_score(node->drv, node);
    231232
    232                 link = list_next(&node->drv->drivers, &drivers_list->drivers);
     233                link = list_next(&drv->drivers, &drivers_list->drivers);
    233234
    234235                /*
     
    236237                 */
    237238                while (link != NULL) {
    238                         driver_t *drv = list_get_instance(link, driver_t,
    239                             drivers);
     239                        drv = list_get_instance(link, driver_t, drivers);
    240240                        score = get_match_score(drv, node);
    241241                        if (score == cur_score) {
Note: See TracChangeset for help on using the changeset viewer.