From: Andre Noll Date: Fri, 12 Jun 2009 19:39:52 +0000 (+0200) Subject: Fix osl() wrapper. X-Git-Tag: v0.4.0~75^2~5 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=becb57ea3aec697bfe953a0c3608e4c255b6d24b;p=paraslash.git Fix osl() wrapper. --- 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); } /**