summaryrefslogtreecommitdiff
path: root/tests/bionic/libc/common/test_pthread_join.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bionic/libc/common/test_pthread_join.c')
-rw-r--r--tests/bionic/libc/common/test_pthread_join.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bionic/libc/common/test_pthread_join.c b/tests/bionic/libc/common/test_pthread_join.c
index 4fe2561a..13bab68f 100644
--- a/tests/bionic/libc/common/test_pthread_join.c
+++ b/tests/bionic/libc/common/test_pthread_join.c
@@ -44,7 +44,7 @@ thread2_func(void* arg)
void* result;
pthread_join(t1, &result);
- printf("thread2 received code %08x from thread1\n", (int)result);
+ printf("thread2 received code %p from thread1\n", result);
return NULL;
}
@@ -56,7 +56,7 @@ thread3_func(void* arg)
void* result;
pthread_join(t1, &result);
- printf("thread3 received code %08x from thread1\n", (int)result);
+ printf("thread3 received code %p from thread1\n", result);
return NULL;
}