From c614e1d454a89e408125b776a725a82807c948af Mon Sep 17 00:00:00 2001 From: Vincent Brillault Date: Tue, 23 Sep 2014 22:58:02 +0200 Subject: [PATCH] Turbostat: value_list_t.plugin_instance limit is DATA_MAX_NAME_LEN --- src/turbostat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.11.0