1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

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

(This used to be commit d3c02b40c48921f842c92fa1beed1924897ce160)
This commit is contained in:
Jelmer Vernooij 2003-06-06 07:06:30 +00:00
parent ad581e4b6a
commit bed2de0ff2

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;