diff options
Diffstat (limited to 'hurd/xattr.c')
-rw-r--r-- | hurd/xattr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hurd/xattr.c b/hurd/xattr.c index c56bab07cb..23d9fcb691 100644 --- a/hurd/xattr.c +++ b/hurd/xattr.c @@ -67,14 +67,14 @@ _hurd_xattr_get (io_t port, const char *name, void *value, size_t *size) if (value != NULL && *size < bufsz) { if (buf != value) - munmap (buf, bufsz); + __munmap (buf, bufsz); return -ERANGE; } if (buf != value && bufsz > 0) { if (value != NULL) memcpy (value, buf, bufsz); - munmap (buf, bufsz); + __munmap (buf, bufsz); } *size = bufsz; return 0; @@ -150,7 +150,7 @@ _hurd_xattr_set (io_t port, const char *name, const void *value, size_t size, return err; if (bufsz > 0) { - munmap (buf, bufsz); + __munmap (buf, bufsz); return ENODATA; } } |