about summary refs log tree commit diff
path: root/sysdeps/mach/pagecopy.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/pagecopy.h')
-rw-r--r--sysdeps/mach/pagecopy.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/mach/pagecopy.h b/sysdeps/mach/pagecopy.h
index 6fe5fa3a44..fff62d3a79 100644
--- a/sysdeps/mach/pagecopy.h
+++ b/sysdeps/mach/pagecopy.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)))