diff options
| author | David Malone <dwmalone@FreeBSD.org> | 2004-07-18 09:26:34 +0000 |
|---|---|---|
| committer | David Malone <dwmalone@FreeBSD.org> | 2004-07-18 09:26:34 +0000 |
| commit | fb75797e40b0159132f399af4589ab91390cd893 (patch) | |
| tree | 994de413a5952f5aabff37cf3f7fb5ad5679f053 /sys/compat/linux/linux_socket.c | |
| parent | 587d5fc63b5ff4d566419b897a56b2fff92dfd34 (diff) | |
Notes
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 d108d0d3f9f1..9fcbb632a73d 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))) |
