summaryrefslogtreecommitdiff
path: root/sysdeps/mach/pagecopy.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/pagecopy.h')
-rw-r--r--sysdeps/mach/pagecopy.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/sysdeps/mach/pagecopy.h b/sysdeps/mach/pagecopy.h
index 8583df4569..6a8c3e0d9b 100644
--- a/sysdeps/mach/pagecopy.h
+++ b/sysdeps/mach/pagecopy.h
@@ -1,5 +1,5 @@
/* Macros for copying by pages; used in memcpy, memmove. Mach version.
- Copyright (C) 1995-2018 Free Software Foundation, Inc.
+ Copyright (C) 1995-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 <mach.h>
@@ -24,9 +24,9 @@
#define PAGE_SIZE __vm_page_size
#define PAGE_COPY_FWD(dstp, srcp, nbytes_left, nbytes) \
- ((nbytes_left) = ((nbytes) - \
- (__vm_copy (__mach_task_self (), \
- (vm_address_t) srcp, trunc_page (nbytes), \
- (vm_address_t) dstp) == KERN_SUCCESS \
- ? trunc_page (nbytes) \
- : 0)))
+ ((nbytes_left) = ((nbytes) \
+ - (__vm_copy (__mach_task_self (), \
+ (vm_address_t) srcp, trunc_page (nbytes), \
+ (vm_address_t) dstp) == KERN_SUCCESS \
+ ? trunc_page (nbytes) \
+ : 0)))