From: Aleksinski, MichalX Date: Thu, 28 Feb 2019 07:20:15 +0000 (+0000) Subject: intel_rdt: Fixed compile error in debug build X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=d271957bf705b892d47319e81f5a7687fd6a9bea;p=collectd.git intel_rdt: Fixed compile error in debug build Change-Id: Ia932f377c5194240aab910d052e422b99ea542a5 --- diff --git a/src/intel_rdt.c b/src/intel_rdt.c index 003f71ab..5e8f9809 100644 --- a/src/intel_rdt.c +++ b/src/intel_rdt.c @@ -247,7 +247,7 @@ static void rdt_dump_pids_data(void) { for (size_t i = 0; i < g_rdt->num_ngroups; ++i) { memset(pids, 0, sizeof(pids)); for (size_t j = 0; j < g_rdt->ngroups[i].num_names; ++j) { - pids_list_t *list = g_rdt->ngroups[i].proc_pids[j].curr; + pids_list_t *list = g_rdt->ngroups[i].proc_pids[j]->curr; for (size_t k = 0; k < list->size; k++) snprintf(pids + strlen(pids), sizeof(pids) - strlen(pids) - 1, " %u", list->pids[k]);