summaryrefslogtreecommitdiff
path: root/lib/libpthread/uthread/uthread_getpeername.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/uthread/uthread_getpeername.c')
-rw-r--r--lib/libpthread/uthread/uthread_getpeername.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/uthread/uthread_getpeername.c b/lib/libpthread/uthread/uthread_getpeername.c
index 73c73e23ab7..adb3ab3587b 100644
--- a/lib/libpthread/uthread/uthread_getpeername.c
+++ b/lib/libpthread/uthread/uthread_getpeername.c
@@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: uthread_getpeername.c,v 1.2 1999/01/06 05:29:24 d Exp $
+ * $OpenBSD: uthread_getpeername.c,v 1.3 1999/02/16 16:40:00 deraadt Exp $
*/
#include <sys/types.h>
#include <sys/socket.h>
@@ -38,7 +38,7 @@
#include "pthread_private.h"
int
-getpeername(int fd, struct sockaddr * peer, int *paddrlen)
+getpeername(int fd, struct sockaddr *peer, socklen_t *paddrlen)
{
int ret;