X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fturbostat.c;h=0faf1923f3b992551972653b7ba83cbb89193355;hb=c614e1d454a89e408125b776a725a82807c948af;hp=6fa172d0b666fd1b3c612fcb3d4423215ab45257;hpb=4ca5cc1ae08bbd2ce25f44f2916ad8700ff57265;p=collectd.git diff --git a/src/turbostat.c b/src/turbostat.c index 6fa172d0..0faf1923 100644 --- a/src/turbostat.c +++ b/src/turbostat.c @@ -601,7 +601,7 @@ turbostat_submit (const char *plugin_instance, static int submit_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p) { - char name[12]; + char name[DATA_MAX_NAME_LEN]; double interval_float; interval_float = tv_delta.tv_sec + tv_delta.tv_usec/1000000.0;