|
From: <sv...@va...> - 2012-10-31 22:10:55
|
philippe 2012-10-31 22:10:47 +0000 (Wed, 31 Oct 2012)
New Revision: 13097
Log:
fix arena size wrongly printed in debugmsg on 32 bits platforms when > 2Gb.
Modified files:
trunk/coregrind/m_mallocfree.c
Modified: trunk/coregrind/m_mallocfree.c (+2 -2)
===================================================================
--- trunk/coregrind/m_mallocfree.c 2012-10-31 15:07:39 +00:00 (rev 13096)
+++ trunk/coregrind/m_mallocfree.c 2012-10-31 22:10:47 +00:00 (rev 13097)
@@ -576,9 +576,9 @@
for (i = 0; i < VG_N_ARENAS; i++) {
Arena* a = arenaId_to_ArenaP(i);
VG_(message)(Vg_DebugMsg,
- "%8s: %8ld/%8ld max/curr mmap'd, "
+ "%8s: %8lu/%8lu max/curr mmap'd, "
"%llu/%llu unsplit/split sb unmmap'd, "
- "%8ld/%8ld max/curr, "
+ "%8lu/%8lu max/curr, "
"%10llu/%10llu totalloc-blocks/bytes,"
" %10llu searches %lu rzB\n",
a->name,
|