about summary refs log tree commit diff
path: root/sysdeps/generic/gethostname.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/gethostname.c')
-rw-r--r--sysdeps/generic/gethostname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/gethostname.c b/sysdeps/generic/gethostname.c
index ad09b00827..6c3e1167ab 100644
--- a/sysdeps/generic/gethostname.c
+++ b/sysdeps/generic/gethostname.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996, 1997, 2000 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;
-     size_t len;
+     socklen_t len;
 {
   __set_errno (ENOSYS);
   return -1;