Code

make sure an extra %s in the secondi axis format does not kill us
[rrdtool.git] / src / rrd_graph.c
index f26966cc3eae2eb41e4d19c9501a8db6a728de80..66db17134892aae338b5ebdbb645efdcc5e3c230 100644 (file)
@@ -2285,7 +2285,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,