hurd: fix fcntl visibility
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 18 Sep 2016 21:48:55 +0000 (23:48 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 18 Sep 2016 21:48:55 +0000 (23:48 +0200)
* sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.

ChangeLog
sysdeps/posix/dup.c

index 974a525..d614df0 100644 (file)
--- 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>
 
index abf3ff5..bbd67bc 100644 (file)
@@ -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)