about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-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)