1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

Use filedes as first argument to fsetxattr, not the undefined variable 'path' :-)

This commit is contained in:
Jelmer Vernooij 0001-01-01 00:00:00 +00:00
parent 35ce3638a3
commit d3c02b40c4

View File

@ -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;