mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-18 12:16:13 +08:00
hurd: Fix xattr error value
This does not seem like it is supposed to return negative error codes. Signed-off-by: Sergey Bugaev <bugaevc@gmail.com> Message-Id: <20230212111044.610942-5-bugaevc@gmail.com>
This commit is contained in:
parent
62d6c33030
commit
48941024ba
@ -68,7 +68,7 @@ _hurd_xattr_get (io_t port, const char *name, void *value, size_t *size)
|
||||
{
|
||||
if (buf != value)
|
||||
__munmap (buf, bufsz);
|
||||
return -ERANGE;
|
||||
return ERANGE;
|
||||
}
|
||||
if (buf != value && bufsz > 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user