summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/tsan/longjmp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/tsan/longjmp.cc')
-rw-r--r--compiler-rt/test/tsan/longjmp.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/test/tsan/longjmp.cc b/compiler-rt/test/tsan/longjmp.cc
index d642067391f..61d285c11bf 100644
--- a/compiler-rt/test/tsan/longjmp.cc
+++ b/compiler-rt/test/tsan/longjmp.cc
@@ -14,11 +14,11 @@ int foo(jmp_buf env) {
int main() {
jmp_buf env;
if (setjmp(env) == 42) {
- printf("JUMPED\n");
+ fprintf(stderr, "JUMPED\n");
return 0;
}
foo(env);
- printf("FAILED\n");
+ fprintf(stderr, "FAILED\n");
return 0;
}
OpenPOWER on IntegriCloud