From ae58ca13a14e22abe0ed3fb438d6da3c15c964b4 Mon Sep 17 00:00:00 2001 From: Gisle Aas Date: Wed, 4 Jan 2006 14:10:34 +0000 Subject: Get rid of hardcoded string length. p4raw-id: //depot/perl@26647 --- thread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'thread.h') 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 -- cgit v1.2.1