From 455d6e4373c81da49892d39f33dc312b0c54097d Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 18 Sep 2016 23:48:55 +0200 Subject: hurd: fix fcntl visibility * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl. --- sysdeps/posix/dup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/posix') 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) -- cgit 1.4.1