Code

make sure an extra %s in the secondi axis format does not kill us
[rrdtool-all.git] / program / src / rrd_graph.c
index 8f5f44f90b60a7c0c560dbfd8158d5d8c14a70ca..022ca27d8521cded9f12fe21a3e702fcb687afb4 100644 (file)
@@ -1,4 +1,4 @@
-/****************************************************************************
+/****************************************************************************s
  * RRDtool 1.3.9  Copyright by Tobi Oetiker, 1997-2009
  ****************************************************************************
  * rrd__graph.c  produce graphs from data in rrdfiles
@@ -2005,7 +2005,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,