summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-06-06 07:06:30 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-06-06 07:06:30 +0000
commitbed2de0ff2b9d134b9fe9faa24b995555631de68 (patch)
tree706b244bf51c946eeee6288fb71856ef9e3927e7 /source3/lib
parentad581e4b6a4eef17df229c22c6ed985d8bf2470f (diff)
downloadsamba-bed2de0ff2b9d134b9fe9faa24b995555631de68.tar.gz
samba-bed2de0ff2b9d134b9fe9faa24b995555631de68.tar.bz2
samba-bed2de0ff2b9d134b9fe9faa24b995555631de68.zip
Use filedes as first argument to fsetxattr, not the undefined variable 'path' :-)
(This used to be commit d3c02b40c48921f842c92fa1beed1924897ce160)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c
index e94ec874ee..a7024c852d 100644
--- a/source3/lib/system.c
+++ b/source3/lib/system.c
@@ -1372,7 +1372,7 @@ int sys_lsetxattr (const char *path, const char *name, const void *value, size_t
int sys_fsetxattr (int filedes, const char *name, const void *value, size_t size, int flags)
{
#if defined(HAVE_FSETXATTR)
- return fsetxattr(path, name, value, size, flags);
+ return fsetxattr(filedes, name, value, size, flags);
#else
errno = ENOSYS;
return -1;