summaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/setdomain.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/setdomain.c')
-rw-r--r--sysdeps/mach/hurd/setdomain.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/mach/hurd/setdomain.c b/sysdeps/mach/hurd/setdomain.c
index 8f786d46c5..8cd19bd25f 100644
--- a/sysdeps/mach/hurd/setdomain.c
+++ b/sysdeps/mach/hurd/setdomain.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1998-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
@@ -21,9 +21,7 @@
/* Set the name of the current YP domain to NAME, which is LEN bytes long.
This call is restricted to the super-user. */
int
-setdomainname (name, len)
- const char *name;
- size_t len;
+setdomainname (const char *name, size_t len)
{
/* The NIS domain name is just the contents of the file /etc/nisdomain. */
ssize_t n = _hurd_set_host_config ("/etc/nisdomain", name, len);