summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;