X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=blob.c;h=9282b5f58bd83f04d1a9147efd9e8ba08ff20d6d;hp=150a15e4cfe72bd56ced02ff848a2cea7ac23f3b;hb=c458b9d45e7c6ddda6285fca3797fddff815bd0a;hpb=bf04447eb634a2e9ac3e644e48386597fecca9ee diff --git a/blob.c b/blob.c index 150a15e4..9282b5f5 100644 --- 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. */