aboutsummaryrefslogtreecommitdiff
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
parentd952597738860d3258e4d3818494c1acdc5683fe (diff)
downloadglibc-455d6e4373c81da49892d39f33dc312b0c54097d.tar
glibc-455d6e4373c81da49892d39f33dc312b0c54097d.tar.gz
glibc-455d6e4373c81da49892d39f33dc312b0c54097d.tar.bz2
glibc-455d6e4373c81da49892d39f33dc312b0c54097d.zip
hurd: fix fcntl visibility
* sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
-rw-r--r--ChangeLog1
-rw-r--r--sysdeps/posix/dup.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 974a525326..d614df0ae4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
* intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
+ * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
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)