summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/tsan/memcmp_race.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/tsan/memcmp_race.cc')
-rw-r--r--compiler-rt/test/tsan/memcmp_race.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/tsan/memcmp_race.cc b/compiler-rt/test/tsan/memcmp_race.cc
index 03287ff1906..b76f427e121 100644
--- a/compiler-rt/test/tsan/memcmp_race.cc
+++ b/compiler-rt/test/tsan/memcmp_race.cc
@@ -23,7 +23,7 @@ void *Thread2(void *x) {
int main() {
barrier_init(&barrier, 2);
- fprintf(stderr, "addr=%p\n", &data0[5]);
+ print_address("addr=", 1, &data0[5]);
pthread_t t[2];
pthread_create(&t[0], NULL, Thread1, NULL);
pthread_create(&t[1], NULL, Thread2, NULL);
OpenPOWER on IntegriCloud