aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2004-07-18 04:09:40 +0000
committerRobert Watson <rwatson@FreeBSD.org>2004-07-18 04:09:40 +0000
commit38da2381cd9c46a619bc70f7d86ac68c46eeeb33 (patch)
tree966abf8df6b79e837831cd1883673f9b5ba4e7f2
parent1c325cb9dc27ec73f065f9b2ce01ee2a5ad0c132 (diff)
downloadsrc-38da2381cd9c46a619bc70f7d86ac68c46eeeb33.tar.gz
src-38da2381cd9c46a619bc70f7d86ac68c46eeeb33.zip
Remove 'sg' argument to linux_sendto_hdrincl, which is what I think was
intended. This fixes the build, but might require revision.
Notes
Notes: svn path=/head/; revision=132331
-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 85c71a656340..d108d0d3f9f1 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