From: alegrand Date: Mon, 11 Oct 2010 09:40:52 +0000 (+0000) Subject: Remove weird parenthesis... X-Git-Tag: v3_5~431 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/e54c5e982d2a6dd3d2d152038819639b088a1086 Remove weird parenthesis... git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8393 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/xbt/xbt_os_thread.c b/src/xbt/xbt_os_thread.c index 8b99b2770c..d1365a316d 100644 --- a/src/xbt/xbt_os_thread.c +++ b/src/xbt/xbt_os_thread.c @@ -552,8 +552,7 @@ void xbt_os_sem_destroy(xbt_os_sem_t sem) THROW0(arg_error, EINVAL, "Cannot destroy the NULL sempahore"); #ifdef HAVE_SEM_INIT - if (sem_destroy(sem->ps)) - <0) + if (sem_destroy(sem->ps)<0) THROW1(system_error, errno, "sem_destroy() failed: %s", strerror(errno)); #else