about summary refs log tree commit diff
path: root/libio/freopen64.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/freopen64.c')
-rw-r--r--libio/freopen64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/freopen64.c b/libio/freopen64.c
index 99045c6419..6c4a20f9a3 100644
--- a/libio/freopen64.c
+++ b/libio/freopen64.c
@@ -86,7 +86,7 @@ freopen64 (filename, mode, fp)
 	      if (errno == ENOSYS)
 		__have_dup3 = -1;
 
-	      dup2 (_IO_fileno (result), fd);
+	      __dup2 (_IO_fileno (result), fd);
 	      if ((result->_flags2 & _IO_FLAGS2_CLOEXEC) != 0)
 		__fcntl (fd, F_SETFD, FD_CLOEXEC);
 	    }