about summary refs log tree commit diff
path: root/csu/check_fds.c
diff options
context:
space:
mode:
Diffstat (limited to 'csu/check_fds.c')
-rw-r--r--csu/check_fds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/csu/check_fds.c b/csu/check_fds.c
index 605ee4f3f4..ad1763b398 100644
--- a/csu/check_fds.c
+++ b/csu/check_fds.c
@@ -39,7 +39,7 @@
 static void
 check_one_fd (int fd, int mode)
 {
-  if (__builtin_expect (__fcntl_nocancel (fd, F_GETFD), 0) == -1
+  if (__builtin_expect (__fcntl64_nocancel (fd, F_GETFD), 0) == -1
       && errno == EBADF)
     {
       const char *name;