From: oetiker Date: Sun, 12 Aug 2012 14:37:31 +0000 (+0000) Subject: complete segfault fix for second axis %s format begun in r2123 (thanks Martin Pelikan... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d6b97bec8794d73f2bd95b7a04c369663c2414f1;p=rrdtool-all.git 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.3@2297 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_graph.c b/program/src/rrd_graph.c index 5b185956..04d6023d 100644 --- a/program/src/rrd_graph.c +++ b/program/src/rrd_graph.c @@ -2218,7 +2218,7 @@ int horizontal_log_grid( } } else { - sprintf(graph_label_right,im->second_axis_format,sval); + sprintf(graph_label_right,im->second_axis_format,sval,""); } gfx_text ( im,