diff options
Diffstat (limited to 'sys/compat/linux/linux_socket.c')
-rw-r--r-- | sys/compat/linux/linux_socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_socket.c b/sys/compat/linux/linux_socket.c index d108d0d..9fcbb63 100644 --- a/sys/compat/linux/linux_socket.c +++ b/sys/compat/linux/linux_socket.c @@ -455,7 +455,7 @@ linux_sendto_hdrincl(struct thread *td, struct linux_sendto_args *linux_args) * then use an iovec to glue it to the rest of the user packet * when calling sendit(). */ - packet = (struct ip *)stackgap_alloc(sg, linux_ip_copysize); + packet = (struct ip *)stackgap_alloc(&sg, linux_ip_copysize); /* Make a copy of the beginning of the packet to be sent */ if ((error = copyin(linux_args->msg, packet, linux_ip_copysize))) |