From 606ea367aee6e42c3e2ef3e78e6a2c9450ca0733 Mon Sep 17 00:00:00 2001 From: rwatson Date: Sun, 18 Jul 2004 04:09:40 +0000 Subject: [PATCH] Remove 'sg' argument to linux_sendto_hdrincl, which is what I think was intended. This fixes the build, but might require revision. --- sys/compat/linux/linux_socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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