summaryrefslogtreecommitdiffstats
path: root/lib/libc_r/uthread/uthread_dup2.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc_r/uthread/uthread_dup2.c')
-rw-r--r--lib/libc_r/uthread/uthread_dup2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc_r/uthread/uthread_dup2.c b/lib/libc_r/uthread/uthread_dup2.c
index b8b8a73..ccf0e55 100644
--- a/lib/libc_r/uthread/uthread_dup2.c
+++ b/lib/libc_r/uthread/uthread_dup2.c
@@ -38,7 +38,7 @@
#include "pthread_private.h"
int
-_libc_dup2(int fd, int newfd)
+_dup2(int fd, int newfd)
{
int ret;
int newfd_opened;
@@ -84,5 +84,5 @@ _libc_dup2(int fd, int newfd)
return (ret);
}
-__weak_reference(_libc_dup2, dup2);
+__weak_reference(_dup2, dup2);
#endif
OpenPOWER on IntegriCloud