summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.h b/thread.h
index 20152f3fea..a4c10e79ea 100644
--- a/thread.h
+++ b/thread.h
@@ -335,7 +335,7 @@
STMT_START { \
int _eC_; \
if ((_eC_ = pthread_key_create(&PL_thr_key, 0))) { \
- write(2, "panic: pthread_key_create failed\n", 33); \
+ write(2, STR_WITH_LEN("panic: pthread_key_create failed\n")); \
exit(1); \
} \
} STMT_END