aboutsummaryrefslogtreecommitdiff
path: root/libio/freopen.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-05-19 21:09:29 -0400
committerUlrich Drepper <drepper@gmail.com>2011-05-19 21:09:29 -0400
commited690b2f24bbc4d9c541fc81a7c67e6dc5678a96 (patch)
tree8eb04a0eb7a36a6ae9cb8022061ad72b5b7218a8 /libio/freopen.c
parentf5f312ebe06920f8cdd389ff42713a7088898a11 (diff)
downloadglibc-ed690b2f24bbc4d9c541fc81a7c67e6dc5678a96.zip
glibc-ed690b2f24bbc4d9c541fc81a7c67e6dc5678a96.tar.gz
glibc-ed690b2f24bbc4d9c541fc81a7c67e6dc5678a96.tar.bz2
Cleanup namespace use.
Diffstat (limited to 'libio/freopen.c')
-rw-r--r--libio/freopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/freopen.c b/libio/freopen.c
index 20eda9d..ee98b6e 100644
--- a/libio/freopen.c
+++ b/libio/freopen.c
@@ -102,7 +102,7 @@ freopen (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);
}