aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/sysv4
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/sysv4')
-rw-r--r--sysdeps/unix/sysv/sysv4/gethostname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/sysv4/gethostname.c b/sysdeps/unix/sysv/sysv4/gethostname.c
index 3f967e15d4..1a1440f079 100644
--- a/sysdeps/unix/sysv/sysv4/gethostname.c
+++ b/sysdeps/unix/sysv/sysv4/gethostname.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1995, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995, 1997, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Brendan Kehoe (brendan@zen.org).
@@ -27,7 +27,7 @@ extern int __sysinfo (int command, char *buf, long int count);
int
__gethostname (name, namelen)
char *name;
- socklen_t namelen;
+ size_t namelen;
{
return __sysinfo (SI_HOSTNAME, name, namelen);
}