summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGisle Aas <gisle@activestate.com>2006-01-04 14:10:34 +0000
committerGisle Aas <gisle@activestate.com>2006-01-04 14:10:34 +0000
commitae58ca13a14e22abe0ed3fb438d6da3c15c964b4 (patch)
treec48f426ea62f4ef7c6b83f119f2963292f9d7490
parent18916d0db6e8b0ac0abf09300cb33647d974ddc0 (diff)
downloadperl-ae58ca13a14e22abe0ed3fb438d6da3c15c964b4.tar.gz
Get rid of hardcoded string length.
p4raw-id: //depot/perl@26647
-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