aboutsummaryrefslogtreecommitdiff
path: root/test/tsan/static_init4.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/tsan/static_init4.cc')
-rw-r--r--test/tsan/static_init4.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tsan/static_init4.cc b/test/tsan/static_init4.cc
index 85835a2520f7..c8da78364c5c 100644
--- a/test/tsan/static_init4.cc
+++ b/test/tsan/static_init4.cc
@@ -31,7 +31,7 @@ int main() {
pthread_create(&t[1], 0, Thread1, 0);
pthread_join(t[0], 0);
pthread_join(t[1], 0);
- printf("PASS\n");
+ fprintf(stderr, "PASS\n");
}
// CHECK-NOT: WARNING: ThreadSanitizer: data race