From: Fredrik Kuivinen Date: Wed, 07 Apr 2010 16:15:55 GMT Subject: Re: [PATCH v2] Make xmalloc and xrealloc thread-safe Message-ID: In-Reply-To: On Wed, Apr 7, 2010 at 17:27, Sverre Rabbelier wrote: > Heya, > > On Wed, Apr 7, 2010 at 09:45, Fredrik Kuivinen wrote: >> +               die("pthread_mutexattr_settype failed: %s", strerror(errno)); > > Can't you just die_errno here? Ah, yes you are right. Thanks. - Fredrik