summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/dlopen/libtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dlopen/libtest.c b/test/dlopen/libtest.c
index a306e4bf7..6d3456636 100644
--- a/test/dlopen/libtest.c
+++ b/test/dlopen/libtest.c
@@ -7,7 +7,7 @@ extern int __pthread_once(void);
void dltest(uint32_t **value1, uint32_t **value2);
void dltest(uint32_t **value1, uint32_t **value2)
{
- *value1 = (uint32_t *) __pthread_once;
+ *value1 = (uint32_t *) pthread_once;
*value2 = (uint32_t *) pthread_self;
}