Changeset 30785f1 in mainline


Ignore:
Timestamp:
2018-10-07T17:25:01Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ee9c703
Parents:
0bd66f5
Message:

Handle errors returned by loc_service_add_to_cat()

File:
1 edited

Legend:

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

    r0bd66f5 r30785f1  
    357357
    358358        rc = loc_category_get_id(cat_name, &cat_id, IPC_FLAG_BLOCKING);
     359        if (rc == EOK)
     360                rc = loc_service_add_to_cat(fun->service_id, cat_id);
    359361        if (rc == EOK) {
    360                 loc_service_add_to_cat(fun->service_id, cat_id);
    361362                log_msg(LOG_DEFAULT, LVL_NOTE, "Function `%s' added to category `%s'.",
    362363                    fun->pathname, cat_name);
Note: See TracChangeset for help on using the changeset viewer.