Ignore:
File:
1 edited

Legend:

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

    r80a96d2 r655cc56  
    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);
    492494        } else {
    493495                log_msg(LVL_ERROR, "Failed adding function `%s' to category "
     
    495497        }
    496498       
    497         log_msg(LVL_NOTE, "Function `%s' added to category `%s'.",
    498             fun->pathname, cat_name);
    499 
    500499        fibril_rwlock_read_unlock(&device_tree.rwlock);
    501500        fun_del_ref(fun);
    502 
    503         async_answer_0(callid, EOK);
     501       
     502        async_answer_0(callid, rc);
    504503}
    505504
     
    635634                                fibril_rwlock_read_unlock(&device_tree.rwlock);
    636635                                dev_del_ref(dev);
     636                                if (gone_rc == EOK)
     637                                        gone_rc = ENOTSUP;
     638                                async_answer_0(callid, gone_rc);
    637639                                return;
    638640                        }
Note: See TracChangeset for help on using the changeset viewer.