about summary refs log tree commit diff
path: root/sysdeps/posix
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-09-18 23:48:55 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-09-18 23:48:55 +0200
commit455d6e4373c81da49892d39f33dc312b0c54097d (patch)
treebc8625f5210ca0bafc75f1308866193356a9bd5a /sysdeps/posix
parentd952597738860d3258e4d3818494c1acdc5683fe (diff)
downloadglibc-455d6e4373c81da49892d39f33dc312b0c54097d.tar.gz
glibc-455d6e4373c81da49892d39f33dc312b0c54097d.tar.xz
glibc-455d6e4373c81da49892d39f33dc312b0c54097d.zip
hurd: fix fcntl visibility
	* sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
Diffstat (limited to 'sysdeps/posix')
-rw-r--r--sysdeps/posix/dup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/posix/dup.c b/sysdeps/posix/dup.c
index abf3ff59dd..bbd67bcc4b 100644
--- a/sysdeps/posix/dup.c
+++ b/sysdeps/posix/dup.c
@@ -24,7 +24,7 @@
 int
 __dup (int fd)
 {
-  return fcntl (fd, F_DUPFD, 0);
+  return __fcntl (fd, F_DUPFD, 0);
 }
 libc_hidden_def (__dup)
 weak_alias (__dup, dup)