]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Must remember to edit the original file, not the generated one...
authorNicholas Nethercote <n.nethercote@gmail.com>
Sun, 31 Oct 2004 18:58:05 +0000 (18:58 +0000)
committerNicholas Nethercote <n.nethercote@gmail.com>
Sun, 31 Oct 2004 18:58:05 +0000 (18:58 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2885

coregrind/vg_replace_malloc.c.base

index 9069984e9d2cd1b91cc6b7e0bb0b87658e1aeffe..d88a3e896b8dcc6a33a3e688d65f1038f4aca6d1 100644 (file)
@@ -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);
 }