Changeset 05ffb41 in mainline for kernel/generic/src/ipc/ops/stchngath.c
- Timestamp:
- 2017-08-17T19:11:14Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1c85bae
- Parents:
- 7e3826d9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/ops/stchngath.c
r7e3826d9 r05ffb41 43 43 static int request_preprocess(call_t *call, phone_t *phone) 44 44 { 45 phone_t *sender_phone;46 45 task_t *other_task_s; 47 46 48 if (phone_get(IPC_GET_ARG5(call->data), &sender_phone) != EOK) 47 phone_t *sender_phone = phone_get_current(IPC_GET_ARG5(call->data)); 48 if (!sender_phone) 49 49 return ENOENT; 50 50 … … 75 75 task_t *other_task_r; 76 76 77 rc = phone_get(IPC_GET_ARG1(answer->data), 78 &recipient_phone); 79 if (rc != EOK) { 77 recipient_phone = phone_get_current(IPC_GET_ARG1(answer->data)); 78 if (!recipient_phone) { 80 79 IPC_SET_RETVAL(answer->data, ENOENT); 81 80 return ENOENT;
Note:
See TracChangeset
for help on using the changeset viewer.