summaryrefslogtreecommitdiffstats
path: root/lib/libc_r
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1999-02-16 16:41:13 +0000
committermillert <millert@openbsd.org>1999-02-16 16:41:13 +0000
commit71a09caa6f4fd15acccd25c0bea48b901cddef40 (patch)
tree3a1992a25e059a6f997c349d383b4737454b94f8 /lib/libc_r
parentdeal with socklen_t (diff)
downloadwireguard-openbsd-71a09caa6f4fd15acccd25c0bea48b901cddef40.tar.xz
wireguard-openbsd-71a09caa6f4fd15acccd25c0bea48b901cddef40.zip
deal with socklen_t
Diffstat (limited to 'lib/libc_r')
-rw-r--r--lib/libc_r/uthread/uthread_sendto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc_r/uthread/uthread_sendto.c b/lib/libc_r/uthread/uthread_sendto.c
index 306ffbfca74..8eacbd509d9 100644
--- a/lib/libc_r/uthread/uthread_sendto.c
+++ b/lib/libc_r/uthread/uthread_sendto.c
@@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: uthread_sendto.c,v 1.2 1999/01/06 05:29:26 d Exp $
+ * $OpenBSD: uthread_sendto.c,v 1.3 1999/02/16 16:41:13 millert Exp $
*/
#include <errno.h>
#include <sys/types.h>
@@ -40,7 +40,7 @@
#include "pthread_private.h"
ssize_t
-sendto(int fd, const void *msg, size_t len, int flags, const struct sockaddr * to, int to_len)
+sendto(int fd, const void *msg, size_t len, int flags, const struct sockaddr *to, socklen_t to_len)
{
int ret;