projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove some system errors from errno.h
[paraslash.git]
/
blob.c
diff --git
a/blob.c
b/blob.c
index 150a15e4cfe72bd56ced02ff848a2cea7ac23f3b..9282b5f58bd83f04d1a9147efd9e8ba08ff20d6d 100644
(file)
--- a/
blob.c
+++ b/
blob.c
@@
-471,7
+471,9
@@
static int blob_init(struct osl_table **table,
if (ret >= 0)
return ret;
*table = NULL;
- return ret == -E_NOENT? 1 : ret;
+ if (ret >= 0 || is_errno(-ret, -ENOENT))
+ return 1;
+ return ret;
}
/** Define the \p init function for this blob type. */