diff options
Diffstat (limited to 'sysdeps/unix/sysv/gethostname.c')
-rw-r--r-- | sysdeps/unix/sysv/gethostname.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/gethostname.c b/sysdeps/unix/sysv/gethostname.c index 706564957d..2eb8dcfe9c 100644 --- a/sysdeps/unix/sysv/gethostname.c +++ b/sysdeps/unix/sysv/gethostname.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992, 1995, 1997, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1992, 1995, 1997, 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -27,7 +27,7 @@ int __gethostname (name, len) char *name; - socklen_t len; + size_t len; { struct utsname buf; size_t node_len; |