Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ipc/ops/concttome.c

    rb7fd2a0 r48bcf49  
    4242static int request_process(call_t *call, answerbox_t *box)
    4343{
    44         cap_handle_t phone_handle;
    45         errno_t rc = phone_alloc(TASK, &phone_handle);
    46         IPC_SET_ARG5(call->data, (rc == EOK) ? phone_handle : -1);
    47         return 0;
     44        cap_handle_t phone_handle = phone_alloc(TASK);
     45
     46        IPC_SET_ARG5(call->data, phone_handle);
     47       
     48        return EOK;
    4849}
    4950
    50 static errno_t answer_cleanup(call_t *answer, ipc_data_t *olddata)
     51static int answer_cleanup(call_t *answer, ipc_data_t *olddata)
    5152{
    5253        cap_handle_t phone_handle = (cap_handle_t) IPC_GET_ARG5(*olddata);
     
    5859}
    5960
    60 static errno_t answer_preprocess(call_t *answer, ipc_data_t *olddata)
     61static int answer_preprocess(call_t *answer, ipc_data_t *olddata)
    6162{
    6263        cap_handle_t phone_handle = (cap_handle_t) IPC_GET_ARG5(*olddata);
Note: See TracChangeset for help on using the changeset viewer.