diff options
Diffstat (limited to 'sysdeps/mach/hurd/sethostname.c')
-rw-r--r-- | sysdeps/mach/hurd/sethostname.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/mach/hurd/sethostname.c b/sysdeps/mach/hurd/sethostname.c index 21b64e9686..cbb507fd0b 100644 --- a/sysdeps/mach/hurd/sethostname.c +++ b/sysdeps/mach/hurd/sethostname.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2015 Free Software Foundation, Inc. +/* Copyright (C) 1991-2016 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 @@ -22,9 +22,7 @@ This call is restricted to the super-user. */ /* XXX should be __sethostname ? */ int -sethostname (name, len) - const char *name; - size_t len; +sethostname (const char *name, size_t len) { /* The host name is just the contents of the file /etc/hostname. */ ssize_t n = _hurd_set_host_config ("/etc/hostname", name, len); |