X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=error.h;h=3a601ed1003e3ce6b55719406e6e236802ae7e46;hp=fb46ec548714c6e30ddcc01f2cd891ad1fd9f419;hb=becb57ea3aec697bfe953a0c3608e4c255b6d24b;hpb=d43da48a1e6555b3eaea162f44ea131175acc1f7 diff --git a/error.h b/error.h index fb46ec54..3a601ed1 100644 --- a/error.h +++ b/error.h @@ -505,7 +505,7 @@ _static_inline_ int osl(int ret) { if (ret >= 0) return ret; - return OSL_ERRNO_TO_PARA_ERROR(-ret); + return -OSL_ERRNO_TO_PARA_ERROR(-ret); } /**