summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-09-23 21:05:41 +0000
committerjhb <jhb@FreeBSD.org>2002-09-23 21:05:41 +0000
commitfa58184de84e5e09980e75a76e01f4f6c1915d74 (patch)
tree94f068d7ba5743d03b033f776a84fcef1399ae3a
parent2a11973f91c0eefd815d22b82f8e8e5f9d75e2ec (diff)
downloadFreeBSD-src-fa58184de84e5e09980e75a76e01f4f6c1915d74.zip
FreeBSD-src-fa58184de84e5e09980e75a76e01f4f6c1915d74.tar.gz
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.
-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