]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - afs.c
error.h: Remove is_errno().
[paraslash.git] / afs.c
diff --git a/afs.c b/afs.c
index 299d65ebd287cf7fe1122fab1c25b37cb9a02360..c40537466fd9480265815d034050b745dc2f45d3 100644 (file)
--- a/afs.c
+++ b/afs.c
@@ -678,7 +678,7 @@ static int make_database_dir(void)
 
        get_database_dir();
        ret = para_mkdir(database_dir, 0777);
-       if (ret >= 0 || is_errno(-ret, EEXIST))
+       if (ret >= 0 || ret == -ERRNO_TO_PARA_ERROR(EEXIST))
                return 1;
        return ret;
 }