Ignore:
File:
1 edited

Legend:

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

    r655cc56 r80a96d2  
    490490        if (rc == EOK) {
    491491                loc_service_add_to_cat(fun->service_id, cat_id);
    492                 log_msg(LVL_NOTE, "Function `%s' added to category `%s'.",
    493                     fun->pathname, cat_name);
    494492        } else {
    495493                log_msg(LVL_ERROR, "Failed adding function `%s' to category "
     
    497495        }
    498496       
     497        log_msg(LVL_NOTE, "Function `%s' added to category `%s'.",
     498            fun->pathname, cat_name);
     499
    499500        fibril_rwlock_read_unlock(&device_tree.rwlock);
    500501        fun_del_ref(fun);
    501        
    502         async_answer_0(callid, rc);
     502
     503        async_answer_0(callid, EOK);
    503504}
    504505
     
    634635                                fibril_rwlock_read_unlock(&device_tree.rwlock);
    635636                                dev_del_ref(dev);
    636                                 if (gone_rc == EOK)
    637                                         gone_rc = ENOTSUP;
    638                                 async_answer_0(callid, gone_rc);
    639637                                return;
    640638                        }
Note: See TracChangeset for help on using the changeset viewer.