summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1999-02-15 19:27:49 +0000
committermillert <millert@openbsd.org>1999-02-15 19:27:49 +0000
commit270f92cd0569d64459b4d44beefd70d56e655026 (patch)
tree881cfcca63b5b69250322589633b5c47589472db
parentmore uses of socklen_t (diff)
downloadwireguard-openbsd-270f92cd0569d64459b4d44beefd70d56e655026.tar.xz
wireguard-openbsd-270f92cd0569d64459b4d44beefd70d56e655026.zip
pasto
-rw-r--r--sys/sys/socket.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/socket.h b/sys/sys/socket.h
index 012174f7bfd..27f497f4521 100644
--- a/sys/sys/socket.h
+++ b/sys/sys/socket.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: socket.h,v 1.23 1999/02/15 19:15:38 millert Exp $ */
+/* $OpenBSD: socket.h,v 1.24 1999/02/15 19:27:49 millert Exp $ */
/* $NetBSD: socket.h,v 1.14 1996/02/09 18:25:36 christos Exp $ */
/*
@@ -288,11 +288,11 @@ struct sockcred {
*/
struct msghdr {
caddr_t msg_name; /* optional address */
- msg_namelen msg_namelen; /* size of address */
+ socklen_t msg_namelen; /* size of address */
struct iovec *msg_iov; /* scatter/gather array */
u_int msg_iovlen; /* # elements in msg_iov */
caddr_t msg_control; /* ancillary data, see below */
- msg_namelen msg_controllen; /* ancillary data buffer len */
+ socklen_t msg_controllen; /* ancillary data buffer len */
int msg_flags; /* flags on received message */
};