hurd: fix fcntl visibility

* sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
This commit is contained in:
Samuel Thibault 2016-09-18 23:48:55 +02:00
parent d952597738
commit 455d6e4373
2 changed files with 2 additions and 1 deletions

View File

@ -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>

View 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)