diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-06-01 14:05:10 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-06-02 02:13:48 +0200 |
commit | 954da1b81ec1a4ef9b417885e3a587b9c49b7056 (patch) | |
tree | fbda0c6722f74bb091a26a00ff762ea8e548ff9e /lib/replace | |
parent | b347067a67b791fa83c1cfa5b33a5de1a3045170 (diff) | |
download | samba-954da1b81ec1a4ef9b417885e3a587b9c49b7056.tar.gz samba-954da1b81ec1a4ef9b417885e3a587b9c49b7056.tar.bz2 samba-954da1b81ec1a4ef9b417885e3a587b9c49b7056.zip |
lib/replace: DEBUG is not acceptable here, as this may not be linked into Samba
Diffstat (limited to 'lib/replace')
-rw-r--r-- | lib/replace/xattr.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/replace/xattr.c b/lib/replace/xattr.c index c3a65f11df..e3e0768d9c 100644 --- a/lib/replace/xattr.c +++ b/lib/replace/xattr.c @@ -70,7 +70,6 @@ ssize_t rep_getxattr (const char *path, const char *name, void *value, size_t si return retval; } - DEBUG(10,("rep_getxattr: extattr_get_file() failed with: %s\n", strerror(errno))); return -1; #elif defined(HAVE_ATTR_GET) int retval, flags = 0; @@ -123,7 +122,6 @@ ssize_t rep_fgetxattr (int filedes, const char *name, void *value, size_t size) return retval; } - DEBUG(10,("rep_fgetxattr: extattr_get_fd() failed with: %s\n", strerror(errno))); return -1; #elif defined(HAVE_ATTR_GETF) int retval, flags = 0; @@ -623,7 +621,6 @@ static ssize_t solaris_list_xattr(int attrdirfd, char *list, size_t size) size_t listlen = strlen(de->d_name) + 1; if (!strcmp(de->d_name, ".") || !strcmp(de->d_name, "..")) { /* we don't want "." and ".." here: */ - DEBUG(10,("skipped EA %s\n",de->d_name)); continue; } @@ -644,7 +641,6 @@ static ssize_t solaris_list_xattr(int attrdirfd, char *list, size_t size) } if (closedir(dirp) == -1) { - DEBUG(0,("closedir dirp failed: %s\n",strerror(errno))); return -1; } return len; @@ -665,7 +661,6 @@ static int solaris_attropen(const char *path, const char *attrpath, int oflag, m { int filedes = attropen(path, attrpath, oflag, mode); if (filedes == -1) { - DEBUG(10,("attropen FAILED: path: %s, name: %s, errno: %s\n",path,attrpath,strerror(errno))); if (errno == EINVAL) { errno = ENOTSUP; } else { @@ -679,7 +674,6 @@ static int solaris_openat(int fildes, const char *path, int oflag, mode_t mode) { int filedes = openat(fildes, path, oflag, mode); if (filedes == -1) { - DEBUG(10,("openat FAILED: fd: %d, path: %s, errno: %s\n",filedes,path,strerror(errno))); if (errno == EINVAL) { errno = ENOTSUP; } else { @@ -694,7 +688,6 @@ static int solaris_write_xattr(int attrfd, const char *value, size_t size) if ((ftruncate(attrfd, 0) == 0) && (write(attrfd, value, size) == size)) { return 0; } else { - DEBUG(10,("solaris_write_xattr FAILED!\n")); return -1; } } |