From: cristy Date: Fri, 18 Jan 2013 11:51:54 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~4417 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7e8a24f9024198dd58d38df30db0d6fa6975ca64;p=imagemagick --- diff --git a/MagickCore/semaphore.c b/MagickCore/semaphore.c index 25c623b1d..ca4d32c2d 100644 --- a/MagickCore/semaphore.c +++ b/MagickCore/semaphore.c @@ -299,6 +299,7 @@ MagickExport void DestroySemaphoreInfo(SemaphoreInfo **semaphore_info) status=pthread_mutex_destroy(&(*semaphore_info)->mutex); if (status != 0) { + errno=status; perror("unable to destroy semaphore"); _exit(1); }