From eae2ce12e245d74305708c4e0944006d4f82e22f Mon Sep 17 00:00:00 2001 From: oetiker Date: Sun, 12 Aug 2012 14:37:31 +0000 Subject: [PATCH] complete segfault fix for second axis %s format begun in r2123 (thanks Martin Pelikan for the hint) git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2297 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_graph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rrd_graph.c b/src/rrd_graph.c index 7afd5bb..dd1b208 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -2104,7 +2104,7 @@ int draw_horizontal_grid( } } else { - sprintf(graph_label_right,im->second_axis_format,sval); + sprintf(graph_label_right,im->second_axis_format,sval,""); } gfx_text ( im, X1+7, Y0, -- 2.30.2