summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/tsan/fd_socket_norace.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/tsan/fd_socket_norace.cc')
-rw-r--r--compiler-rt/test/tsan/fd_socket_norace.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/tsan/fd_socket_norace.cc b/compiler-rt/test/tsan/fd_socket_norace.cc
index 0f41c435735..07b0cb356b8 100644
--- a/compiler-rt/test/tsan/fd_socket_norace.cc
+++ b/compiler-rt/test/tsan/fd_socket_norace.cc
@@ -45,7 +45,7 @@ int main() {
close(c);
close(s);
pthread_join(t, 0);
- printf("OK\n");
+ fprintf(stderr, "OK\n");
}
// CHECK-NOT: WARNING: ThreadSanitizer: data race
OpenPOWER on IntegriCloud