summaryrefslogtreecommitdiff
path: root/test/dlopen/dltest.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-09-01 23:55:15 +0000
committerEric Andersen <andersen@codepoet.org>2003-09-01 23:55:15 +0000
commit6c5a1f2eaac709694035ce71f06d487e2ae4853a (patch)
tree74d65981f2cfda965e1741ebf6e62e066ac3b5b3 /test/dlopen/dltest.c
parentfec8e9db57394a77a9f757aab4c342baa098a1aa (diff)
Use "__pthread_once", since that is weak and present in both
glibc and uClibc.
Diffstat (limited to 'test/dlopen/dltest.c')
-rw-r--r--test/dlopen/dltest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dlopen/dltest.c b/test/dlopen/dltest.c
index 244f3b76b..230f7fd1d 100644
--- a/test/dlopen/dltest.c
+++ b/test/dlopen/dltest.c
@@ -29,7 +29,7 @@ int main(int argc, char **argv)
}
mydltest(&value1, &value2);
- printf("dltest: __pthread_return_0=%p\n", value1);
+ printf("dltest: __pthread_once=%p\n", value1);
printf("dltest: pthread_self=%p\n", value2);
if (value1 == value2) {
ret = EXIT_FAILURE;