mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-29 14:01:20 +00:00
hurd: Fix lsetxattr return value
The manpage says that lsetxattr returns 0 on success, like setxattr.
This commit is contained in:
parent
eb37015879
commit
74f9ee3b91
@ -32,5 +32,5 @@ lsetxattr (const char *path, const char *name, const void *value, size_t size,
|
||||
return -1;
|
||||
err = _hurd_xattr_set (port, name, value, size, flags);
|
||||
__mach_port_deallocate (__mach_task_self (), port);
|
||||
return err ? __hurd_fail (err) : size;
|
||||
return __hurd_fail (err);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user