Changeset 241f1985 in mainline for uspace/srv/locsrv/locsrv.c


Ignore:
Timestamp:
2019-08-31T10:45:17Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
102f641
Parents:
f92b315
git-author:
Matthieu Riolo <matthieu.riolo@…> (2019-08-23 22:04:34)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-31 10:45:17)
Message:

Correcting failure from previous merge

The commits from Michal Koutný from the branch system-daemon
where built on a old version of Helenos. Because of this
many types and API functions have changed. This commit
upgrades the merge code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/locsrv/locsrv.c

    rf92b315 r241f1985  
    584584                free(service);
    585585                free(unit_name);
    586                 async_answer_0(iid, rc);
     586                async_answer_0(icall, rc);
    587587                return;
    588588        }
     
    591591                sysman_exposee_added(unit_name);
    592592        } else {
    593                 sysman_main_exposee_added(unit_name, icall->in_task_id);
     593                sysman_main_exposee_added(unit_name, icall->task_id);
    594594        }
    595595        free(unit_name);
     
    619619 *
    620620 */
    621 static void loc_service_unregister(ipc_callid_t iid, ipc_call_t *icall,
    622     loc_server_t *server)
     621static void loc_service_unregister(ipc_call_t *icall, loc_server_t *server)
    623622{
    624623        loc_service_t *svc;
     
    840839        fibril_mutex_lock(&services_list_mutex);
    841840        const loc_service_t *svc;
    842         int flags = ipc_get_arg1(*icall);
     841        int flags = ipc_get_arg1(icall);
    843842        bool start_requested = false;
    844843       
     
    889888finish:
    890889        if (rc == EOK) {
    891                 async_answer_1(iid, EOK, svc->id);
     890                async_answer_1(icall, EOK, svc->id);
    892891        } else {
    893                 async_answer_0(iid, rc);
     892                async_answer_0(icall, rc);
    894893        }
    895894       
     
    16691668        if (rc != EOK) {
    16701669                printf("%s: Error while registering broker service: %s\n", NAME, str_error(rc));
     1670                return rc;
     1671        }
    16711672
    16721673        /* Let sysman know we are broker */
Note: See TracChangeset for help on using the changeset viewer.