diff options
Diffstat (limited to 'sysdeps/posix/gethostname.c')
-rw-r--r-- | sysdeps/posix/gethostname.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/posix/gethostname.c b/sysdeps/posix/gethostname.c index 6ce54e933b..0e29e18617 100644 --- a/sysdeps/posix/gethostname.c +++ b/sysdeps/posix/gethostname.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992-2016 Free Software Foundation, Inc. +/* Copyright (C) 1992-2018 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 @@ -29,7 +29,7 @@ __gethostname (char *name, size_t len) struct utsname buf; size_t node_len; - if (uname (&buf)) + if (__uname (&buf)) return -1; node_len = strlen (buf.nodename) + 1; |