diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2004-07-18 09:26:34 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2004-07-18 09:26:34 +0000 |
commit | 85955763051e72f86391c0a9ca1ce1c12ef93a34 (patch) | |
tree | 994de413a5952f5aabff37cf3f7fb5ad5679f053 /sys/compat | |
parent | 011bdc845d0f941994d935075062812df92fb535 (diff) | |
download | FreeBSD-src-85955763051e72f86391c0a9ca1ce1c12ef93a34.zip FreeBSD-src-85955763051e72f86391c0a9ca1ce1c12ef93a34.tar.gz |
I missed two pieces of the commit to this file. Robert has already
added one, this adds the other.
Diffstat (limited to 'sys/compat')
-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))) |