Author: grothoff
Date: 2006-05-20 04:06:20 -0700 (Sat, 20 May 2006)
New Revision: 2864
Modified:
GNUnet/src/util/semaphore.c
Log:
strerr
Modified: GNUnet/src/util/semaphore.c
===================================================================
--- GNUnet/src/util/semaphore.c 2006-05-20 10:58:09 UTC (rev 2863)
+++ GNUnet/src/util/semaphore.c 2006-05-20 11:06:20 UTC (rev 2864)
@@ -449,15 +449,24 @@
break; /* ok */
case EINVAL:
LOG(LOG_ERROR,
- _("pthread_kill failed (invalid signal number)"));
+ _("`%s' failed with error code %s: %s"),
+ "pthread_kill",
+ "EINVAL",
+ STRERROR(ret));
break;
case ESRCH:
LOG(LOG_ERROR,
- _("pthread_kill failed (no such thread)"));
+ _("`%s' failed with error code %s: %s"),
+ "pthread_kill",
+ "ESRCH",
+ STRERROR(ret));
break;
default:
LOG(LOG_ERROR,
- _("pthread_kill failed (unknown error)"));
+ _("`%s' failed with error code %d: %s"),
+ "pthread_kill",
+ ret,
+ STRERROR(ret));
break;
}
}
_______________________________________________
GNUnet-SVN mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnunet-svn