]> arthur.barton.de Git - netatalk.git/commitdiff
Don't force errno ENOATTR on Solaris
authorRalph Boehme <sloowfranklin@gmail.com>
Wed, 5 Dec 2012 11:39:08 +0000 (12:39 +0100)
committerRalph Boehme <sloowfranklin@gmail.com>
Wed, 5 Dec 2012 12:06:58 +0000 (13:06 +0100)
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;
         }
        }