summaryrefslogtreecommitdiff
path: root/cachegrind
diff options
context:
space:
mode:
authornjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2005-09-25 17:57:47 +0000
committernjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2005-09-25 17:57:47 +0000
commit71adc3682ef6a35fcf65c7aba88bd437fb2ce553 (patch)
treef34ad44c72bc572835135c7022c2853af65c8888 /cachegrind
parentf4ef18297bd98b5dec6c0f016879649002813433 (diff)
Print longs as longs.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4765 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'cachegrind')
-rw-r--r--cachegrind/cg_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cachegrind/cg_main.c b/cachegrind/cg_main.c
index 084bd9d7..1bf028a0 100644
--- a/cachegrind/cg_main.c
+++ b/cachegrind/cg_main.c
@@ -976,7 +976,7 @@ static void cg_fini(Int exitcode)
l3 = ULong_width(Dw_total.a);
/* Make format string, getting width right for numbers */
- VG_(sprintf)(fmt, "%%s %%,%dld", l1);
+ VG_(sprintf)(fmt, "%%s %%,%dlld", l1);
VG_(message)(Vg_UserMsg, fmt, "I refs: ", Ir_total.a);
VG_(message)(Vg_UserMsg, fmt, "I1 misses: ", Ir_total.m1);
@@ -999,7 +999,7 @@ static void cg_fini(Int exitcode)
D_total.m2 = Dr_total.m2 + Dw_total.m2;
/* Make format string, getting width right for numbers */
- VG_(sprintf)(fmt, "%%s %%,%dld (%%,%dld rd + %%,%dld wr)", l1, l2, l3);
+ VG_(sprintf)(fmt, "%%s %%,%dlld (%%,%dlld rd + %%,%dlld wr)", l1, l2, l3);
VG_(message)(Vg_UserMsg, fmt, "D refs: ",
D_total.a, Dr_total.a, Dw_total.a);