summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/compat/svr4/svr4_stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/svr4/svr4_stream.c b/sys/compat/svr4/svr4_stream.c
index 1a38717..e204f60 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);
}
OpenPOWER on IntegriCloud