diff --git a/attr.c b/attr.c index 7e2134471c..a029708863 100644 --- a/attr.c +++ b/attr.c @@ -726,7 +726,7 @@ static struct attr_stack *read_attr_from_file(const char *path, int macro_ok) int lineno = 0; if (!fp) { - if (errno != ENOENT && errno != ENOTDIR) + if (errno != ENOENT && errno != ENOTDIR && errno != EINVAL) warn_on_inaccessible(path); return NULL; }