[tsan] Update fork_atexit.cc to consistently print to stderr (and not stdout)
authorKuba Brecka <kuba.brecka@gmail.com>
Sat, 17 Sep 2016 14:39:53 +0000 (14:39 +0000)
committerKuba Brecka <kuba.brecka@gmail.com>
Sat, 17 Sep 2016 14:39:53 +0000 (14:39 +0000)
llvm-svn: 281821

compiler-rt/test/tsan/fork_atexit.cc

index 15cf0a2..6e3a2f5 100644 (file)
@@ -7,7 +7,7 @@
 #include <sys/wait.h>
 
 void foo() {
-  printf("CHILD ATEXIT\n");
+  fprintf(stderr, "CHILD ATEXIT\n");
 }
 
 void *worker(void *unused) {