X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fwrite_tsdb.c;h=efc71467f39145238adc281ce2285d309c476ae2;hb=102e4f4ff7e99650b5624a7af1ba3885975a0b8c;hp=2eca77e1b038fd9a658864917d616f31ccfa55bc;hpb=d4547a2861caad836701e70f805f7be68a91272e;p=collectd.git diff --git a/src/write_tsdb.c b/src/write_tsdb.c index 2eca77e1..efc71467 100644 --- a/src/write_tsdb.c +++ b/src/write_tsdb.c @@ -47,7 +47,6 @@ #include "configfile.h" #include "utils_cache.h" -#include "utils_parse_option.h" #include #include @@ -388,8 +387,8 @@ static int wt_format_name(char *ret, int ret_len, ssnprintf(ret, ret_len, "%s%s.%s.%s", prefix, vl->plugin, vl->plugin_instance, vl->type); } else { - ssnprintf(ret, ret_len, "%s%s.%s.%s", - prefix, vl->plugin, vl->plugin_instance, vl->type_instance); + ssnprintf(ret, ret_len, "%s%s.%s.%s.%s", + prefix, vl->plugin, vl->plugin_instance, vl->type, vl->type_instance); } sfree(temp);