mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 07:10:32 -04:00
PR: 208098 (fixed) Submitted by: saper@saper.info (maintainer) Reported by: fuz@fuz.su Reviewed by: cy@, pkubaj@ Approved by: maintainer (implicit, submitter) Differential Revision: https://reviews.freebsd.org/D19343
11 lines
426 B
C
11 lines
426 B
C
--- src/lib/libast/vmalloc/vmmaddress.c.orig 2016-02-28 17:09:23 UTC
|
|
+++ src/lib/libast/vmalloc/vmmaddress.c
|
|
@@ -96,7 +96,7 @@ ssize_t _vmpagesize(void)
|
|
if ((_Vmpagesize = getpagesize()) <= 0)
|
|
#endif
|
|
_Vmpagesize = VM_PAGESIZE;
|
|
- _Vmpagesize = (*_Vmlcm)(_Vmpagesize, ALIGN);
|
|
+ _Vmpagesize = (*_Vmlcm)(_Vmpagesize, MEM_ALIGN);
|
|
}
|
|
#if VMCHKMEM
|
|
_Vmchkmem = _vmchkmem; /* _vmchkmem() can check memory availability */
|