From: Gisle Aas Date: Wed, 4 Jan 2006 14:10:34 +0000 (+0000) Subject: Get rid of hardcoded string length. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ae58ca13a14e22abe0ed3fb438d6da3c15c964b4;hp=18916d0db6e8b0ac0abf09300cb33647d974ddc0;p=p5sagit%2Fp5-mst-13.2.git Get rid of hardcoded string length. p4raw-id: //depot/perl@26647 --- diff --git a/thread.h b/thread.h index 20152f3..a4c10e7 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