summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Ippolito <bob@redivi.com>2005-10-08 15:55:58 +0000
committerBob Ippolito <bob@redivi.com>2005-10-08 15:55:58 +0000
commit3496b2c2198d3999ac92403cbe656384e6c705b0 (patch)
tree28a23ac36c39a75d0cc843cda357caacc913aa56
parent86d23577c73a4ab54fa3aed4ef8892bfb808d998 (diff)
downloadxattr-3496b2c2198d3999ac92403cbe656384e6c705b0.tar.gz
fix args
-rw-r--r--Modules/xattr/_xattr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/xattr/_xattr.c b/Modules/xattr/_xattr.c
index 2d900e5..3980a49 100644
--- a/Modules/xattr/_xattr.c
+++ b/Modules/xattr/_xattr.c
@@ -43,14 +43,14 @@ static ssize_t xattr_removexattr(const char *path, const char *name, int options
return -1;
}
if (options & XATTR_XATTR_NOFOLLOW) {
- return lremovexattr(path, name, value);
+ return lremovexattr(path, name);
} else {
- return removexattr(path, name, value);
+ return removexattr(path, name);
}
}
-static ssize_t xattr_listxattr(const char *path, const char *namebuf, size_t size, int options) {
+static ssize_t xattr_listxattr(const char *path, char *namebuf, size_t size, int options) {
if (!(options == 0 || options == XATTR_XATTR_NOFOLLOW)) {
return -1;
}
@@ -100,12 +100,12 @@ static ssize_t xattr_fremovexattr(int fd, const char *name, int options) {
if (options & XATTR_XATTR_NOFOLLOW) {
return -1;
} else {
- return fremovexattr(fd, name, value);
+ return fremovexattr(fd, name);
}
}
-static ssize_t xattr_flistxattr(int fd, const char *namebuf, size_t size, int options) {
+static ssize_t xattr_flistxattr(int fd, char *namebuf, size_t size, int options) {
if (!(options == 0 || options == XATTR_XATTR_NOFOLLOW)) {
return -1;
}