channel: fix incorrect offset used in channel_write_msg
This commit is contained in:
@@ -362,11 +362,11 @@ extern kern_status_t channel_write_msg(
|
|||||||
|
|
||||||
kern_status_t status = vm_region_memmove_v(
|
kern_status_t status = vm_region_memmove_v(
|
||||||
dest_region,
|
dest_region,
|
||||||
0,
|
offset,
|
||||||
msg->msg_resp.msg_data,
|
msg->msg_resp.msg_data,
|
||||||
msg->msg_resp.msg_data_count,
|
msg->msg_resp.msg_data_count,
|
||||||
src_region,
|
src_region,
|
||||||
offset,
|
0,
|
||||||
src_iov,
|
src_iov,
|
||||||
src_iov_count,
|
src_iov_count,
|
||||||
VM_REGION_COPY_ALL,
|
VM_REGION_COPY_ALL,
|
||||||
|
|||||||
Reference in New Issue
Block a user