intel_rdt: Fixed compile error in debug build
authorAleksinski, MichalX <michalx.aleksinski@intel.com>
Thu, 28 Feb 2019 07:20:15 +0000 (07:20 +0000)
committerAleksinski, MichalX <michalx.aleksinski@intel.com>
Wed, 6 Mar 2019 07:04:16 +0000 (07:04 +0000)
Change-Id: Ia932f377c5194240aab910d052e422b99ea542a5

src/intel_rdt.c

index 003f71a..5e8f980 100644 (file)
@@ -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]);