Changeset 241f1985 in mainline for uspace/srv/locsrv/locsrv.c
- Timestamp:
- 2019-08-31T10:45:17Z (5 years ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/locsrv/locsrv.c
rf92b315 r241f1985 584 584 free(service); 585 585 free(unit_name); 586 async_answer_0(i id, rc);586 async_answer_0(icall, rc); 587 587 return; 588 588 } … … 591 591 sysman_exposee_added(unit_name); 592 592 } else { 593 sysman_main_exposee_added(unit_name, icall-> in_task_id);593 sysman_main_exposee_added(unit_name, icall->task_id); 594 594 } 595 595 free(unit_name); … … 619 619 * 620 620 */ 621 static void loc_service_unregister(ipc_callid_t iid, ipc_call_t *icall, 622 loc_server_t *server) 621 static void loc_service_unregister(ipc_call_t *icall, loc_server_t *server) 623 622 { 624 623 loc_service_t *svc; … … 840 839 fibril_mutex_lock(&services_list_mutex); 841 840 const loc_service_t *svc; 842 int flags = ipc_get_arg1( *icall);841 int flags = ipc_get_arg1(icall); 843 842 bool start_requested = false; 844 843 … … 889 888 finish: 890 889 if (rc == EOK) { 891 async_answer_1(i id, EOK, svc->id);890 async_answer_1(icall, EOK, svc->id); 892 891 } else { 893 async_answer_0(i id, rc);892 async_answer_0(icall, rc); 894 893 } 895 894 … … 1669 1668 if (rc != EOK) { 1670 1669 printf("%s: Error while registering broker service: %s\n", NAME, str_error(rc)); 1670 return rc; 1671 } 1671 1672 1672 1673 /* Let sysman know we are broker */
Note:
See TracChangeset
for help on using the changeset viewer.