aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/perfmon/intel
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/perfmon/intel')
-rw-r--r--src/plugins/perfmon/intel/uncore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/perfmon/intel/uncore.c b/src/plugins/perfmon/intel/uncore.c
index 8246bb13c61..4ed001d4deb 100644
--- a/src/plugins/perfmon/intel/uncore.c
+++ b/src/plugins/perfmon/intel/uncore.c
@@ -78,7 +78,7 @@ format_instance_name (intel_uncore_unit_type_t u, char *unit_fmt, u8 socket_id,
{
u8 *fmt = 0;
- fmt = format (0, "%s (%s)", unit_fmt, (n->unit_names[ubox]));
+ fmt = format (0, "%s (%s)%c", unit_fmt, (n->unit_names[ubox]), 0);
s = format (0, (char *) fmt, socket_id, ubox);
vec_free (fmt);