summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_readv.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/thread/thr_readv.c')
-rw-r--r--lib/libpthread/thread/thr_readv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_readv.c b/lib/libpthread/thread/thr_readv.c
index 2e14a9f..2759819 100644
--- a/lib/libpthread/thread/thr_readv.c
+++ b/lib/libpthread/thread/thr_readv.c
@@ -40,7 +40,7 @@
#include <pthread.h>
#include "pthread_private.h"
-#pragma weak readv=_readv
+__weak_reference(_readv, readv);
ssize_t
_readv(int fd, const struct iovec * iov, int iovcnt)
OpenPOWER on IntegriCloud