summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/tsan/fd_dup_norace.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/tsan/fd_dup_norace.cc')
-rw-r--r--compiler-rt/test/tsan/fd_dup_norace.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/tsan/fd_dup_norace.cc b/compiler-rt/test/tsan/fd_dup_norace.cc
index 5045325b22b..e5995175bc0 100644
--- a/compiler-rt/test/tsan/fd_dup_norace.cc
+++ b/compiler-rt/test/tsan/fd_dup_norace.cc
@@ -28,7 +28,7 @@ int main() {
pthread_create(&t[1], NULL, Thread2, NULL);
pthread_join(t[0], NULL);
pthread_join(t[1], NULL);
- printf("OK\n");
+ fprintf(stderr, "OK\n");
}
// CHECK-NOT: WARNING: ThreadSanitizer: data race
OpenPOWER on IntegriCloud