From e54c5e982d2a6dd3d2d152038819639b088a1086 Mon Sep 17 00:00:00 2001 From: alegrand Date: Mon, 11 Oct 2010 09:40:52 +0000 Subject: [PATCH] Remove weird parenthesis... git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8393 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/xbt/xbt_os_thread.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.20.1