summaryrefslogtreecommitdiff
path: root/test/tsan/fd_close_norace.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/tsan/fd_close_norace.cc')
-rw-r--r--test/tsan/fd_close_norace.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tsan/fd_close_norace.cc b/test/tsan/fd_close_norace.cc
index 1b52c20f9..7d9d491f1 100644
--- a/test/tsan/fd_close_norace.cc
+++ b/test/tsan/fd_close_norace.cc
@@ -25,7 +25,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