]> git.tue.mpg.de Git - paraslash.git/commitdiff
Fix osl() wrapper.
authorAndre Noll <maan@systemlinux.org>
Fri, 12 Jun 2009 19:39:52 +0000 (21:39 +0200)
committerAndre Noll <maan@systemlinux.org>
Fri, 12 Jun 2009 19:39:52 +0000 (21:39 +0200)
error.h

diff --git a/error.h b/error.h
index fb46ec548714c6e30ddcc01f2cd891ad1fd9f419..3a601ed1003e3ce6b55719406e6e236802ae7e46 100644 (file)
--- 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);
 }
 
 /**