From 0a9f465c56b7cfc8267e9922fa1b586d9306e37f Mon Sep 17 00:00:00 2001
From: Georges Da Costa <dacosta@irit.fr>
Date: Tue, 5 May 2020 01:18:20 +0200
Subject: [PATCH] Corrects an added space on the RAPL names

---
 rapl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rapl.c b/rapl.c
index f24808b..9c4dfc8 100644
--- a/rapl.c
+++ b/rapl.c
@@ -56,7 +56,7 @@ _rapl_t* init_rapl(const uint32_t nb_zones, const int *rapl_zones) {
 			     _name, MAX_LEN_NAME);
       if (a>0) {
 
-	sprintf(_name2, "%s%u ", _name, package);
+	sprintf(_name2, "%s%u", _name, package);
 
 	rapl->nb++;
 	rapl->names = realloc(rapl->names, sizeof(char*)*rapl->nb);
-- 
GitLab