summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/tsan/global_race.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/tsan/global_race.cc')
-rw-r--r--compiler-rt/test/tsan/global_race.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler-rt/test/tsan/global_race.cc b/compiler-rt/test/tsan/global_race.cc
index d1f0e385963..a35299619e9 100644
--- a/compiler-rt/test/tsan/global_race.cc
+++ b/compiler-rt/test/tsan/global_race.cc
@@ -11,9 +11,7 @@ void *Thread(void *a) {
int main() {
barrier_init(&barrier, 2);
- fprintf(stderr, "addr=");
- print_address(GlobalData);
- fprintf(stderr, "\n");
+ print_address("addr=", 1, GlobalData);
pthread_t t;
pthread_create(&t, 0, Thread, 0);
GlobalData[2] = 43;
OpenPOWER on IntegriCloud