Rev 2666 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2666 | Rev 2676 | ||
---|---|---|---|
Line 71... | Line 71... | ||
71 | ipc_callid_t callid; |
71 | ipc_callid_t callid; |
72 | int res; |
72 | int res; |
73 | if (read) |
73 | if (read) |
74 | res = ipc_data_read_receive(&callid, NULL); |
74 | res = ipc_data_read_receive(&callid, NULL); |
75 | else |
75 | else |
76 | res = ipc_data_write_receive(&callid, NULL, NULL); |
76 | res = ipc_data_write_receive(&callid, NULL); |
77 | if (!res) { |
77 | if (!res) { |
78 | ipc_answer_0(callid, EINVAL); |
78 | ipc_answer_0(callid, EINVAL); |
79 | ipc_answer_0(rid, EINVAL); |
79 | ipc_answer_0(rid, EINVAL); |
80 | return; |
80 | return; |
81 | } |
81 | } |