]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
fix arena size wrongly printed in debugmsg on 32 bits platforms when > 2Gb.
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Wed, 31 Oct 2012 22:10:47 +0000 (22:10 +0000)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Wed, 31 Oct 2012 22:10:47 +0000 (22:10 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13097

coregrind/m_mallocfree.c

index 880771335f6334e81292f8056fa27527b0e49ae2..3ecb46355dd6547da5011baaa3d6f501a0bb764d 100644 (file)
@@ -576,9 +576,9 @@ void VG_(print_all_arena_stats) ( void )
    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,