summaryrefslogtreecommitdiff
path: root/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'thread.h')
-rw-r--r--thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.h b/thread.h
index f7ab18c553..206a5c508e 100644
--- a/thread.h
+++ b/thread.h
@@ -251,7 +251,7 @@
# define ALLOC_THREAD_KEY \
STMT_START { \
if (pthread_key_create(&PL_thr_key, 0)) { \
- fprintf(stderr, "panic: pthread_key_create"); \
+ PerlIO_printf(PerlIO_stderr(), "panic: pthread_key_create"); \
exit(1); \
} \
} STMT_END