@cryptotaxi247 / netdata-1 / commits / 5d5c94257

cgroups: fixed typo

Costa Tsaousis committed Apr 30, 2016 at 03:28 UTC 5d5c942576bc8e9649cff4441c1b2ae90bed22ac
1 file changed +1 -1
src/sys_fs_cgroup.c
+1 -1
@@ -960,7 +960,7 @@ void update_cgroup_charts(int update_every) {
960 if(cg->id[0] == '\0')
961 strcpy(type, "cgroup_host");
962 else if(cg->id[0] == '/')
963 - snprintf(type, RRD_ID_LENGTH_MAX, "cgroup_%s", "host");
963 + snprintf(type, RRD_ID_LENGTH_MAX, "cgroup_%s", cg->chart_id);
964 else
965 snprintf(type, RRD_ID_LENGTH_MAX, "cgroup_%s", cg->chart_id);
966