aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/posix/gethostname.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/gethostname.c')
-rw-r--r--sysdeps/posix/gethostname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/posix/gethostname.c b/sysdeps/posix/gethostname.c
index 03a5d3f409..a132482c07 100644
--- a/sysdeps/posix/gethostname.c
+++ b/sysdeps/posix/gethostname.c
@@ -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;