From: Dirk Mueller Date: Mon, 24 Sep 2007 13:23:53 +0000 (+0000) Subject: fix various format string errors X-Git-Tag: svn/VALGRIND_3_3_0~200 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5610e96a2d874106323c4983f6eea4723e39c8d;p=thirdparty%2Fvalgrind.git fix various format string errors git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6907 --- diff --git a/massif/ms_main.c b/massif/ms_main.c index 781368f8e3..a5a3cc1ae8 100644 --- a/massif/ms_main.c +++ b/massif/ms_main.c @@ -1305,7 +1305,7 @@ static void write_hp_file(void) SPRINTF(buf, /*" (%d ms/sample)\"\n"*/ "\"\n" "DATE \"\"\n" "SAMPLE_UNIT \"ms\"\n" - "VALUE_UNIT \"bytes\"\n", ms_interval); + "VALUE_UNIT \"bytes\"\n" /*, ms_interval*/); // Censi for (i = 0; i < curr_census; i++) { @@ -1500,9 +1500,9 @@ static void pp_all_XPts2(Int fd, Queue* q, ULong heap_spacetime, // Remember: exact_ST_dbld is space.time *doubled* perc = make_perc(xpt->exact_ST_dbld / 2, total_spacetime); if (is_HTML) { - SPRINTF(buf, "" + SPRINTF(buf, "" "Context accounted for " - "%s of measured spacetime
\n", + "%s of measured spacetime
\n", xpt, xpt, perc); } else { SPRINTF(buf, "Context accounted for %s of measured spacetime\n", @@ -1535,10 +1535,10 @@ static void pp_all_XPts2(Int fd, Queue* q, ULong heap_spacetime, perc = make_perc(child->exact_ST_dbld / 2, total_spacetime); ip_desc = VG_(describe_IP)(child->ip-1, buf2, BUF_LEN); if (is_HTML) { - SPRINTF(buf, "
  • ", child ); + SPRINTF(buf, "
  • ", child ); if (child->n_children > 0) { - SPRINTF(buf, "%s", child, perc); + SPRINTF(buf, "%s", child, perc); } else { SPRINTF(buf, "%s", perc); }