diff --git a/sys/vmm/vmm_mmap.c b/sys/vmm/vmm_mmap.c index 3b4403c..f90d833 100644 --- a/sys/vmm/vmm_mmap.c +++ b/sys/vmm/vmm_mmap.c @@ -79,7 +79,7 @@ /* Adjust size for rounding (on both ends). */ size_0 += pageoff; size_1 = ( vm_size_t ) round_page( size_0 ); - size_0 = size_1 + size_0 = size_1; // Ensure alignment is at least a page and fits in a pointer. align = flags & MAP_ALIGNMENT_MASK;