]> arthur.barton.de Git - netatalk.git/commitdiff
Don't log failed lstat
authorRalph Boehme <sloowfranklin@gmail.com>
Mon, 16 Sep 2013 10:50:53 +0000 (12:50 +0200)
committerRalph Boehme <sloowfranklin@gmail.com>
Mon, 16 Sep 2013 10:50:53 +0000 (12:50 +0200)
libatalk/util/cnid.c

index 6e431c1b8d16dfca39d0a02bfc03e0ac1fdf5284..7fb079004cc586f9008e1248fb94b65b114b5c66 100644 (file)
@@ -80,8 +80,7 @@ bstring rel_path_in_vol(const char *path, const char *volpath)
         return NULL;
 
     EC_NEG1_LOG(cwd = open(".", O_RDONLY));
-
-    EC_ZERO_LOGSTR(lstat(path, &st), "lstat(%s): %s", path, strerror(errno));
+    EC_ZERO( lstat(path, &st) );
 
     if (path[0] == '/') {
         EC_NULL(fpath = bfromcstr(path));