]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
When printing error counts, print the <unique> in the same way that
authorJulian Seward <jseward@acm.org>
Tue, 9 Aug 2005 21:50:18 +0000 (21:50 +0000)
committerJulian Seward <jseward@acm.org>
Tue, 9 Aug 2005 21:50:18 +0000 (21:50 +0000)
it is in the error itself.  Otherwise it's totally useless :-)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4355

coregrind/m_errormgr.c

index 50e1ab23de3480b34ceaed2c3f01074c7845e2da..c8b3669dd17f78981434bd8988ca74f6706de0ca 100644 (file)
@@ -800,7 +800,7 @@ void VG_(show_error_counts_as_XML) ( void )
       VG_(message)(
          Vg_UserMsg, "  <pair> <count>%d</count> "
                      "<unique>0x%llx</unique> </pair>",
-         err->count, Ptr_to_ULong(err)
+         err->count, err->unique
       );
    }
    VG_(message)(Vg_UserMsg, "</errorcounts>");