summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_creat.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/thread/thr_creat.c')
-rw-r--r--lib/libpthread/thread/thr_creat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_creat.c b/lib/libpthread/thread/thr_creat.c
index 56100dd..92da971 100644
--- a/lib/libpthread/thread/thr_creat.c
+++ b/lib/libpthread/thread/thr_creat.c
@@ -33,7 +33,7 @@
#include <pthread.h>
#include "pthread_private.h"
-#pragma weak creat=___creat
+__weak_reference(___creat, creat);
int
___creat(const char *path, mode_t mode)
OpenPOWER on IntegriCloud