summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-07-18 04:09:40 +0000
committerrwatson <rwatson@FreeBSD.org>2004-07-18 04:09:40 +0000
commit606ea367aee6e42c3e2ef3e78e6a2c9450ca0733 (patch)
tree966abf8df6b79e837831cd1883673f9b5ba4e7f2 /sys/compat
parente3eb70b7d73247a470796a74f82d86fe2345fc30 (diff)
downloadFreeBSD-src-606ea367aee6e42c3e2ef3e78e6a2c9450ca0733.zip
FreeBSD-src-606ea367aee6e42c3e2ef3e78e6a2c9450ca0733.tar.gz
Remove 'sg' argument to linux_sendto_hdrincl, which is what I think was
intended. This fixes the build, but might require revision.
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/linux/linux_socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_socket.c b/sys/compat/linux/linux_socket.c
index 85c71a6..d108d0d 100644
--- a/sys/compat/linux/linux_socket.c
+++ b/sys/compat/linux/linux_socket.c
@@ -429,7 +429,7 @@ struct linux_sendto_args {
* tweak endian-dependent fields in the IP packet.
*/
static int
-linux_sendto_hdrincl(struct thread *td, caddr_t *sg, struct linux_sendto_args *linux_args)
+linux_sendto_hdrincl(struct thread *td, struct linux_sendto_args *linux_args)
{
/*
* linux_ip_copysize defines how many bytes we should copy
OpenPOWER on IntegriCloud