summaryrefslogtreecommitdiff
path: root/src/bootchart/svg.c
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-03-07 08:52:55 +0100
committerLennart Poettering <lennart@poettering.net>2013-03-07 16:09:25 +0100
commitb9a496c166c35f670b1f0fce8745bc5df5ea74ad (patch)
tree4fac504feddae23799d45d51c7904022c3e16813 /src/bootchart/svg.c
parente90f9fa4d1cab6f73fc502fe9ef705c1bb2912a0 (diff)
bootchart: rename global len to samples_len
Diffstat (limited to 'src/bootchart/svg.c')
-rw-r--r--src/bootchart/svg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootchart/svg.c b/src/bootchart/svg.c
index 4c78abda63..9fee810795 100644
--- a/src/bootchart/svg.c
+++ b/src/bootchart/svg.c
@@ -103,7 +103,7 @@ static void svg_header(void)
svg("<!-- your browser to file:///run/log/ and click. This bootchart was -->\n\n");
svg("<!-- generated by bootchart version %s, running with options: -->\n", VERSION);
- svg("<!-- hz=\"%f\" n=\"%d\" -->\n", hz, len);
+ svg("<!-- hz=\"%f\" n=\"%d\" -->\n", hz, samples_len);
svg("<!-- x=\"%f\" y=\"%f\" -->\n", scale_x, scale_y);
svg("<!-- rel=\"%d\" f=\"%d\" -->\n", relative, filter);
svg("<!-- p=\"%d\" e=\"%d\" -->\n", pss, entropy);
@@ -222,7 +222,7 @@ static void svg_title(const char *build)
svg("Not detected");
svg("</text>\n");
svg("<text class=\"sec\" x=\"20\" y=\"155\">Graph data: %.03f samples/sec, recorded %i total, dropped %i samples, %i processes, %i filtered</text>\n",
- hz, len, overrun, pscount, pfiltered);
+ hz, samples_len, overrun, pscount, pfiltered);
}