]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/vfs/extattr.c
Don't force errno ENOATTR on Solaris
[netatalk.git] / libatalk / vfs / extattr.c
index 26da70636ff1a683c19d124a631105798f0d0541..5206aa6d69d16698f62f8c2d9fd4c2c770ab7bf3 100644 (file)
@@ -876,7 +876,6 @@ static int solaris_attropen(const char *path, const char *attrpath, int oflag, m
             EC_FAIL;
         default:
             LOG(log_debug, logtype_default, "open(\"%s\"): %s", fullpathname(path), strerror(errno));
-            errno = ENOATTR;
             EC_FAIL;
         }
        }
@@ -888,7 +887,6 @@ static int solaris_attropen(const char *path, const char *attrpath, int oflag, m
             EC_FAIL;
         default:
             LOG(log_debug, logtype_default, "openat(\"%s\"): %s", fullpathname(path), strerror(errno));
-            errno = ENOATTR;
             EC_FAIL;
         }
        }