]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
better use the right number of arguments in the format string
authorTobias Oetiker <tobi@oetiker.ch>
Fri, 20 Jan 2017 08:00:10 +0000 (09:00 +0100)
committerTobias Oetiker <tobi@oetiker.ch>
Fri, 20 Jan 2017 08:00:10 +0000 (09:00 +0100)
src/rrd_graph.h

index be896ec450028871473f9f0905248d3b24336b88..a90a0ff65e56034fffa7a1910d7182e1578f2710 100644 (file)
@@ -46,7 +46,7 @@
 #define NO_RRDTOOL_TAG 0x400  /* disable the rrdtool tag */
 #define ALLOW_MISSING_DS 0x800  /* missing DS is not fatal */
 
-#define gdes_fetch_key(x)  sprintf_alloc("%s:%s:%d:%d:%d:%d:%d",x.rrd,x.daemon,x.cf,x.cf_reduce,x.start_orig,x.end_orig,x.step_orig,x.step)
+#define gdes_fetch_key(x)  sprintf_alloc("%s:%s:%d:%d:%d:%d:%d:%d",x.rrd,x.daemon,x.cf,x.cf_reduce,x.start_orig,x.end_orig,x.step_orig,x.step)
 
 enum tmt_en { TMT_SECOND = 0, TMT_MINUTE, TMT_HOUR, TMT_DAY,
     TMT_WEEK, TMT_MONTH, TMT_YEAR