summaryrefslogtreecommitdiff
path: root/test/tsan/longjmp2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/tsan/longjmp2.cc')
-rw-r--r--test/tsan/longjmp2.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tsan/longjmp2.cc b/test/tsan/longjmp2.cc
index 2b2775a8c..eee423dc5 100644
--- a/test/tsan/longjmp2.cc
+++ b/test/tsan/longjmp2.cc
@@ -16,11 +16,11 @@ int main() {
sigjmp_buf env;
printf("env=%p\n", env);
if (sigsetjmp(env, 1) == 42) {
- fprintf(stderr, "JUMPED\n");
+ printf("JUMPED\n");
return 0;
}
foo(env);
- fprintf(stderr, "FAILED\n");
+ printf("FAILED\n");
return 0;
}