diff --git a/kernel/channel.c b/kernel/channel.c index a8a022c..4fa349e 100644 --- a/kernel/channel.c +++ b/kernel/channel.c @@ -362,11 +362,11 @@ extern kern_status_t channel_write_msg( kern_status_t status = vm_region_memmove_v( dest_region, - 0, + offset, msg->msg_resp.msg_data, msg->msg_resp.msg_data_count, src_region, - offset, + 0, src_iov, src_iov_count, VM_REGION_COPY_ALL,