]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - attribute.c
Merge commit 'remotes/fml/v0.3' into v0.3
[paraslash.git] / attribute.c
index d34f7d6371f7995f17a23fa9df4d3ec8b39f363e..e0a7392fdc99d86f6225c5ac43e1ab690e0bce50 100644 (file)
@@ -538,7 +538,7 @@ int attribute_init(struct table_info *ti, const char *db)
                return ret;
        }
        attribute_table = NULL;
-       if (ret == -E_NOENT)
+       if (ret >= 0 || is_errno(-ret, ENOENT))
                return 1;
        return ret;
 }