From: Nicholas Nethercote Date: Sun, 31 Oct 2004 18:58:05 +0000 (+0000) Subject: Must remember to edit the original file, not the generated one... X-Git-Tag: svn/VALGRIND_3_0_0~1421 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=193367181b51170a110bd7637f4b3b3d06310ecb;p=thirdparty%2Fvalgrind.git Must remember to edit the original file, not the generated one... git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2885 --- diff --git a/coregrind/vg_replace_malloc.c.base b/coregrind/vg_replace_malloc.c.base index 9069984e9d..d88a3e896b 100644 --- a/coregrind/vg_replace_malloc.c.base +++ b/coregrind/vg_replace_malloc.c.base @@ -221,7 +221,7 @@ LIBALIAS(void*, memalign, ( Int alignment, Int n )) LIBALIAS(void*, valloc, ( Int size )) { - return VG_INTERCEPT(soname:libc.so.6, memalign)(VKI_BYTES_PER_PAGE, size); + return VG_INTERCEPT(soname:libc.so.6, memalign)(VKI_PAGE_SIZE, size); }