diff options
Diffstat (limited to 'compiler-rt/test/tsan/Linux/user_malloc.cc')
-rw-r--r-- | compiler-rt/test/tsan/Linux/user_malloc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/tsan/Linux/user_malloc.cc b/compiler-rt/test/tsan/Linux/user_malloc.cc index c671bfcdd17..9c3ce681d74 100644 --- a/compiler-rt/test/tsan/Linux/user_malloc.cc +++ b/compiler-rt/test/tsan/Linux/user_malloc.cc @@ -8,7 +8,7 @@ extern "C" void __interceptor_free(void *p); extern "C" void *malloc(unsigned long size) { static int first = 0; if (__sync_lock_test_and_set(&first, 1) == 0) - printf("user malloc\n"); + fprintf(stderr, "user malloc\n"); return __interceptor_malloc(size); } |