]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - hurd/xattr.c
Prefer https to http for gnu.org and fsf.org URLs
[thirdparty/glibc.git] / hurd / xattr.c
index 7deef291b4781148c10e909af55b44c6344a10c2..7f7c6ed6d0b81bfd548aa58f00fd95028cacb196 100644 (file)
@@ -1,5 +1,5 @@
 /* Support for *xattr interfaces on GNU/Hurd.
-   Copyright (C) 2006-2017 Free Software Foundation, Inc.
+   Copyright (C) 2006-2019 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <hurd.h>
 #include <hurd/xattr.h>
@@ -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;
            }
        }