about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/gethostname.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/gethostname.c')
-rw-r--r--sysdeps/mach/hurd/gethostname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/gethostname.c b/sysdeps/mach/hurd/gethostname.c
index b74945ba79..4b7a61c95f 100644
--- a/sysdeps/mach/hurd/gethostname.c
+++ b/sysdeps/mach/hurd/gethostname.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1991-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
@@ -25,7 +25,7 @@
 int
 __gethostname (name, len)
      char *name;
-     socklen_t len;
+     size_t len;
 {
   /* The host name is just the contents of the file /etc/hostname.  */
   ssize_t n = _hurd_get_host_config ("/etc/hostname", name, len);