summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/tsan/thread_detach2.c
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/tsan/thread_detach2.c')
-rw-r--r--compiler-rt/test/tsan/thread_detach2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/tsan/thread_detach2.c b/compiler-rt/test/tsan/thread_detach2.c
index 8133980ba5a..5ee94e9a967 100644
--- a/compiler-rt/test/tsan/thread_detach2.c
+++ b/compiler-rt/test/tsan/thread_detach2.c
@@ -20,7 +20,7 @@ int main() {
pthread_create(&t, 0, Thread, 0);
pthread_detach(t);
barrier_wait(&barrier);
- printf("PASS\n");
+ fprintf(stderr, "PASS\n");
return 0;
}
OpenPOWER on IntegriCloud