Horrible syscall-related hacks to make it at least compile on amd64.
Doesn't work yet.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3400 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_memory.c b/coregrind/vg_memory.c
index 81cc934..680c3de 100644
--- a/coregrind/vg_memory.c
+++ b/coregrind/vg_memory.c
@@ -1318,9 +1318,9 @@
failed:
VG_(printf)(
- "valgrind: Could not allocate address space (%p bytes)\n"
+ "valgrind: Could not allocate address space (0x%x bytes)\n"
"valgrind: for shadow memory chunk.\n",
- (void*)size
+ size
);
VG_(exit)(1);
}