From bb25b2dda9fbe5c2c9da87829cda6215d1541f6c Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Mon, 23 Sep 2002 21:05:41 +0000 Subject: Ok, make this compile for real this time. recvfrom_args doesn't have a fromlen member, instead it has a fromlenaddr pointer member. Set it to NULL. --- sys/compat/svr4/svr4_stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/compat/svr4/svr4_stream.c b/sys/compat/svr4/svr4_stream.c index 1a3871737453e..e204f6014c5b8 100644 --- a/sys/compat/svr4/svr4_stream.c +++ b/sys/compat/svr4/svr4_stream.c @@ -2274,7 +2274,7 @@ int svr4_sys_recv(td, uap) SCARG(&ora, len) = SCARG(uap, len); SCARG(&ora, flags) = SCARG(uap, flags); SCARG(&ora, from) = NULL; - SCARG(&ora, fromlen) = 0; + SCARG(&ora, fromlenaddr) = NULL; return recvfrom(td, &ora); } -- cgit v1.3